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 APINotification API
Payment Method
CHECKOUT/ DEEPLINKMerchant ProxyBill24 HostedAuto Direct DebitKHQR Integration Specification for APINotification API
Payment Method
  1. Notification Channel
  • Notification API
    • Overview
    • Full Example
    • Authorization
      • Authorization
    • Notification Channel
      • SMS
        POST
      • Telegram
        POST
      • Email
        POST
  1. Notification Channel

Email

POST
https://merchantapi.bill24.io/notification/v1/notificationmessage/send

Configuring Notification Channels (Email)#

Before proceeding with the configuration, make sure you understand the fields that will change based on the notification channel (Email).

Request

Header Params

Body Params application/json

Example

[
  {
    "channels": [
      {
        "channel": "email",
        "to": "example@example.com",
        "metaData": {
          "retryOnFailure": true,
          "cc": "",
          "bcc": "",
          "attachments": "file url",
          "separateTo": false
        }
      }
    ],
    "subject": "OTP",
    "message": "Your code is 0092",
    "refId": "REF0092"
  }
]

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://merchantapi.bill24.io/notification/v1/notificationmessage/send' \
--header 'Authorization: "Bearer [token get from  Authorization]"' \
--header 'Content-Type:  "application/json"' \
--data-raw '[
  {
    "channels": [
      {
        "channel": "email",
        "to": "example@example.com",
        "metaData": {
          "retryOnFailure": true,
          "cc": "",
          "bcc": "",
          "attachments": "file url",
          "separateTo": false
        }
      }
    ],
    "subject": "OTP",
    "message": "Your code is 0092",
    "refId": "REF0092"
  }
]'

Responses

🟢200Success
application/json
Body

Example
{
    "code": "SUCCESS",
    "message": "Request success",
    "data": [
        {
            "notificationId": "3b65274a-17aa-45ab-9af3-e39432976c13",
            "status": 0,
            "exception": "",
            "channels": [
                {
                    "channel": "email",
                    "to": "example@example.com",
                    "metaData": {
                        "retryOnFailure": true,
                        "cc": "",
                        "bcc": "",
                        "attachments": "file url",
                        "separateTo": false
                    }
                }
            ],
            "subject": "OTP",
            "message": "Your code is 0092",
            "refId": "REF0092"
        }
    ]
}
🟠400Invalid input
🟠400Missing Field
Modified at 2025-03-10 11:38:09
Previous
Telegram