curl -X POST 'https://crypto-api.yativo.com/api/webhook/create' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://your-app.com/webhooks/yativo",
"events": ["transaction.confirmed", "transaction.failed", "swap.completed"],
"description": "Production webhook for transaction events"
}'
{
"status": "success",
"message": "Webhook created successfully",
"data": {
"webhook_id": "wbh_01HX9KZMB3F7VNQP8R2WDGT4ET",
"url": "https://your-app.com/webhooks/yativo",
"events": ["transaction.confirmed", "transaction.failed", "swap.completed"],
"description": "Production webhook for transaction events",
"secret": "whsec_01HX9KZMB3F7VNQP8R2WDGT4EU",
"status": "active",
"created_at": "2026-03-26T12:00:00Z"
}
}
Register a webhook endpoint to receive real-time event notifications
curl -X POST 'https://crypto-api.yativo.com/api/webhook/create' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://your-app.com/webhooks/yativo",
"events": ["transaction.confirmed", "transaction.failed", "swap.completed"],
"description": "Production webhook for transaction events"
}'
{
"status": "success",
"message": "Webhook created successfully",
"data": {
"webhook_id": "wbh_01HX9KZMB3F7VNQP8R2WDGT4ET",
"url": "https://your-app.com/webhooks/yativo",
"events": ["transaction.confirmed", "transaction.failed", "swap.completed"],
"description": "Production webhook for transaction events",
"secret": "whsec_01HX9KZMB3F7VNQP8R2WDGT4EU",
"status": "active",
"created_at": "2026-03-26T12:00:00Z"
}
}
Bearer YOUR_ACCESS_TOKENtransaction.confirmedtransaction.failedswap.completedcard.transaction.completediban.activatedcurl -X POST 'https://crypto-api.yativo.com/api/webhook/create' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://your-app.com/webhooks/yativo",
"events": ["transaction.confirmed", "transaction.failed", "swap.completed"],
"description": "Production webhook for transaction events"
}'
{
"status": "success",
"message": "Webhook created successfully",
"data": {
"webhook_id": "wbh_01HX9KZMB3F7VNQP8R2WDGT4ET",
"url": "https://your-app.com/webhooks/yativo",
"events": ["transaction.confirmed", "transaction.failed", "swap.completed"],
"description": "Production webhook for transaction events",
"secret": "whsec_01HX9KZMB3F7VNQP8R2WDGT4EU",
"status": "active",
"created_at": "2026-03-26T12:00:00Z"
}
}