curl --request GET \
--url https://api.yapily.com/webhook/events/categories \
--header 'Authorization: Basic <encoded-value>'{
"metadata": {
"tracingId": "f2425b79-974d-43f8-a5a2-ec771b2d9297"
},
"data": {
"categories": [
{
"name": "payment.state.success",
"description": "An event sent when payment reaches a terminal successful status"
},
{
"name": "payment.state.failed",
"description": "An event sent when payment reaches a terminal failed status"
}
]
}
}Retrieve a comprehensive list of event categories that can be registered for webhook notifications in your application. These event categories can be used to subscribe a webhook to specific events, enabling your application to receive real-time notifications when these events occur.
curl --request GET \
--url https://api.yapily.com/webhook/events/categories \
--header 'Authorization: Basic <encoded-value>'{
"metadata": {
"tracingId": "f2425b79-974d-43f8-a5a2-ec771b2d9297"
},
"data": {
"categories": [
{
"name": "payment.state.success",
"description": "An event sent when payment reaches a terminal successful status"
},
{
"name": "payment.state.failed",
"description": "An event sent when payment reaches a terminal failed status"
}
]
}
}Use HTTP Basic Authentication with your Application ID as username and Application Secret as password. Manage credentials in the Yapily Console. See Authentication for details.
Was this page helpful?