---
title: "Retrieve a payment details"
method: GET
path: "/payment_details/{paymentDetailsId}"
---

# Retrieve a payment details

`GET /payment_details/{paymentDetailsId}`

## Request

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

To retrieve a payment details, you use payment details resource. 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 given user after confirmed Payment.

## Path parameters

- `paymentDetailsId` string, 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
      - `holderName` string
      - `lastCardFourDigits` string
      - `variant` string
      - `cardExpirationDate` string
  - `message` string

---

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