Skip to main content
POST
Change Plan

Authorizations

Authorization
string
header
required

Payaza {{Public API Key in Base 64}}

Path Parameters

id
string
required

The ID of the subscription.

Body

application/json
newPlanCode
string
required

The plan code of the new subscription plan.

Example:

"PLAN-XY99ZZ00"

effective
string

When the new plan should take effect. Supported values are IMMEDIATELY and NEXT_CYCLE.

Example:

"NEXT_CYCLE"

prorate
boolean

Indicates whether the current billing cycle should be prorated.

Example:

true

Response

Request Successful