latestOpenAPI 3.0.12026-08-15235298999.1 KB
ffc7fffa0d5c
Subscription Payments
Set default payment method
Sets or clears the default payment method on a subscription. The update is processed asynchronously.
Important considerations:
- Omitting the payment method id clears the subscription's default payment method
- Usage subscriptions must always have a default payment method, so clearing is not allowed for them
put/subscriptions/{subscriptionId}/paymentmethods
Path parameters
subscriptionIdstring required
The unique identifier of the subscription
Request body
Response
When request is accepted. Returns a 'Link' object to the payment method, or to the subscription when clearing.