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
CHECKOUT/ DEEPLINKMerchant Proxy
Bill24 HostedAuto Direct DebitKHQR Integration Specification for APINotification APIPayment Method
CHECKOUT/ DEEPLINKMerchant Proxy
Bill24 HostedAuto Direct DebitKHQR Integration Specification for APINotification APIPayment Method
  1. Merchant Proxy
  • Merchant Proxy
    • Overview
    • Response Code
    • Full Example
    • FAQ
    • Proxy
      POST
    • Webhook
      POST
  1. Merchant Proxy

Webhook

POST
https://mock.apidog.com/m1/444561-0-default/webhook
Bill24 send transaction detail through this interface to merchant. This endpoint implement by merchant side.
NOTE
Change to your best URL:https://yourdomain/webhook
Request Header mock API:
NamevalueDescription
SuccesssuccessTest case successful (default success)
FailfailTest case fail

Request

Header Params

Body Params application/json

Example
{
    "tran_id": "348b4b16-1f06-4563-8204-105a8420a067",
    "tran_no": "6K0BTGwG7HsF",
    "payment_service_type": "Bank Channel",
    "tran_date": "2024-11-29T16:58:16.727168",
    "tran_amount": 45,
    "currency": "USD",
    "bank_code": "AC",
    "bank_name": "ACLEDA",
    "bank_ref": "AC00112301",
    "identity_code": "37627011",
    "purpose_of_transaction": "",
    "device_code": "",
    "status": "success",
    "customers": [
        {
            "branch_code": "",
            "branch_name": "",
            "customer_code": "37627011",
            "customer_name": "MAO SAMON",
            "customer_name_latin": "",
            "bill_no": "",
            "amount": 45
        }
    ]
}

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://mock.apidog.com/m1/444561-0-default/webhook' \
--header 'Accept: application/json' \
--header 'Token: 1603aa00dcc4426ba83298341bab126b' \
--header 'Content-Type: application/json' \
--data-raw '{
    "tran_id": "348b4b16-1f06-4563-8204-105a8420a067",
    "tran_no": "6K0BTGwG7HsF",
    "payment_service_type": "Bank Channel",
    "tran_date": "2024-11-29T16:58:16.727168",
    "tran_amount": 45,
    "currency": "USD",
    "bank_code": "AC",
    "bank_name": "ACLEDA",
    "bank_ref": "AC00112301",
    "identity_code": "37627011",
    "purpose_of_transaction": "",
    "device_code": "",
    "status": "success",
    "customers": [
        {
            "branch_code": "",
            "branch_name": "",
            "customer_code": "37627011",
            "customer_name": "MAO SAMON",
            "customer_name_latin": "",
            "bill_no": "",
            "amount": 45
        }
    ]
}'

Responses

🟢200OK
application/json
Body

Examples
{
	"status": "Success",
	"message": "SUCCESS"
}
Modified at 2025-03-06 11:12:00
Previous
Proxy