GET /payment-method-token/{paymentMethodTokenId}

Get details of a payment method token

Request

  • Base URL
    https://api.xpaycheckout.com
  • URL
    https://api.xpaycheckout.com/payment-method-token/{paymentMethodTokenId}
  • Auth
    HTTP basic

Path parameters

paymentMethodTokenIdstring required

Unique identifier of the payment method token

Response

Payment method token details retrieved successfully

paymentMethodIdstring required

Unique identifier of the payment method

paymentMethodstring required

Type of payment method

customerIdstring required

The unique identifier for the customer, generated via the create-customer API

status'LIVE' | 'DELETED' required

Status of the payment method token. Please refer to payment method token status for more details.

createdAtinteger required

Epoch timestamp in milliseconds of when the payment method token was created

Example response

{
  "paymentMethodId": "pmt_ftoeKIYGC3f43frT",
  "paymentMethod": "CARD",
  "customerId": "cus_Tfd3Jq1tZxPjYVhRQW2r3",
  "status": "LIVE",
  "createdAt": 1727340330123
}

Changes

No recorded changes to this operation across all 2 revisions of this API.