Get Person & Credit Card ID
GET 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
.
Authorization
Header | Value |
---|---|
X-Auth-Token | MY_ACCESS_TOKEN |
Path Variables
paymentToken
(required/string): The payment token returned by CheckoutJS library.
Response Body
public_person_id
(string): Unique Person identification.public_card_id
(string): Unique credit card identification.
- 200 - OK
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"
}