v1

latestOpenAPI 3.1.02026-07-24571564.5 KB
Customers

Update payment method for a subscription

Updates the payment method for an existing subscription contract

put/customers/{customerId}/subscriptions/{subscriptionId}/payment-method

Path parameters

customerIdstring required

Customer Id

subscriptionIdstring required

Subscription Id

Request body

paymentMethodGIdstring required

The customer payment method ID to set on the subscription

Response

Payment method updated successfully

customerPaymentMethodobject

The updated customer payment method