---
api: 'Merchant API'
---

# Retrieve payment method list of a customer

Retrieve all the saved payment methods for a specific customer.
This can be useful in the following example cases:

- To show what payment information is stored for the customer.
- To try a different payment method if the first payment method fails when a recurring transaction occurs.

## Endpoint

GET `/api/customers/{customer_id}/payment-methods`

## Parameters

### query parameters

- `only_merchant` (boolean, optional)
  If `true`, returns only the saved payment methods that can be used for
  merchant-initiated transactions (MIT).

## Returns

### 200

OK

#### Response attributes

- `payment_methods` (array of oneOf)
    Saved payment methods associated with this customer. Each entry represents a
    payment method authorised for future charges. Two types are supported: `card`
    (with full card details) and `revolut_pay` (covers both card-backed and
    account-to-account Revolut Pay variants). Use the `type` field on each item
    to identify the variant.

## Error responses

| HTTP status code | Description |
| --- | --- |
| 401 | Unauthorized |
| 404 | Not Found |
