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

Renew Token

POST
/api/payment-credential/v3/token-management/renew-expired-account-token
An account token expires 90 days after it is linked or after the last successful purchase. Once the token expires, it can no longer be used for purchases by the user or merchant. To reactivate the token, the merchant must call the Renew Token API and user must authorize the renewal on ABA Mobile app. Below is a sample flow of how the token renewal process works:
You should receive the callback result within 3 minutes. If you do not receive the callback, we recommend using the Get token details API to retrieve the token information.

Request

Header Params

Body Params application/json

Example
{
    "request_time": "string",
    "merchant_id": "string",
    "request_id": "string",
    "ctid": "string",
    "pwt": "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/renew-expired-account-token' \
--header 'Content-Type: application/json' \
--data-raw '{
    "request_time": "string",
    "merchant_id": "string",
    "request_id": "string",
    "ctid": "string",
    "pwt": "string",
    "hash": "string"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "status": {
        "code": "00",
        "tran_id": "175576524786847",
        "message": "Success"
    }
}
🟠400Bad Request
🟠403Forbidden
Previous
Payment
Next
Get token details