4. Authorize a Transaction
▶ Run in Postman
Transactions which are authroized, will be settled by the card networks by default in the Live enviornment.
In the Sandbox this is simulated via our /simulate/clearing endpoint. This endpoint that will trigger the Settlement of a transaction.
Code
curl --location 'https://sandbox.lithic.com/v1/simulate/clearing' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: e65e2478-f516-4c9d-af36-7d1ebc5414fd' \
--data '{
"amount": 3831,
"token": "408f63aa-fb26-408e-bcd1-ed3b620a29f8"
}'Updated about 2 hours ago
