Void
- API: Void Order
- Description: Void the related transaction order
- Path: /hosted-checkout/void
- Method: POST
- Request Header: Content-Type: application/json
#
Request Parametersparameter | type | require | description |
---|---|---|---|
merchantId | string | Y | |
orderId | number | O | |
merchantReference | string | O | Must be the merchantReference of the order which you want to void |
Example:
#
Response Parametersparameter | type | require | description |
---|---|---|---|
responseCode | string | Y | |
order | object | Y | |
order.id | number | Y | |
order.merchantId | number | Y | |
order.merchantReference | string | Y | |
order.currency | string | Y | |
order.amount | number | Y | |
order.itemAmount | number | Y | |
order.transFee | number | Y | |
order.netAmount | number | Y | |
order.cardType | string | Y | |
order.email | string | Y | |
order.createTime | dateTime | Y | |
order.updateTime | dateTime | Y | |
order.status | string | Y | |
order.recurring | boolean | Y | |
transaction | object | Y | |
transaction.id | number | Y | |
transaction.merchantId | number | Y | |
transaction.type | string | Y | |
transaction.amount | number | Y | |
transaction.status | string | Y | |
transaction.maskedPan | string | Y | |
transaction.stan | string | Y |
Example: