v1

latestOpenAPI 3.0.02026-08-0610682246.0 KB

Change the Stripe subscription price

Generates a new preview of the price that Stripe will charge the customer if they create a new subscription for the specified plan. Note: This method does not create any entities in Stripe and does not result in any payments being made.

post/zephr/payment/stripe/subscriptions/{externalId}/change-previews

Path parameters

externalIdstring required

Request body

plan_idstring

Response

OK

totalnumber

The total amount the user will be initially charged for the subscription in the relevant currency's lowest denomination (e.g. pence), i.e. for a monthly subscription, the first month's cost.

sub_totalnumber

The total amount minus tax for the initial charge in the relevant currency's lowest denomination (e.g. pence).

Example response

{
  "total": 5000,
  "sub_total": 4500
}