cURL
curl --request POST \ --url https://api-sandbox.superbank.com/v1/webhooks \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data ' { "url": "https://your-app.com/webhooks/superbank", "events": [ "payment.created", "payment.updated" ] } '
{}
Create a new webhook endpoint to receive payment event notifications.
HTTPS URL to receive webhook notifications
"https://your-app.com/webhooks/superbank"
Event types to subscribe to
account.created
account.updated
payment.created
payment.updated
["payment.created", "payment.updated"]
Webhook endpoint created successfully
The response is of type object.
object