Change External Subscription Payment Method
Moves a Stripe Billing subscription to another payment method the customer already enrolled in Yuno, without a payment.
Request
X-Idempotency-Key header is required. Replaying the same key with the same request returns the first result. Sending the payment method the subscription already charges returns 200 and changes nothing.
This API is enabled per account. Contact your Key Account Manager to request access.
Errors
Headers
Unique key for this change, for example a UUID. Required: a request without it returns 400 INVALID_PARAMETERS. Replaying the same key with the same request returns the result of the first request. Reusing a key for another subscription or payment method returns 400 INVALID_PARAMETERS. To retry after a 502, send a new key.
Path Parameters
Body
Response
The subscription now uses the payment method in vaulted_token. Also returned, with no change, when that payment method is the one the subscription already uses.