curl "https://api.unipay.com/v1/webhooks" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"webhooks": [
{
"webhookId": "wh_123",
"url": "https://your-app.com/webhooks",
"events": ["transaction.completed"],
"createdAt": "2026-04-22T12:00:00Z"
}
]
}
Get all registered webhooks
curl "https://api.unipay.com/v1/webhooks" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"webhooks": [
{
"webhookId": "wh_123",
"url": "https://your-app.com/webhooks",
"events": ["transaction.completed"],
"createdAt": "2026-04-22T12:00:00Z"
}
]
}
curl "https://api.unipay.com/v1/webhooks" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"webhooks": [
{
"webhookId": "wh_123",
"url": "https://your-app.com/webhooks",
"events": ["transaction.completed"],
"createdAt": "2026-04-22T12:00:00Z"
}
]
}