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
  1. Activate Sub Biller API
  • Payment Method API
    • Overview
    • Response Code
    • MOBILE SDKS
      • iOS SDK
      • Android SDK
    • Authorization
      POST
    • Create Customer
      POST
    • Get Payment Methods
      GET
    • Settle Payment
      POST
    • Get List bills
      GET
    • Get Wallet Balance
      POST
    • Get Transaction Detail
      POST
  • Activate Sub Biller API
    • Overview
    • Response Code
    • Authorization
      POST
    • Onboarding
      POST
    • Get Available Banks
      GET
    • Add Link Account
      POST
    • Verify Linked Bank Account
      POST
  1. Activate Sub Biller API

Onboarding

POST
https://merchantapi-demo.bill24.io/on_boarding/on_boarding_supplier
This endpoint is used to register a Sub Biller and allows them to link an account for settlement.
If the bank_id field is filled in, the return_url field becomes required

Request

Header Params
 Content-Type
string 
required
Example:
application/json
Authorization
string 
required
Example:
Bearer {token get from endpoint (Authorization)}
Body Params application/json
 supplier_sync_code
string 
required
Sub Biller id at Biller side
 name
string 
required
Sub Biller name in English
 name_kh
string 
optional
Sub Biller name in Khmer
 address
string 
optional
Sub Biller address
 bank_id
string 
optional
Bank id is used to identify the bank where the Sub Biller
wants to activate an account can get from endpoint (Get Available
Banks)
 return_url
string 
optional
Url to return when add account successful (provide by
Biller)
currency
string 
optional
Currency that allow Sub Biller to add specific account (KHR)
Example
{
  "supplier_sync_code": "Cpo001",
  "name": "Station 1",
  "name_kh": "ស្ថានីយ៏ទី១",
  "address": "Chbar Ompov,Phnom Penh",
  "return_url": "https://example.com/redirect-page",
  "bank_id": "AC",
  "currency": "KHR"
}

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://merchantapi-demo.bill24.io/on_boarding/on_boarding_supplier' \
--header 'Content-Type:  application/json' \
--header 'Authorization:  Bearer {token get from endpoint (Authorization)}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "supplier_sync_code": "Cpo001",
    "name": "Station 1",
    "name_kh": "ស្ថានីយ៏ទី១",
    "address": "Chbar Ompov,Phnom Penh",
    "return_url": "https://example.com/redirect-page",
    "bank_id": "AC",
    "currency": "KHR"
}'

Responses

🟢200Success
application/json
Body
 code
string 
optional
Response Code
 message
string 
optional
Response message in English
 message_kh
string 
optional
Response message in Khmer
data
object 
optional
Data object
code
string 
optional
Supplier code at Bill24 side
 supplier_sync_code
string 
optional
Sub biler id at Biller side
name
string 
optional
Sub biler name in English
 name_kh
string 
optional
Sub biler name in Khmer
 address
string 
optional
Sub biler address
add_link_account
object 
optional
Data object
Example
{
  "code": "000",
  "message": "success",
  "message_kh": "ជោគជ័យ",
  "data": {
    "code": "2839",
    "supplier_sync_code": "Cpo001",
    "name": "Station 1",
    "name_kh": "ស្ថានីយ៏ទី១",
    "address": "Chbar Ompov,Phnom Penh",
    "add_link_account": {
      "web_url": "https://example.bank.com.kh/47291847702ACPUREJaPKqhYg"
    }
  }
}
🔵310Response
🔵312Response
⚪1Response
Previous
Authorization
Next
Get Available Banks