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
More
    CHECKOUT/ DEEPLINK
    Merchant ProxyBill24 HostedAuto Direct DebitKHQR Integration Specification for APINotification APIPayment Method
    CHECKOUT/ DEEPLINK
    More
    • Merchant Proxy
    • Bill24 Hosted
    • Auto Direct Debit
    • KHQR Integration Specification for API
    • Notification API
    • Payment 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

    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

    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
    Go
    PHP
    Python
    HTTP
    C
    C#
    Objective-C
    Ruby
    OCaml
    curl --location --request POST 'https://mock.apidog.com/m1/444561-0-default/webhook' \
    --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

    🟢200Success
    application/json
    Body

    Examples
    {
        "status": "Success",
        "message": "SUCCESS"
    }
    Modified at 5 months ago
    Previous
    Transaction Verification