This interface webhook
allow Bill24 proxy/host to push back the online payment transaction to your server . This operation required your slide provide URL webhook . Change to your best URL:https://yourdomain/webhook
Name value Description Success
success
Test case successful (default success) Fail
fail
Test case fail
Request Body Params application/json
Fee that charge from customer
Fee that charge from supplier
Total amount that customer pay
Currency code that use in payment
Bank name eg. ACLEDA, WING, Pipay …
Transaction Reference ID from banks
Customer sync_code / PK in business
Customer phone or card number with masked.
Checkout Reference ID from business
• id: bill id •* sync_code:* bill sync_code
{
"tnx_id" : "BUb4CmDE" ,
"tran_amount" : 10 ,
"customer_fee" : 0.20 ,
"supplier_fee" : 0 ,
"total_amount" : 10.20 ,
"currency" : "USD" ,
"bank_name" : "ACLEDA" ,
"bank_ref" : "FT00003941" ,
"customer_sync_code" : "" ,
"customer_code" : "CU003035" ,
"customer_name" : "Nheb Nim" ,
"customer_phone" : "097394303" ,
"paid_by" : "893-349-349-3449" ,
"paid_date" : "2024-02-29 10:46:33" ,
"description" : "" ,
"checkout_ref" : "" ,
"bills" : [ ]
}
Request samples curl --location --request POST 'https://mock.apidog.com/m1/444561-0-default/webhook' \
--header 'Accept: application/json' \
--header 'Success: success' \
--header 'Content-Type: application/json' \
--data-raw '{
"tnx_id": "BUb4CmDE",
"tran_amount": 10,
"customer_fee": 0.20,
"supplier_fee": 0,
"total_amount": 10.20,
"currency": "USD",
"bank_name": "ACLEDA",
"bank_ref": "FT00003941",
"customer_sync_code": "",
"customer_code": "CU003035",
"customer_name": "Nheb Nim",
"customer_phone": "097394303",
"paid_by": "893-349-349-3449",
"paid_date": "2024-02-29 10:46:33",
"description": "",
"checkout_ref": "",
"bills": []
}'
Responses application/json Generate Code
{
"status" : "Success" ,
"message" : "SUCCESS"
}
Modified at 2024-02-14 07:41:36