v1

latestOpenAPI 3.0.1MIT2026-07-26336777.7 KB

Get details of a payment method token

get/payment-method-token/{paymentMethodTokenId}

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
}