Simulate Authorization Advice
Simulate authorization advice
post/v1/simulate/authorization_advice
Simulates an authorization advice from the card network as if it came from a merchant acquirer. An authorization advice changes the pending amount of the transaction.
Body Parameters
tokenstring
The transaction token returned from the /v1/simulate/authorize. response.
formatuuid
amountnumber
Amount (in cents) to authorize. This amount will override the transaction's amount that was originally set by /v1/simulate/authorize.
minimum0
Returns
tokenstring
optional
A unique token to reference this transaction.
formatuuid
debugging_request_idstring
optional
Debugging request ID to share with Lithic Support team.
formatuuid
Request example Request
curl https://api.lithic.com/v1/simulate/authorization_advice \
-H 'Content-Type: application/json' \
-H "Authorization: $LITHIC_API_KEY" \
-d '{
"token": "fabd829d-7f7b-4432-a8f2-07ea4889aaac",
"amount": 3831
}'
200 Example
{
"token": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"debugging_request_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
}