Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
Unique identifier of the subscription
"sub_fooBOwYsaK50AEfK"
New recurring amount for the subscription, if changed. The amount in lowest count unit. e.g.: For USD 1, amount is 100 representing 100 cents (The minimum amount should be greater than 1 USD).
š Can only be edited if the subscription is in one of: TRIALING
, ACTIVE
, UNPAID
1000
New number of billing cycles for the subscription, if changed.
š Can only be edited if the subscription is in one of: TRIALING
, ACTIVE
, UNPAID
6
New next payment date in epoch milliseconds, if changed. Future payments will be deducted at the frequency interval defined in the subscription, calculated from the new next payment date.
š Can only be edited if the subscription is in one of: TRIALING
, ACTIVE
, UNPAID
1753104947000
Response
Subscription edited successfully