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 ProxyBill24 HostedAuto Direct DebitKHQR Integration Specification for API
Notification APIPayment Method
CHECKOUT/ DEEPLINKMerchant ProxyBill24 HostedAuto Direct DebitKHQR Integration Specification for API
Notification APIPayment Method
  1. KHQR Integration Specification for API
  • KHQR Integration Specification for API
    • Overview
    • Transaction Initiation
      POST
    • Transaction Verification
      POST
    • Webhook
      POST
  1. KHQR Integration Specification for API

Webhook

POST
https://mock.apidog.com/m1/444561-0-default/webhook
Once the payment is complete, Bill24 will push payment data to merchant system.
NOTE
Change to your best URL: https://yourdomain/webhook
Merchant need to enable Webhook feature in Bill24 portal.

Request

Header Params

Body Params application/json

Example
{
    "tran_id": "348b4b16-1f06-4563-8204-105a8420a067",
    "tran_no": "6KOBTGwG7HSF",
    "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 'Success: success' \
--header 'Content-Type: application/json' \
--data-raw '{
    "tran_id": "348b4b16-1f06-4563-8204-105a8420a067",
    "tran_no": "6KOBTGwG7HSF",
    "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

🟢200Success
application/json
Body

Examples
{
    "status": "Success",
    "message": "SUCCESS"
}
Modified at 2025-03-06 11:12:40
Previous
Transaction Verification