Skip to main content

Set the default payment method for a customer

POST 

/api/v3/customer/:customer_id/_action/setPayMethod

Allows you to set the defaut payment method for a customer.

The update_subscriptions_and_scheduled_invoices field is optional. If you leave it off entirely OR set it to true, we will update any already existing subscriptions for that customer to use this payment method too. If you set it to false, we'll update the customer but NOT their already existing subscriptions.

Request

Responses

Action completed successfully