- Payment Method API
- 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.
bank_id
field is filled in, the return_url
field becomes requiredRequest
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
name
string
required
name_kh
string
optional
address
string
optional
bank_id
string
optional
wants to activate an account can get from endpoint (Get Available
Banks)
return_url
string
optional
Biller)
currency
string
optional
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
message
string
optional
message_kh
string
optional
data
object
optional
code
string
optional
supplier_sync_code
string
optional
name
string
optional
name_kh
string
optional
address
string
optional
add_link_account
object
optional
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