Void

Void a previous successful transaction. A void can be performed on the following transactions:

  • Purchase / Sale
  • Authorization
  • Capture
  • Refund
Body Params
string
required

Unique reference number generated by P3 from a previous original transaction.

string
deprecated

Deprecated. Unique reference number generated by P3 from a previous successful Authorization/Purchase request. Use transactionReferenceNo instead.

merchant
object

Information about the merchant performing the request for the cardholder.

string
required
length ≤ 512

Short description of the reason why the purchase transaction is being voided.

string
enum
required

Indicates the general category why the void / reversal operation is being performed. The following reason codes are supported.

CodeDescription
00Transaction voided upon request from the cardholder / customer
01Transaction cannot be completed by the merchant (e.g., goods and services are no longer available after the purchase request has been approved)
02Transaction voided due to an error encountered by the terminal and/or merchant application/system (e.g., in case of chip card processing, Issuer Authentication Data was rejected by the card)
03Transaction voided due to communication failure or system timeout
04Transaction voided due to card being pulled out from terminal before transaction completion
Allowed:
trace
object

Values supplied by the transaction originator / terminal that can be used for reconciliation of transactions

Headers
string
required
length between 12 and 36

A reference number sent by the API caller to tag the transaction in P3.

string

An id that marks the transmission/re-transmission for idempotency checks and identifies this transmission separately from other reference numbers

number

A geographic coordinate that specifies the east–west position of a point on the Earth's surface

number

A geographic coordinate that specifies the north-south position of a point on the Earth's surface

Responses

202

message and code in response body for more information

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json