Customers

Get payment method by ID

Get a specific payment method associated with a customer by payment method ID

get/customers/{id}/payment-methods/{method_id}

Request

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

Path parameters

idstring required

Customer ID

method_idstring required

Payment Method ID

Response

OK

brandstring
created_atstring
defaultboolean
exp_monthstring
exp_yearstring
idstring
last4string
type'card' | 'ach'

Example response

{
  "brand": "visa",
  "exp_month": "01",
  "exp_year": "2025"
}

Changes

No recorded changes to this operation across all 7 revisions of this API.