Developer Suite
Register Sandbox
Register Sandbox
  1. Ecommerce Checkout
  • 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
    • Shopify
    • 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
    • Get transactions
  • Resources
  1. Ecommerce Checkout

Get transaction list

POST
/api/payment-gateway/v1/payments/transaction-list-2
This API allows merchants to retrieve a list of transactions filtered by specific criteria, such as transaction date, amount, payment type, and more. It supports pagination and is designed for both in-store and online profiles, providing secure and efficient access to recent transaction records.
Criteria
Both instore and online profile
Allow only by outlet, cannot get all transaction from all outlet which is under one business profile
Can filter from any date range in the past to current day with maximum 3 days (included today)
All parameters used in the hash string must follow the exact sequence defined in the API documentation
Maximum request per minute: 50 requests

Request

Header Params

Body Params application/json

Example
{
    "req_time": "20250213081756",
    "merchant_id": "ec000002",
    "from_date": null,
    "to_date": null,
    "from_amount": "0.01",
    "to_amount": "1000",
    "status": null,
    "page": "1",
    "pagination": "40",
    "hash": "o1mDvIjTyzoFcN7zvm7...aUYAGXjsx4Ej0E6P2CoxtOQ=="
}

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-gateway/v1/payments/transaction-list-2' \
--header 'Content-Type: application/json' \
--data-raw '{
    "req_time": "20250213081756",
    "merchant_id": "ec000002",
    "from_date": null,
    "to_date": null,
    "from_amount": "0.01",
    "to_amount": "1000",
    "status": null,
    "page": "1",
    "pagination": "40",
    "hash": "o1mDvIjTyzoFcN7zvm7...aUYAGXjsx4Ej0E6P2CoxtOQ=="
}'

Responses

🟢200OK
application/json
Body

Examples
{
    "data": [
        {
            "transaction_id": "9495966779",
            "transaction_date": "2025-10-08 09:55:15",
            "original_currency": "USD",
            "bank_ref": "",
            "apv": "",
            "discount_amount": 0,
            "payment_status": "PENDING",
            "payment_amount": 0,
            "last_name": "",
            "payment_currency": "",
            "payment_type": "N\/A",
            "payer_account": "",
            "total_amount": 0.01,
            "phone": "010417430",
            "original_amount": 0.01,
            "payment_status_code": 2,
            "bank_name": "",
            "refund_amount": 0,
            "first_name": "",
            "email": "Por.unreal@ababank.com",
            "card_source": ""
        },
        {
            "transaction_id": "1571517653",
            "transaction_date": "2025-10-08 09:53:25",
            "original_currency": "USD",
            "bank_ref": "",
            "apv": "",
            "discount_amount": 0,
            "payment_status": "PENDING",
            "payment_amount": 0,
            "last_name": "",
            "payment_currency": "",
            "payment_type": "N\/A",
            "payer_account": "",
            "total_amount": 0.01,
            "phone": "010417430",
            "original_amount": 0.01,
            "payment_status_code": 2,
            "bank_name": "",
            "refund_amount": 0,
            "first_name": "",
            "email": "Try.unreal@ababank.com",
            "card_source": ""
        },
        {
            "transaction_id": "2352051686",
            "transaction_date": "2025-10-08 09:43:54",
            "original_currency": "USD",
            "bank_ref": "",
            "apv": "",
            "discount_amount": 0,
            "payment_status": "PENDING",
            "payment_amount": 0,
            "last_name": "",
            "payment_currency": "",
            "payment_type": "N\/A",
            "payer_account": "",
            "total_amount": 0.01,
            "phone": "010417430",
            "original_amount": 0.01,
            "payment_status_code": 2,
            "bank_name": "",
            "refund_amount": 0,
            "first_name": "",
            "email": "Lun.unreal@ababank.com",
            "card_source": ""
        },
        {
            "transaction_id": "4150328055",
            "transaction_date": "2025-10-08 09:41:38",
            "original_currency": "USD",
            "bank_ref": "",
            "apv": "",
            "discount_amount": 0,
            "payment_status": "PENDING",
            "payment_amount": 0,
            "last_name": "",
            "payment_currency": "",
            "payment_type": "N\/A",
            "payer_account": "",
            "total_amount": 0.01,
            "phone": "010417430",
            "original_amount": 0.01,
            "payment_status_code": 2,
            "bank_name": "",
            "refund_amount": 0,
            "first_name": "",
            "email": "Chhay.unreal@ababank.com",
            "card_source": ""
        }
    ],
    "pagination": "10",
    "page": "1",
    "status": {
        "code": "00",
        "tran_id": "163172901816084",
        "message": "Success!"
    }
}
Previous
Refund API
Next
Exchange rate