Retrieve a payment details

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.

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

Path parameters

paymentDetailsIdstring required

Headers

Content-Typestring

Response

200

successboolean
messagestring

Example response

{
  "success": true,
  "paymentDetails": {
    "id": 393393393,
    "customerId": 350985154,
    "token": "JZtbzAXpYg7Yx9ya8XeW5unnd",
    "paymentGateway": "stripe",
    "paymentMethod": "card",
    "paymentMethodSpecificParams": {
      "lastCardFourDigits": "0525",
      "variant": "mc",
      "cardExpirationDate": "06/2023"
    }
  },
  "message": "Payment details sent successfully"
}

Changes

No recorded changes to this operation across all 1 revision of this API.