PUT/Subscription/{id}/

Replace subscription payment details

Replaces configurable payment details for an existing subscription. Supply any of amount, currency, purpose, or vatRate to provide the new values; amount applies to the next payment interval.

1 parameter · 4 body fields
idintegerrequired
The integer ID of the subscription to update.

Payment details to update for the subscription; all fields are optional.

amountstringoptional
The new amount in cents which will be payed on the next payment interval.
currencystringoptional
The ISO code of the currency of the payment.
purposestringoptional
The payment purpose. What is the payer paying for?
vatRatestringoptional
VAT Rate Percentage

3 status codes
200Returns an object containing the updated subscription record in a `data` array and a `status` field.
dataarray<object>optional
statusstringoptional
400Returned when a supplied field value is invalid.
errorobjectoptional
messagestringoptional
reasonstringoptional
statusstringoptional
404Returned when no subscription exists with the supplied ID.
errorobjectoptional
messagestringoptional
reasonstringoptional
statusstringoptional

Error handling

A 400 is returned when a supplied field value is invalid. A 404 is returned when no subscription exists with the supplied ID. The id path parameter must identify the subscription to update.