425a15f60e06
latestOpenAPI 3.0.22026-08-111303812.1 MBUpdate Subscription
Update an existing Subscription resource, typically used for subscriptions created without a Subscription Plan. Note that you can only update specific resource fields.
Common use cases for updating a Subscription include:
Updating the payment amount
This operation allows for adjusting the payment amount, such as when a subscriber decides to donate more or less money to a charity or upgrade/downgrade a product or service.
Updating billing details
If the subscriber wishes to change their payment details, you can update the [buyer_details.instrument_id] property with a new Payment Instrument.
Updating the billing cycle day
Set billing_cycle_day to change the day of the month the Subscription bills. Invoices that have already been issued do not change, and the current billing period completes at the full amount. On the next billing date, the buyer is charged a prorated amount that bridges the gap to the new billing cycle day, then full billing resumes. To learn more, see Billing cycle day.
Request body
Example request
{
"billing_cycle_day": 1
}Response
A single Subscription
Example response
{
"amount": 5000,
"billing_cycle_day": 1,
"billing_interval": "MONTHLY",
"subscription_plan_id": "subscription_plan_ctBbJ1ihsC8Hpju4RQfZE"
}