---
title: "Retrieve a customer payment details"
method: GET
path: "/customers/{customerId}/payment_details"
---

# Retrieve a customer payment details

`GET /customers/{customerId}/payment_details`

## Request

- Base URL: `https://api.sandbox.cleeng.com/3.1`
- URL: `https://api.sandbox.cleeng.com/3.1/customers/{customerId}/payment_details`
- Auth: API key in header `X-Publisher-Token`

Use this endpoint to retrieve a customer’s payment details. Payment details hold selected information (e.g. card expiration date) of the complete set of payment details or tokens to reference this data. It is used for displaying and processing payments with the payment gateway. Only available for a given user after confirmed payment.<br><br>Payment details represent a customer’s payment method.

## Path parameters

- `customerId` integer, required

## Headers

- `Content-Type` string

## Response `200`

200

- object
  - `success` boolean
  - `paymentDetails` object[]
    - `id` integer
    - `customerId` integer
    - `token` string
    - `paymentGateway` string
    - `paymentMethod` string
    - `paymentMethodSpecificParams` object
      - `variant` string
      - `lastCardFourDigits` string
      - `holderName` string
      - `cardExpirationDate` string
      - `socialSecurityNumber` string
    - `paymentMethodId` integer
    - `active` boolean
    - `bound` boolean
    - `subscriptionIds` integer[]
    - `attemptRestrictions` object
      - `attemptRestrictedTo` unknown
      - `attemptRejections` object
  - `message` string

## Other responses

- `400`: 400
- `404`: 404

---

[API](https://skmtc.dev/cleeng/apis/api-31.md) - [All operations](https://skmtc.dev/cleeng/apis/api-31/llms.txt) - [OpenAPI document](https://skmtc.dev/cleeng/apis/api-31/revisions/df55396cda4f?raw)
