v2
latestOpenAPI 3.0.12026-07-2693281951.6 KBNotifications
Create Event Subscription
Used to subscribe to notifications relating to a specified event type.
post/notifications/event-subscriptions
Headers
sub-applicationstring uuid
The sub-application ID to which event type is being subscribed to
Request body
Example request
{
"eventTypeId": "payment.status.completed",
"notification": {
"type": "WEBHOOK",
"url": "https://httpbin.com/new_endpoint"
}
}Response
Event subscription created successfully
Example response
{
"data": {
"eventTypeId": "payment.status.completed",
"applicationId": "2698db90-6635-4f76-b673-5ce8e2aeda0e",
"created": "28-07-2021 15:47:03",
"notification": {
"type": "WEBHOOK",
"url": "https://httpbin.com/new_endpoint"
}
}
}