4. Simulate Clearing

▶ Run in Postman API request example showing POST endpoint for simulating card clearing with amount and transaction token parameters.

Transactions which are authorized will be settled by the card networks by default in the Live environment.

In the Sandbox, this is simulated via our /simulate/clearing endpoint. This endpoint 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"
}'