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.
AUTHORIZATION | API Key |
---|---|
Key | X-Auth-Token |
Value | MY_ACCESS_TOKEN |
- 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"
}