Void Pending-Cash API

For merchants to cancel and void the cash payment request order, before getting paid or the expiry time, and force-to-expired.


Formula of checksum

md5( {tranID}{amount}{merchantID}{verify_key} )

Response

PG responds JSON format to merchant upon a successful request.

Field NameData Type (Size)M/ODescription
StatCoden2M
  • 00 = Success (voided)
  • 11 = Missing required parameter (<FieldName>)
  • 12 = Merchant info not found
  • 13 = Invalid checksum value
  • 14 = Transaction not found
  • 15 = Transaction not Pending
  • 99 = System is busy now, temporary out of service. Please try again later.
tranIDn-19OPG Transaction ID
orderidan-39OMerchant order ID
amountn2OThe total amount to be paid in one purchase order
merchantIDan-31OMerchant ID provided by PG
channelan-31OChannel references for the merchant system
Query Params
number
required

PG Transaction ID

number
required

The total amount to be paid on one purchase order. 2 decimal points, comma (,) is not allowed

string
required

Merchant ID provided by PG

string
required

Integrity protection hash string (requesting verification)

Response

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