Get token details

Base URL: https://checkout-sandbox.payway.com.kh/Copy to clipboard
POST

If you encounter issues with the callback and do not receive the details during link account, link card, or token renewal, you can manually retrieve the linked account or card information.

Request

Header Params
stringrequired

Example: application/json

Body Params application/json

stringrequired

Request date and time in UTC format as YYYYMMDDHHmmss.

stringrequired

Your request id. The request id shall be unique from your side. This id will be use to obtain the token details in the future. We only return the last record. Length from 5 to 24 characters long, consisting only of letters (uppercase and lowercase) and numbers, with no special characters or spaces allowed.

stringrequired

A unique merchant key provided by ABA Bank.

<= 20 characters
stringrequired

PHP Sample Code

// public key provided by ABA Bank
$api_key = "API KEY PROVIDED BY ABA BANK";

// Prepare the data to be hashed
$b4hash = $merchant_id . $request_time . $request_id;

// Generate the HMAC hash using SHA-512 and encode it in Base64
$hash = base64_encode(hash_hmac('sha512', $b4hash, $api_key, true));

Example

{
  "request_time": "",
  "request_id": "",
  "merchant_id": "",
  "hash": ""
}
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R

Responses