Void or Refund

Makes a void request to cancel a transaction or process a refund

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
trans_idstringRequired
Reference number for the transaction
midstringRequired
Merchant ID
user_identifierstringOptional
The user that initiated the activity
amountintegerOptional
Ticket amount

Response

Void or refund successful
resultstring or null
Result of auth request
trans_idstring or null
Reference number for the transaction
resp_codestring or null
Response code that represents description of the response
resp_textstring or null
Text description of response
resp_procstring or null
Abbreviation that represents platform and processor for transaction
user_identifierstring or null
The user that initiated the activity
midstring or null
Merchant ID
amountinteger or null
Ticket amount
currencystring or null

Three character currency indicator (Defaults to USD)

order_idstring or null
Source system order number
auth_codestring or null
Authorization code from issuer

Errors