---
title: "Retrieve a saved card"
method: GET
path: "/api/v1/customers/{id}/payment-methods/{paymentMethodId}"
tags: ["Customers"]
---

# Retrieve a saved card

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

## Request

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

Retrieve a saved card. Use the response status and request ID to decide whether to retry, reconcile, or ask the customer for action.

## Path parameters

- `id` string, required
- `paymentMethodId` string, required

## Response `200`

Successful response

- CustomerPaymentMethod: A card saved at checkout. The provider token is never returned; `card` appears once the card details are read.
  - `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

## 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)
