billing

Change Plan

Upgrade or downgrade subscription plan.

put/api/v1/billing/subscription/plan

Request

  • Base URL: https://api.gnosari.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.gnosari.com/api/v1/billing/subscription/plan
  • Auth: one of:
    • HTTP bearer
    • API key in header X-AUTH-TOKEN

Request body

new_plan_identifierstring required

New plan identifier

proration_behaviorstring

Proration behavior (always_invoice, create_prorations, none)

Response

Successful Response

subscriptionobject required
proration_amountinteger nullable

Proration amount in cents

Changes

No recorded changes to this operation across all 1 revision of this API.