Check Transaction (cURL)

All information for testing has been provided in your sandbox account. If you don't have an account yet, just quickly sign up here.

Testing Server:

https://sandbox.payway.com.kh/api/{merchant_api_name}/check/transaction/

Production Server:

https://payway.ababank.com/api/{merchant_api_name}/check/transaction/

Parameters:

Parameter NameTypeMandatoryDescription
tran_id stringYesunique tran_id
hash stringYesencrypt "merchant_id+tran_id, key" with hash_hmac sha512 after that convert the output using Base64. merchant_id and key - ABA Bank will be provided when client sign contract.

Response JSON-object:

1. status (int)

Possible value:

Status CodeMessage
0Approved
1Created
2Pending
3Declined
4Refunded
5Invalid hash
6tran_id not found
11other - server side error

2. description (string) - description of the status

3. amount

4. total amount