2. Authorize a Transaction
Simulate authorizing a card at a retailer
Postman
▶ Run in Postman
Code
curl --location 'https://sandbox.lithic.com/v1/simulate/authorize' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: e65e2478-f516-4c9d-af36-7d1ebc5414fd' \
--data '{
"amount": 3831,
"descriptor": "COFFEE SHOP",
"pan": "4111111187423657"
}'This API simulates a card authorization at a merchant. You will be able to see this authorization in our Transaction API.
Simulate an Authorization
When testing in the Sandbox. Lithic provides simulate operations that simulate real world workflows outside of the Lithic platform, so that you can test fully real world scenarios.
Simulation operations are only available in the Sandbox.
Updated about 2 hours ago
