Auto Direct Debit
Light Mode
Inquiry Consumer Debt
POST
{{biller_domain}}/consumer/inquiryBiller Implement this endpoint.
:::note
Bill24 will call this endpoint when need to get consumer debt for payment.
:::
Request
Header Params
Content-Type
string
required
Example:
application/json
token
string
required
Token auth from biller
Example:
biller token
Body Params application/json
consumer_codes
string
required
List of consumer codes that want to inquiry
biller_code
string
required
Biller Code
Example
{
"consumer_codes": [
"C000001",
"C000002"
],
"biller_code": "1111"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
string
required
Response Code
message
string
required
Response message in english
message_kh
string
required
Response message in khmer
data
object
required
Data Object
consumer_code
string
required
Consumer Code
Consumer_name
string
required
Consumer name in khmer
consumer_name-latin
string
required
Consumer name in latin
amount
number
required
Amount to pay
currency
string
required
Currency code (ISO 4217)
Example
{
"code": "000",
"message": "Request was successful",
"message_kh": "ការស្នើសុំបានជោគជ័យ",
"data": [
{
"consumer_code": "C00001",
"consumer_name": "សូនី វ៉ាន់នេត",
"consumer_name_latin": "SONY Vannet",
"amount": 15.5,
"currency": "USD"
},
{
"consumer_code": "C00002",
"consumer_name": "ក្រុមហ៊ុន Software ឯ.ក",
"consumer_name_latin": "Software Co., Ltd.",
"amount": 250000,
"currency": "KHR"
}
]
}
Last modified: 3 months ago