Subscriptions
Update A Subscription Payment Method
Update payment method associated with a subscription
PUT
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the plan whose subscriptions are to be retrieved.
Body
application/json
- Option 1
- Option 2
Update payload for setting a card as the payment method
Encrypted card payload generated client-side
Response
Payment method updated successfully
- Option 1
- Option 2
Card payment method details
Discriminator identifying this as a card payment method
Available options:
card First six digits of the card (BIN)
Example:
"506124"
Last four digits of the card
Example:
"5456"
Card scheme/brand
Example:
"verve"
Required range:
1 <= x <= 12Example:
11
Example:
2026
Name of the account/card holder
Example:
"Jane Doe"

