cURL
Webhook-Settings
/api/partner/v2/webhook-settings
PUT
cURL
Updates the webhook URL where your partner account receives event notifications. To disable webhook delivery, send
null as the url value.
For details on webhook payloads and HMAC validation, see the Webhooks Guide.
Use Cases
- Set a webhook URL: Start receiving notifications for transaction status changes and KYC events.
- Update the URL: Point notifications to a new server after a migration.
- Disable webhooks: Send
url: nullto stop receiving notifications.
Error Codes
Common Errors
| HTTP Status | Code | Message |
|---|---|---|
| 401 | UNAUTHORIZED | ”API Key is missing” |
| 401 | UNAUTHORIZED | ”Invalid API Key format” |
| 401 | UNAUTHORIZED | ”Invalid API Key” |
| 403 | INVALID_PARTNER_FLOW | ”The partner has an invalid flow.” |
Endpoint-Specific Errors
| HTTP Status | Code | Message |
|---|---|---|
| 400 | INVALID_USER_INPUT_ERROR | ”Invalid User Input” |
Headers
Api key for the affiliated partner that is performing the request
Body
application/json
the url where the webhook notifications will be sent to. To reset the value null can be sent in the body.
Example:
"https://some-webhook-endpoint.url"