PaymentMethods
Change a customer's default payment method
Changed onChange the customer's default payment method to this one
patch/customers/{id}/payment-methods/{method_id}/default
Request
- Base URLhttps://public-api.alternativepayments.io
- URLhttps://public-api.alternativepayments.io/customers/{id}/payment-methods/{method_id}/default
- AuthOAuth 2Client credentialsToken URL: /oauth/token scopes: payments:write
Path parameters
idstring required
Customer ID
method_idstring required
Payment Method ID
Response
OK
Changes
- breaking
removed the success response with the status
- info
added the success response with the status
- breaking