PaymentMethods

Change a customer's default payment method

Changed on

Change the customer's default payment method to this one

patch/customers/{id}/payment-methods/{method_id}/default

Request

  • Base URL
    https://public-api.alternativepayments.io
  • URL
    https://public-api.alternativepayments.io/customers/{id}/payment-methods/{method_id}/default
  • Auth
    OAuth 2
    Client credentials
    Token URL: /oauth/token scopes: payments:write

Path parameters

idstring required

Customer ID

method_idstring required

Payment Method ID

Response

OK

responsestring

Changes

    • breaking

      removed the success response with the status

    • info

      added the success response with the status