Vesicash API V1
Search…
Custom Notifications
By default, our system would send notification to customers in every transaction. However, we understand that some platforms would prefer to send their own custom notifications and of course, we've got this covered too. Custom Notifications We have also made it easy for businesses to customize the emails notifications that their clients receive using the endpoint below:
post
https://api.vesicash.com/v1/
notifications/email/send/custom
send custom notification
For instance: you can a make a post request to the endpoint above and pass in the json data below to send custom transaction notifications.
1
{
2
"transaction_id": "6oXRUmQJiHEaF2eqR0Uz",
3
"notification_type": "welcome",
4
"content_for_sender": {
5
"subject": "Custom Notification Test",
6
"content": "<b>[transaction_id] ([transaction_title]) has been paid for 2pm</b>"
7
},
8
"content_for_buyer": {
9
"subject": "Custom Notification Test",
10
"content": "<b>Custom Message</b>"
11
},
12
"content_for_recipient": {
13
"subject": "Custom Notification Test",
14
"content": "<b>Custom Message</b>"
15
},
16
"content_for_seller": {
17
"subject": "Custom Notification Test",
18
"content": "<b>Custom Message</b>"
19
},
20
"content_for_business": {
21
"subject": "Custom Notification Test",
22
"content": "<b>Custom Message</b>"
23
}
24
}
Copied!
To access this functionality, kindly email [email protected]
Last modified 1yr ago