Developer Suite
Register Sandbox
Register Sandbox
  1. Credentials on File
  • Overview
  • API Endpoints
  • Ecommerce Checkout
    • Purchase
      POST
    • Get a transaction details
      POST
    • Close transaction
      POST
    • Check transaction
      POST
    • Refund API
      POST
    • Get transaction list
      POST
    • Exchange rate
      POST
  • Checkout Plugins
    • Prestashop
    • Woocommerce
  • Credentials on File
    • Link Account
      POST
    • Link Card
      POST
    • Payment
      POST
    • Renew Token
      POST
    • Get token details
      POST
    • Remove token
      POST
  • ABA QR API
    • QR API
      POST
  • Payment Link
    • Create payment link
      POST
    • Get payment link details
      POST
  • Pre-auth
    • Complete pre-auth transactions
      POST
    • Complete pre-auh transaction with payout
      POST
    • Cancel pre-purchase transaction
      POST
  • Payout
    • Payout
    • Update a beneficiary status
    • Add a beneficiary to whitelist
  • KHQR Guideline
  • Resources
  1. Credentials on File

Get token details

POST
/api/payment-credential/v3/token-management/get-token-details
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

Body Params application/json

Example
{
    "request_time": "string",
    "request_id": "string",
    "merchant_id": "string",
    "hash": "string"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://checkout-sandbox.payway.com.kh//api/payment-credential/v3/token-management/get-token-details' \
--header 'Content-Type: application/json' \
--data-raw '{
    "request_time": "string",
    "request_id": "string",
    "merchant_id": "string",
    "hash": "string"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "status": {
        "code": "00",
        "message": "Success",
        "trace_id": "175576519295871"
    },
    "data": {
        "ctid": "64513556cc930062e8cb3ae59eee8fbf459c53e",
        "pwt": "6451355C97035CDE21FB13..E0945C21007136F3D423A1B",
        "source_of_fund": "*****5312",
        "type": "ABA ACCOUNT",
        "status": 0,
        "expired_at": "2019-08-24T14:15:22Z",
        "token_flag": "CITI_FLEX",
        "frequency": "",
        "subscribed_amount": 0.0,
        "amount_limit_per_tran": 200.00,
        "currency": "USD"
    }
}
🟠400Bad Request
🟠403Forbidden
Previous
Renew Token
Next
Remove token