Skip to main content
PUT
/
api
/
external
/
webhook
/
{businessWebhook}
Update webhook URL
curl --request PUT \
  --url https://api-prod.blaaiz.com/api/external/webhook/{businessWebhook} \
  --header 'Content-Type: application/json' \
  --header 'x-blaaiz-api-key: <api-key>' \
  --data '
{
  "collection_url": "https://yourapp.com/webhooks/collection",
  "payout_url": "https://yourapp.com/webhooks/payout"
}
'
{
  "message": "Webhook record updated successfully"
}

Authorizations

x-blaaiz-api-key
string
header
required

Path Parameters

businessWebhook
string
required

Webhook ID or reference to update.

Body

application/json
collection_url
string<uri>

Collection webhook URL

payout_url
string<uri>

Payout webhook URL

Response

Webhook record updated successfully

message
string
required