Run in Apidog
This endpoint use for settle money from Main account to Sub biller account.
Request Body Params application/json
{
"ref_id" : "101" ,
"date" : "2024-06-22T02:41:55.350" ,
"due_date" : "2024-06-30T06:50:55.350" ,
"currency" : "KHR" ,
"total_amount" : 100 ,
"customer_sync_code" : "xxxxxxxxx" ,
"total_tax" : 0 ,
"payment_method_token" : "" ,
"payment_to" : "xxxxxxxxxxxxxxx" ,
"description" : "Charge testing" ,
"exchange_rate_khr" : "" ,
"total_amount_khr" : "" ,
"hash" : "xxxxxxxxxxxxxxx" ,
"details" : [
{
"item_mame" : "A001" ,
"description" : "Hello" ,
"quantity" : 2 ,
"price" : 5 ,
"amount" : 10 ,
"tax_amount" : 0 ,
"tax_name" : "Charge tax"
}
]
}
Request samples curl --location --request POST 'https://merchantapi-demo.bill24.io/bill_payment/push_bill_with_payment' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {token get from endpoint (Authorization)}' \
--header 'Content-Type: application/json' \
--data-raw '{
"ref_id": "101",
"date": "2024-06-22T02:41:55.350",
"due_date": "2024-06-30T06:50:55.350",
"currency": "KHR",
"total_amount": 100,
"customer_sync_code": "xxxxxxxxx",
"total_tax": 0,
"payment_method_token": "",
"payment_to": "xxxxxxxxxxxxxxx",
"description": "Charge testing",
"exchange_rate_khr": "",
"total_amount_khr": "",
"hash": "xxxxxxxxxxxxxxx",
"details": [
{
"item_mame": "A001",
"description": "Hello",
"quantity": 2,
"price": 5,
"amount": 10,
"tax_amount": 0,
"tax_name": "Charge tax"
}
]
}'
Responses application/json Generate Code
{
"code" : "000" ,
"message" : "Push bill and capture payment successfully !" ,
"message_kh" : "áááááźáááˇáááááááááááˇááááážááśáááźááśáááá˝á
ááśááââ !" ,
"data" : {
"bill" : {
"status" : "success"
} ,
"payment" : {
"status" : "success"
}
}
}
Modified at 2025-08-05 07:14:56