Void

View as Markdown
The void API allows the POS to cancel an already authorized transaction. 1. Ensure the `transaction_id` and `payment_code` pair match a previously authorized transaction. 2. Only transactions that are in the authorized state may be voided. 3. Transactions that are already captured may not be voided. 4. The `transaction_time_ms` should be the epoch time in millis of when the customer cancelled the transaction. 5. Voided transactions may be safely voided again without side-effects.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
merchant_idstringRequired
transaction_idstringRequired
transaction_time_msintegerRequired
payment_codestringRequired

Response

OK
merchant_idstring
transaction_idstring
authorized_flagboolean

Errors

400
Bad Request Error