Skip to main content

Create Webhooks

The webhook you set while creating your account is the default webhook for all webhook events. However, you can create a webhook for specific events.

Sample Request
curl https://api.allawee.com/webhooks
-H "Authorization: Bearer YOUR_SECRET_KEY"
-H "Content-Type: application/json"
-d '{
"name": "string",
"events": [
"card.authorization.request"
],
"apiVersion": "2023-02-01",
"description": "string",
"url": "string",
"signingKey": "string",
"metadata": {}
}'
-X POST
Request Body ParameterRequired?Description
nameYesThe name of the webhook.
eventsYesThe events that the webhook should be called for,
apiVersionNoThe api version the webhook is for.
descriptionNoA description of the webhook.
urlYesThe webhook url.
signingKeyNoThis is the key Allawee will send in requests to help you verify that it is from Allawee.
metadataNoAny data you wish to associate with the webhook.