Developer Suite
Register Sandbox
Register Sandbox
  1. Payout
  • 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
      POST
    • Update a beneficiary status
      POST
    • Add a beneficiary to whitelist
      POST
  • KHQR Guideline
  • Resources
  1. Payout

Update a beneficiary status

POST
/api/merchant-portal/merchant-access/whitelist-account/update-whitelist-status
This API allows you to update the status of a beneficiary, toggling between active and inactive status.
When to use this API?
To prevent a whitelisted beneficiary from receiving future funds or from being used in payout instructions.
To resume a previously disabled beneficiary so they can start receiving funds again or be used in payout instructions.

Request

Header Params

Body Params application/json

Example
{
    "request_time": "20200728093403",
    "merchant_id": "ec000002",
    "merchant_auth": "39aaa43.....0c00a",
    "hash": "EVDFA2118UD0boKhkAcOb...+5KCCt+sWw=="
}

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/merchant-portal/merchant-access/whitelist-account/update-whitelist-status' \
--header 'Content-Type: application/json' \
--data-raw '{
    "request_time": "20200728093403",
    "merchant_id": "ec000002",
    "merchant_auth": "39aaa43.....0c00a",
    "hash": "EVDFA2118UD0boKhkAcOb...+5KCCt+sWw=="
}'

Responses

🟢200OK
application/json
Body

Examples
{
    "data": {
        "name": "INDOCHINE LODGE",
        "payee": "318111358120004",
        "currency": "USD",
        "type": "MID",
        "status": 1,
        "created_at": "2022-09-19 07:52:51"
    },
    "status": {
        "code": "00",
        "message": "Success!"
    }
}
Previous
Payout
Next
Add a beneficiary to whitelist