---
title: "List a customer's saved cards"
method: GET
path: "/api/v1/customers/{id}/payment-methods"
tags: ["Customers"]
---

# List a customer's saved cards

`GET /api/v1/customers/{id}/payment-methods`

## Request

- Base URL: `https://merchant.zahlo.eu`
- URL: `https://merchant.zahlo.eu/api/v1/customers/{id}/payment-methods`
- Auth: API key in header `x-api-key`

List a customer's saved cards. Use the response status and request ID to decide whether to retry, reconcile, or ask the customer for action.

## Path parameters

- `id` string, required

## Response `200`

The customer's attached cards, newest first

- object
  - `object` 'list', required
  - `data` CustomerPaymentMethod[], required
    - `id` string, required
    - `object` 'payment_method', required
    - `livemode` boolean, required
    - `createdAt` string, date-time, required
    - `customerId` string, required
    - `checkoutSessionId` string, nullable, required: The checkout session that saved the card.
    - `type` 'card', required
    - `card` object
      - `brand` string, required
      - `last4` string, required
      - `expMonth` integer, required
      - `expYear` integer, required
  - `hasMore` boolean, required

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `404`: Resource not found
- `409`: Request conflicts with existing state

---

[API](https://skmtc.dev/zahlo/apis/zahlo-merchant-api.md) - [All operations](https://skmtc.dev/zahlo/apis/zahlo-merchant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zahlo/apis/zahlo-merchant-api/revisions/8fcbef981e0d?raw)
