Merchant Proxy
Light Mode
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
Query Params
merchant_id
string
required
Example:
1234
transaction_id
string
required
Example:
174952172035635
hash
string
optional
Example:
4be8fc1f50834aacb5c46005501cda8b
Header Params
Success
string
required
Example:
success
token
string
required
Example:
1603aa00dcc4426ba83298341bab126b
Body Params application/json
consumer_code
string
required
Example
{
"consumer_code": "CU003035"
}
Request samples
Responses
Success(200)
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer
required
message
string
required
message_kh
string
required
data
object
required
consumer_code
string
required
consumer_name
string
required
consumer_name_latin
string
required
phone
string
required
currency
string
required
due_amount
integer
required
min_amount
integer
required
max_amount
integer
required
balance
integer
required
description
string
required
last_bill_date
string
required
last_due_date
string
required
last_pay_date
string
required
Example
{
"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"
}
}
Last modified: 10 months ago