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
    • Purchase using token
      POST
    • Remove account token
      POST
    • Remove card token
      POST
    • Get linked account details
      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

Remove account token

POST
/api/aof/remove-account
This API allows you to remove a customer's linked account token from your platform. Once the token is removed, this action cannot be undone, and the token will no longer be valid for purchases.

Request

Header Params

Body Params application/json

Example
{
    "req_time": "20250305114648",
    "merchant_id": "ec000002",
    "ctid": "522235C...C8FA2890C5378D7",
    "pwt": "522235462D55FA...6AF3DA7B968DD7B7F57A",
    "hash": "K1g6XnbVSyN1L/...RM1HrsmPDgfdUzT/6Ru9HV+H/yn1qLow=="
}

Request 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/aof/remove-account' \
--header 'Content-Type: application/json' \
--data-raw '{
    "req_time": "20250305114648",
    "merchant_id": "ec000002",
    "ctid": "522235C...C8FA2890C5378D7",
    "pwt": "522235462D55FA...6AF3DA7B968DD7B7F57A",
    "hash": "K1g6XnbVSyN1L/...RM1HrsmPDgfdUzT/6Ru9HV+H/yn1qLow=="
}'

Responses

🟢200OK
application/json
Body

Example
{
    "status": {
        "code": "00",
        "message": "Success"
    }
}
Previous
Purchase using token
Next
Remove card token