Payments

Change plan

Changes the subscription plan (upgrade or downgrade). Uses proration without refund. Plan change is applied immediately. Requires JWT.

post/payments/change-plan

Request

  • Base URL
    https://api.foudroyer.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

plan_id'858335' | '921925' | '851087' | '921926' | '884404' | '921928' | '921929' | '921930' | '921931' | '921932' | '921933' | '855460' required

Paddle plan ID (e.g. 858335 for 9€, 921925 for 19€)

Example request

{
  "plan_id": "858335"
}

Response

Updated payment/subscription

idstring required
fk_user_idstring required
cancellation_effective_dateobject nullable required
subscription_idstring required
cancel_urlstring required
update_urlstring required
created_atstring date-time required
paddle_user_idstring required
planstring required
interval'monthly' | 'yearly' | 'lifetime' required
paused_atobject nullable required

Changes

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