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/ DEEPLINK
Merchant ProxyBill24 HostedAuto Direct DebitKHQR Integration Specification for APINotification APIPayment Method
CHECKOUT/ DEEPLINK
Merchant ProxyBill24 HostedAuto Direct DebitKHQR Integration Specification for APINotification APIPayment Method
  1. CHECKOUT/ DEEPLINK
  • CHECKOUT/ DEEPLINK
    • Overview
    • Webhook
    • Full Example
    • FAQ
    • Flutter SDK
    • MOBILE SDKS
      • iOS SDK
      • Android SDK
    • WEB SDKS
      • Web SDK
    • Authorization
      POST
    • Transaction Initiation
      POST
    • Transaction Verification
      POST
    • Webhook
      POST
  1. CHECKOUT/ DEEPLINK

Webhook

Enable Webhook

Once the payment is completed, Bill24 will push payment data indicating payment success to merchant system for clear payment, requiring the implementation of a webhook on the merchant side.

NOTE

Merchant need to enable this feature in Bill24 portal

Parameters Repsonse

FieldTypeRemark
tran_idStringReference transaction at Bill24
tran_noStringTransaction number at Bill24
payment_service_typeStringTransaction type Ex: 1 Bank Channel 2 KHQR 3 Deeplink/Checkout 4 Direct Debit
tran_dateStringTransaction date
tran_amountDecimalOriginal amount of the transaction
currencyStringCurrency code ISO 4217(USD, KHR...)
bank_codeStringBank code at Bill24 side
bank_nameStringBank’s name
bank_refStringReference number at bank side
identity_codeStringReference number at merchant side(This code used to confirm the payment)
purpose_of_transactionStringBill issue date or bill number
device_codeStringSerial number of QR code display device or terminal (You need to map the device code in your system)
statusStringStatus of the transaction
customersList of JSONList of customer data

Response Payload for "customers"

FieldTypeRemark
branch_codeStringBranch code
branch_nameStringThe name of the branch
customer_codeStringCustomer code
customer_nameStringThe name of the customer
customer_name_latinStringThe name of the customer in Latin
bill_noStringBill or invoice number
amountDecimalAmount of the bill or invoice

Example Response Payload

{
  "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
    }
  ]
}
Modified at 2025-03-06 11:14:58
Previous
Overview
Next
Full Example