API Reference
Clients can use the Notification API to send notifications to end-users using different channels.
Notifications API
The Notifications API is used to send notifications to end-users via different channels.
The notification API may be used by clients to send notifications to their customers using different channels
The unique identifier for the intended recipient (or target/destination) of the notification message. If the channel is SMS then the identifier should be a MSISDN in international format, no leading zeros or + symbol.
2341234567899Pattern: ^[0-9]*$The platform through which the message will be delivered to the end user, currently on the SMS channel is available
6The notification message
MSG testUnique reference to the transaction the notification is linked to.
seo8w3-3wsf8c-ffdd34-f58lUnique reference generated by the client for the notification, i.e. UUID format
1111-2222-3333-1230This is your unique client ID assigned by Clickatell during the integration process
200The unique identifier for the source, as recognized by the bank. This is typically the mobile phone number (MSISDN) but can be another unique identifier recognised by the bank.
2341234567899Successful response
Error response
POST /apiman-gateway/PaydServices/notification-api/1.0 HTTP/1.1
Host: api-uat.payd.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 241
{
"channelRouteId": "text",
"destinationIdentifier": "2341234567899",
"channelId": 6,
"message": "MSG test",
"transactionRef": "seo8w3-3wsf8c-ffdd34-f58l",
"clientNotificationRef": "1111-2222-3333-1230",
"clientId": 200,
"sourceIdentifier": "2341234567899"
}[
{
"notificationRef": "45148314459c49669292ffdc7194520a"
}
]Last updated