APIs for Businesses (Test)
Home
Services
  • Checkout / Deeplink
  • Merchant Proxy
Home
Services
  • Checkout / Deeplink
  • Merchant Proxy
Default module
Default module
  1. CHECKOUT/ DEEPLINK
  • CHECKOUT/ DEEPLINK
    • CHECKOUT/ DEEPLINK
      • Overview
      • Webhook
      • Full Example
      • FAQ
      • MOBILE SDKS
        • Flutter SDK
        • iOS SDK
        • Android SDK
      • WEB SDKS
        • Web SDK
      • Transaction Initiation
        POST
      • Transaction Verification
        POST
      • Authorization
        POST
  • test
    • CHECKOUT/ DEEPLINK
      • Overview
      • Webhook
      • Full Example
      • FAQ
      • MOBILE SDKS
        • Flutter SDK
        • iOS SDK
        • Android SDK
      • WEB SDKS
        • Web SDK
      • Transaction Initiation
      • Transaction Verification
      • Authorization
  • Merchant Proxy
    • Merchant Proxy
      • Overview
      • Full Example
      • FAQ
      • Proxy
      • Webhook
      • test
  • Bill24 Proxy
    • Bill24 Proxy
      • Overview
      • Full Example
      • FAQ
      • Test
      • Push Customer
      • Push Bill
      • Get Queue
      • Get Queue Detail
      • Webhook
      • Create Payment
      • Get Payment
  1. CHECKOUT/ DEEPLINK

Webhook

Enable Webhook

Once the payment is complete, Bill24 will push payment data to merchant system, requiring the implementation of a webhook on the merchant side.

NOTE

Merchant need to enable this feature in Bill24 portal

Parameters Repsonse

FieldTypeRemark
tran_idStringTransaction number at Bill24 side
tran_dateStringTransaction date
tran_amountDecimalOriginal amount of the transaction
fee_amountDecimalFee charge of the transaction
total_amountDecimalTotal paid amount
currencyStringCurrency code (ISO 4217)
identity_codeStringReference number at merchant side
bank_codeStringBank code at Bill24 side
bank_refStringReference number at bank side
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)
channel_codeStringPayment channel code (You can get channel code from GetBillerProfile function)
statusStringStatus of the transaction
descriptionStringDescription
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": "174952172035635",
    "tran_date": "2023-05-10T15:47:12.890062",
    "tran_amount": 50000.00,
	"fee_amount": 500.00,
	"total_amount": 50500.00,
	"currency": "KHR",
	"identity_code": "234000545",
	"bank_code": "AMK",
	"bank_ref": "FT1234567890",
	"purpose_of_transaction": "INV23001",
    "device_code": "T1",
    "channel_code": "001",
	"status": "success",
	"description": "",
    "customers": [
        {
            "branch_code": "BRANCH-PP",
            "branch_name": "Phnom Penh Branch",
            "customer_code": "12340001",
            "customer_name": "ជា សំណាង",
            "customer_name_latin": "CHEA Samnang",
            "bill_no": "INV23001",
            "amount": 50000.00
        }
    ]
}
Modified at 2024-01-17 04:50:58
Previous
Overview
Next
Full Example