v66

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-042174421.1 MB
Transaction

Simulate void

Voids a pending authorization. If amount is not set, the full amount will be voided. Can be used on partially voided transactions but not partially cleared transactions. Simulating an authorization expiry on credit authorizations or credit authorization advice is not currently supported but will be added soon.

post/v1/simulate/void

Request body

amountinteger

Amount (in cents) to void. Typically this will match the amount in the original authorization, but can be less. Applies to authorization reversals only. An authorization expiry will always apply to the full pending amount.

tokenstring uuid required

The transaction token returned from the /v1/simulate/authorize response.

type'AUTHORIZATION_EXPIRY' | 'AUTHORIZATION_REVERSAL'

Type of event to simulate. Defaults to AUTHORIZATION_REVERSAL.

  • AUTHORIZATION_EXPIRY indicates authorization has expired and been reversed by Lithic.
  • AUTHORIZATION_REVERSAL indicates authorization was reversed by the merchant.

Example request

{
  "type": "AUTHORIZATION_EXPIRY"
}

Response

OK

debugging_request_idstring uuid

Debugging request ID to share with Lithic Support team.