Subscriptions

Change subscription plan

Upgrade or downgrade the subscription for the specified app.

post/subscriptions/update/{appId}

Request

  • Base URL: https://us-central1-paymentgateway-ab783.cloudfunctions.net/api
  • URL: https://us-central1-paymentgateway-ab783.cloudfunctions.net/api/subscriptions/update/{appId}
  • Auth: HTTP bearer

Path parameters

appIdstring required

Request body

newPriceIdstring required

Target Stripe price identifier.

prorationBehavior'create_prorations' | 'none' | 'always_invoice'

Response

Subscription updated

Changes

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