Refund API

To allow the customer to request a refund, the following request and response objects are initiated to complete the refund workflow.

Body Params
string
required
Defaults to 200043

Merchant ID in Pockyt's system. A unique value created and assigned by Pockyt’s support team during the onboarding process

string
required
Defaults to 300014

Store Number in Pockyt's system. A unique value created and assigned by Pockyt’s support team during the onboarding process

string
required
Defaults to 0.01

The amount that has to be refunded

string
required
Defaults to USD

The supported transaction currencies are "USD", "CNY", "PHP", "IDR", "KRW", "HKD", "THB", "MYR", "GBP", "BDT", "PKR"

string
required
Defaults to USD

The supported settlement currency "USD"

string
required
Defaults to 297553638301777927

Transaction number of original sale

string
Defaults to test202001011303

ID of reference transaction in Point-of-Sale

string
Defaults to http://zk-tys.yunkeguan.com/ttest/test

The asynchronous notification address. The IPN URL must be secure. For more information, visit the IPN section

string
required
Defaults to 0df745088d7202a6d186596acdc82c6a

The parameter signature. It is the calculated MD5 hash value of the API token used to encrypt the request message and authorize transaction requests. For more information, visit Signing API Parameters

Response

Language
Response
Choose an example:
application/json