Skip to main content

Void

VOID request

The VOID request is used to cancel the operation which was performed the same financial day.

The cancellation is possible for the SALE operation.

The VOID request is allowed for the payments in SETTLED status only.

This request is sent by POST in the background (e.g. through PHP CURL).

Request parameters

ParameterDescriptionLimitationsRequired
actionAction to perform= VOID+
client_keyUnique client keyCLIENT_KEY+
trans_idTransaction ID in the Payment PlatformString up to 255 characters+
hashSpecial signature to validate your request to Payment PlatformSee Appendix A, Void signature.+

Response parameters

You will get JSON encoded string with transaction result.

Successful void response

ParameterDescription
actionVOID
resultSUCCESS
statusVOID
order_idTransaction ID in the Merchant's system
trans_idTransaction ID in the Payment Platform
trans_dateTransaction date in the Payment Platform

Unsuccessful void response

ParameterDescription
actionVOID
resultDECLINED
statusSETTLED
order_idTransaction ID in the Merchant's system
trans_idTransaction ID in the Payment Platform
trans_dateTransaction date in the Payment Platform
decline_reasonThe reason why the transaction was declined

Undefined void response

ParameterDescription
actionVOID
resultUNDEFINED
statusSETTLED
order_idTransaction ID in the Merchant's system
trans_idTransaction ID in the Payment Platform
trans_dateTransaction date in the Payment Platform

Callback parameters

Successful void response

ParameterDescription
actionVOID
resultSUCCESS
statusVOID
order_idTransaction ID in the Merchant's system
trans_idTransaction ID in the Payment Platform
trans_dateTransaction date in the Payment Platform
connector_name *Connector's name (Payment Gateway)
rrn *Retrieval Reference Number value from the acquirer system
approval_code *Approval code value from the acquirer system
gateway_id *Gateway ID – transaction identifier provided by payment gateway
extra_gateway_id *Extra Gateway ID – additional transaction identifier provided by payment gateway.
merchant_name *Merchant Name
mid_name *MID Name
issuer_country *Issuer Country
issuer_bank *Issuer Bank
hashSpecial signature, used to validate callback, see Appendix A, Formula 2

* The parameters are included if the appropriate setup is configured in the admin panel (see “Add Extended Data to Callback” block in the Configurations -> Protocol Mappings section).

Unsuccessful void response

ParameterDescription
actionVOID
resultDECLINED
statusSETTLED
order_idTransaction ID in the Merchant's system
trans_idTransaction ID in the Payment Platform
trans_dateTransaction date in the Payment Platform
decline_reasonThe reason why the transaction was declined
hashSpecial signature, used to validate callback, see Appendix A, Formula 2

Undefined void response

ParameterDescription
actionVOID
resultUNDEFINED
statusSETTLED
order_idTransaction ID in the Merchant's system
trans_idTransaction ID in the Payment Platform
trans_dateTransaction date in the Payment Platform
hashSpecial signature, used to validate callback, see Appendix A, Formula 2