APIs for Businesses
Home
APIs
  • Checkout/ Deeplink
  • Merchant Proxy
  • Bill24 Hosted
  • Auto Direct Debit
  • KHQR Integration Specification for API
  • Notification API
  • On Boarding Sub Biller API
Home
APIs
  • Checkout/ Deeplink
  • Merchant Proxy
  • Bill24 Hosted
  • Auto Direct Debit
  • KHQR Integration Specification for API
  • Notification API
  • On Boarding Sub Biller API
CHECKOUT/ DEEPLINKMerchant Proxy
Bill24 HostedAuto Direct DebitKHQR Integration Specification for APINotification APIPayment Method
CHECKOUT/ DEEPLINKMerchant Proxy
Bill24 HostedAuto Direct DebitKHQR Integration Specification for APINotification APIPayment Method
  1. Merchant Proxy
  • Merchant Proxy
    • Overview
    • Response Code
    • Full Example
    • FAQ
    • Proxy
      POST
    • Webhook
      POST
  1. Merchant Proxy

Proxy

POST
https://mock.apidog.com/m1/444561-0-default/proxy
Bill24 query bill throught this interface to get bill/ invoice detail. This endpoint implement by Merchant side.
NOTE
Change to your best URL:https://yourdomain/proxy
Request Header mock API:
NamevalueDescription
SuccesssuccessTest case successful (default success)
FailfailTest case fail

Request

Header Params

Body Params application/json

Example
{
    "consumer_code": "CU003035"
}

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://mock.apidog.com/m1/444561-0-default/proxy' \
--header 'Accept: application/json' \
--header 'token: 1603aa00dcc4426ba83298341bab126b' \
--header 'Content-Type: application/json' \
--data-raw '{
    "consumer_code": "CU003035"
}'

Responses

🟢200Success
application/json
Body

Examples
{
    "code": 0,
    "message": "Success",
    "message_kh": "",
    "data": {
        "consumer_code": "CU003035",
        "consumer_name": "ញ៉េប នីម",
        "consumer_name_latin": "Nheb Nim",
        "phone": "010888999",
        "currency": "USD",
        "due_amount": 10,
        "min_amount": -1,
        "max_amount": 5000,
        "balance": 0,
        "description": "Invoice on Feb-2024",
        "last_bill_date": "2024-2-29 10:46:33",
        "last_due_date": "2024-3-30 10:46:33",
        "last_pay_date": "2024-01-05 10:46:33"
    }
}
🟠404Record not found
🟠400Invalid input
🟢200OK
Modified at 2025-02-24 01:56:55
Previous
FAQ
Next
Webhook