Bill24 send transaction detail through this interface to merchant. This endpoint implement by merchant side.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
{
"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": "09294303",
"paid_by": "893-349-349-3449",
"paid_date": "2024-02-29 10:46:33",
"description": "",
"checkout_ref": "",
"bills": []
}
Request samples
curl --location --request POST '/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": "09294303",
"paid_by": "893-349-349-3449",
"paid_date": "2024-02-29 10:46:33",
"description": "",
"checkout_ref": "",
"bills": []
}'
Responses
application/json {
"status": "Success",
"message": "SUCCESS"
}
Modified at 2024-07-17 03:43:15