Skip to main content

Get Person & Credit Card ID

https://api-sandbox.letpay.io/checkout/MY_PAYMENT_TOKEN

Retrieve the Person and Credit Card tokenized IDs for processing. Call this method after finish the Checkout Flow using processPayment = false.

Path Variables

  • paymentToken (required/string): The payment token returned by CheckoutJS library.

Response Fields

  • public_person_id (string): Unique Person identification.
  • public_card_id (string): Unique credit card identification.
AUTHORIZATIONAPI Key
KeyX-Auth-Token
ValueMY_ACCESS_TOKEN

Example Request

200 - OK
    curl --location 'https://api-sandbox.letpay.io/checkout/MY_PAYMENT_TOKEN' \
--header 'X-Auth-Token: MY_ACCESS_TOKEN'

Example Response

Header
  Content-Type: application/json
Body
    {
"public_person_id": "PER-00000000-0000-0000-0000-000000000000",
"public_card_id": "CAR-00000000-0000-0000-0000-000000000000"
}