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 ProxyBill24 HostedAuto Direct Debit
KHQR Integration Specification for APINotification APIPayment Method
CHECKOUT/ DEEPLINKMerchant ProxyBill24 HostedAuto Direct Debit
KHQR Integration Specification for APINotification APIPayment Method
  1. Auto Direct Debit
  • Auto Direct Debit
    • Overview
    • FAQ
    • MOBILE SDKS
      • Flutter SDK
    • WEB SDKS
      • Web SDK
    • Authorization
      POST
    • Init Subscription
      POST
    • Inquiry Consumer validate
      POST
    • Consumer's Debt Update
      POST
    • Inquiry Consumer Debt
      POST
  1. Auto Direct Debit

Inquiry Consumer validate

POST
{{Merchant_Domain}}/consumer/validate
Biller Implement this endpoint
NOTE
Bill24 will call this endpoint to validate if consumer is exist in biller system and get that consumer information for show to consumer.

Request

Header Params
Content-Type
string 
required
Example:
application/json
token
string 
required
Token auth from biller
Example:
biller token
Accept
string 
required
Example:
application/json
Body Params application/json
biller_code
string 
required
Consumer code for inquiry information
consumer_code
string 
required
Biller Code
Example
{
  "biller_code": "1111",
  "consumer_code": "C000001"
}

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 -g --request POST 'https://merchantapi-demo.bill24.io/notification/v1/notificationmessage/send{{Merchant_Domain}}/consumer/validate' \
--header 'token: biller token' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{ 
    "biller_code":"1111",
    "consumer_code": "C000001"
}'

Responses

🟢200Success
application/json
Body
code
string 
optional
message
string 
optional
message_kh
string 
optional
data
object 
optional
consumer_code
string 
required
Consumer Code
consumer_name
string 
required
Consumer name in Khmer
consumer_name_latin
string 
required
Consumer name in Latin
additional_information
string 
required
Other information for dispay
Example
{
  "code": "000",
  "message": "",
  "message_kh": "",
  "data": {
    "consumer_code": "C000001",
    "consumer_name": "សូនី វ៉ាន់នេត",
    "consumer_name_latin": "SONY Vannet",
    "additional_information": "អសយដ្ឋាន : ផ្លូវ 271"
  }
}
Previous
Init Subscription
Next
Consumer's Debt Update