curl --location --request POST '/api/v1/merchants/webhooks' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "https://webhook.site/edda5cd4-db7e-4c70-9166-7c90d4691fc9"
}'{
"data": {
"id": "4122e5bf-672b-4869-9e2c-fb3fe73e4354",
"merchant_id": "7bb54443-6fc9-4a1d-ab46-d787ec90c87f",
"url": "https://webhook.site/edda5cd4-db7e-4c70-9166-7c90d4691fc9",
"secret": "ego6aMT8ak0APMmLC8oNTBx1sQexFXacVYSH5qpn4RM",
"is_active": true,
"timeout_seconds": 45,
"last_triggered_at": null,
"failure_count": 0,
"created_at": "2025-11-19T16:09:01.776802+01:00",
"updated_at": "2025-11-19T16:09:01.776802+01:00"
},
"message": "Webhook created successfully",
"status": "success"
}