---
title: "List payment methods"
method: GET
path: "/billing/customers/{customerId}/paymentmethods"
---

# List payment methods

`GET /billing/customers/{customerId}/paymentmethods`

## Request

- Base URL: `https://api-sandbox.ezypay.com/v2`
- URL: `https://api-sandbox.ezypay.com/v2/billing/customers/{customerId}/paymentmethods`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://identity-sandbox.ezypay.com/token`

Retrieve a list of payment methods and the details for an existing customer. The list would include both valid and invalid payment methods.

## Path parameters

- `customerId` string, required

## Query parameters

- `limit` integer
- `cursor` integer

## Headers

- `merchant` string, required

## Response `200`

200

- object
  - `data` object[]
    - `paymentMethodToken` string
    - `customerId` string
    - `type` string
    - `bank` unknown
    - `card` object
      - `first6` string
      - `last4` string
      - `accountHolderName` string
      - `type` string
      - `expiryMonth` string
      - `expiryYear` string
    - `invalidReason` unknown
    - `lastUsedOn` unknown
    - `valid` boolean
    - `primary` boolean
  - `paging` object
    - `nextUrl` unknown
    - `nextCursor` integer
    - `limit` integer
    - `totalCount` integer

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `924be4030f56`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ezypay/apis/vault/changes/billing/customers/:customerId/paymentmethods/get.md)

---

[API](https://skmtc.dev/ezypay/apis/vault.md) - [All operations](https://skmtc.dev/ezypay/apis/vault/llms.txt) - [OpenAPI document](https://skmtc.dev/ezypay/apis/vault/revisions/924be4030f56?raw)
