Proxy
POST
https://mock.apidog.com/m1/444561-0-default/proxyBill24 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:
Name | value | Description |
---|---|---|
Success |
success |
Test case successful (default success) |
Fail |
fail |
Test case fail |
:::
Request
{
"consumer_code": "CU003035"
}
Request samples
Responses
Status code
Status message in English
Status message in Khmer
Details below
consumer code or invoice number
Consumer’s name, can be in any language
Consumer’s name in English
Consumer’s phone number
Currency Code as per ISO 4217 (USD, KHR...)
Amount to pay
Minimum amount can pay per transaction. If -1 mean unlimited.
Maximum amount can pay per transaction.
If -1 mean unlimited.
This represents the extra amount which
consumers has already paid. Eg. Total
customer’s due was 10,000៛ and customer
made 15,000៛ payment, thus the customer
has the balance of 5,000៛. This is optional
information which can be shown as
information to customer in some Bank Apps
when provided.
Free text information. It is only for
information and biller can use it for their
other validation. The information provided in
this field will be sent back in Webhook
payload.
This is optional information which can be
shown as information to customer in some
Bank Apps when provided.
This is required to know consumer last
due date.
This is optional information which can be
shown as information to customer in some
Bank Apps when provided.
{
"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"
}
}