Skip to main content
GET
/
customers
/
{customerId}
/
payment-methods
{
  "data": [
    {
      "metadata": [
        {
          "key": "<string>",
          "value": "<string>"
        }
      ],
      "type": "<string>",
      "id": "<string>",
      "status": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "paymentMethodType": "card",
      "isPreferred": true,
      "mandateDocumentId": "<string>",
      "last4": "<string>",
      "expirationMonth": 123,
      "expirationYear": 123,
      "billingDetails": {
        "name": "<string>",
        "email": "<string>",
        "phone": "<string>",
        "address": {
          "city": "<string>",
          "country": "<string>",
          "line1": "<string>",
          "line2": "<string>",
          "postalCode": "<string>",
          "state": "<string>"
        }
      }
    }
  ],
  "total": 123,
  "offset": 123,
  "limit": 123
}

Path Parameters

customerId
string
required

The customer id

Query Parameters

whenAt
string

Optional: the whenAt datetime

simulatedAt
string

Optional: the simulatedAt datetime

branchId
string

Optional: the branchId

Response

data
object[]
required

Array of payment methods

total
number

Optional: Total number of payment methods

offset
number

Optional: Number of payment methods the array has to star after

limit
number

Optional: Number of payment methods in the array