Void Pending Non-Cash API

For merchants to cancel and void the non-cash payment request order (generated from direct server API), before getting paid within the expiry time, and force-to-expired.


Formula of Signature

hash_mac( “sha256”, {ReferenceNo}{TxnAmount}{MerchantID},  {verify_key} )

Response

PG responds JSON format to merchant upon a successful request.

Field Name

Data Type (Size)

M/O

Description

StatCode

n2

M

  • 00 = Success (canceled)
  • 11 = Missing mandatory parameter
  • 12 = Merchant info not found
  • 13 = Invalid checksum value
  • 14 = Transaction not found
  • 15 = Transaction already in captured status, not voidable
  • 16 = Transaction already in failed status, not voidable
  • 99 = System is busy now, temporarily out of service. Please try again later.

ReferenceNo

an-31

O

Merchant reference number

TxnAmount

n2

O

The total amount to be paid in one purchase order

MerchantID

an-31

O

Merchant ID provided by PG

TxnChannel

an-31

O

Channel references for the merchant system

Language
Click Try It! to start a request and see the response here!