VOID
Web service for cancelling the payment request
Flow
Merchant → Espay
Method
HTTP Post
API URL
Endpoint Development: https://sandbox-api.espay.id/rest/digitalpay/void
Endpoint Production: https://api.espay.id/rest/digitalpay/void
Parameter Request:
Name Field | Attribute | Mandatory | Description |
rq_uuid | 64 | Yes | Identify request. Unique ID for identifying these messages with other messages |
rq_datetime | 19 | Yes | Date and time on the Espay application server where the message was sent |
comm_code | 32 | Yes | The seller code is registered in the Espay application |
order_id | 20 | Yes | Transaction Number / Invoice ID / Unique ID identifying the order / Invoice / Invoice |
trx_id | 20 | Yes | Transaction ID number generated by Espay |
product_code | 10 | Yes | The desired product code.
|
signature | 64 | Yes | Validation by the seller requires a signature |
amount | 17 | Yes | Amount paid by the customer Format : 100000 |
Parameter Response:
Name Field | Attribute | Mandatory | Description |
error_code | 4 | Yes | If error_code equals 0000 = Successful If error_code is not the same as 0000 = Failed to call the request to the payment application |
error_message | 32 | Yes | If error_code equals 0000 = Successful If error_code is not the same as 0000 = Failed to call the request to the payment application |
order_id | 20 | Yes | Transaction Number / Invoice ID / Unique ID identifying the order / Invoice / Invoice |
trx_id | 32 | Yes | Transaction ID of Espay |
trx_status | 2 | Yes | Transaction Status |