Update Expire Transaction
This process is used if merchants want to force-fail their transaction. Merchant will send request to Espay system, and Espay will respond in json format as shown below
Flow
Merchant -> Espay
Method
HTTP Post
API URL
Development : https://sandbox-api.espay.id/rest/merchant/updateexpire
Production : https://api.espay.id/rest/merchant/updateexpire
Parameter Request:
Parameter Name | Max Length | Mandatory | Description |
uuid | 64 | Yes | Request identifier. Unique id to identify these messages with other messages |
rq_datetime | 19 | Yes | Date and time in Espay application server when messages is sent |
comm_code | 32 | Yes | Merchant code listed in the Espay application |
order_id | 20 | Yes | Transaction Number / Invoice Id / unique id that identifies the order / billing / invoice. |
tx_remark | 50 | Yes | The reason for update transaction to fail/expire. |
signature | 64 | Yes | Signature required to validate by merchant, see page here for more detail |
Parameter Response:
Parameter Name | Max Length | Mandatory | Description |
rq_uuid | 4 | Yes | Request identifier. Unique id to identify these messages with other messages |
rs_datetime | 32 | Yes | Local date/time Espay server when messages are replied |
error_code | 4 | Yes | Error code of web service, 0000 means success |
error_message | 32 | Yes | Error description |
tx_id | 20 | No | Transaction ID generated by bank |