Void a transaction

Allows you to void a credit card, debit card, or echeck transaction using the Nexio Payment ID. In order to void a transaction, it must have been authorized but not yet settled.

The entire process for voiding a transaction is as follows:

  1. A transaction using the Run card transaction or Run echeck transaction endpoint occurs.
  2. Retrieve the id from the response. This is the Nexio Payment ID.
  3. Include that id in the body of your request for this endpoint in order to void the transaction.

If you do not know the paymentId, you can get an array of possible transactions that have authorized but are not yet settled with the View transactions endpoint and at least the following query filters:
transactionStatus=10
plugin=

⚠️

Try It

To use the Try It feature for this endpoint, you can use the credentials for your Sandbox API user.

You can also use the following test account. Copy the value and paste it into the appropriate space in the Try It section to the right.
username: [email protected]
password: JZdzoXpdDeH6VA

Include the ID as indicated above.

Request parameters

  • id

Response parameters

  • id
  • merchantId
  • transactionDate
  • authCode
  • transactionStatus
  • transactionType
  • currency
  • message
  • data
  • data.currency
  • data.settlementCurrency
  • gatewayResponse
  • gatewayResponse.gatewayName
  • gatewayResponse.refNumber
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!