Simulate a card's tokenization

Tokenization Request Parameters

Tokenization Response

Success Response

Error Responses


Example Curl Command

curl --request POST \
     --url https://sandbox.lithic.com/v1/simulate/tokenizations \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "account_score": 5,
  "cvv": "776",
  "device_score": 5,
  "expiration_date": "08/29",
  "pan": "4111111289144142",
  "tokenization_source": "APPLE_PAY",
  "wallet_recommended_decision": "APPROVED"
}
'

Example Success Response

{
  "account_token": "61c3acef-3c2c-4d61-9352-941397b92ca3",
  "card_token": "16a410c9-7f5c-43e9-8108-bb8a72c063f7",
  "created_at": "2023-08-28T15:57:14.578051",
  "events": [
    {
      "created_at": "2023-09-13T16:01:13.643241",
      "result": "TOKEN_ACTIVATED",
      "token": "a690b617-d3d4-4976-82f6-901f817ad98a",
      "type": "TOKENIZATION_UPDATED"
    },
    {
      "created_at": "2023-09-13T16:01:13.643241",
      "result": "APPROVED",
      "token": "2b2a1038-45f3-42e4-98bb-e745be3f1de1",
      "type": "TOKENIZATION_AUTHORIZATION"
    }
  ],
  "status": "ACTIVE",
  "token": "3e9a10da-11be-4a62-a510-d43548bfcec1",
  "tokenization_channel": "DIGITAL_WALLET",
  "token_requestor_name": "APPLE_PAY",
  "token_unique_reference": "DM4MMC0000332872ef1029f38fa0184b5c9260383da192b22",
  "dpan": "5489123487251234",
  "payment_account_reference_id": "50019T0AL7DEFGJ4AGGT8BQDOABCD",
  "updated_at": "2023-08-28T15:57:14.578051"
}