Register a new webhook endpoint to receive event notifications from Payward Embed.
When you register a webhook, you’ll receive a secret in the response. This secret
is base64-encoded and is used to verify webhook signatures. Store it securely —
it is only returned once and cannot be retrieved again.
Before registering a webhook, make sure your callback domain has been allowlisted.
You can optionally specify enabled and events at registration time, or configure
them later using the Update Webhook endpoint.
http, https, ftp, file, mailto, ssh, git, svn)// (indicates malformed URL)https://user:pass@example.com is rejected)https://example.com/webhookhttps://example.com:8443/webhookhttp://example.com/webhook (HTTP not allowed)https://https//example.com (malformed - host is “https”)https://user:pass@example.com/webhook (credentials not allowed)invalid-url (not a valid URL)curl --request POST \
--url https://nexus.kraken.com/b2b/webhooks \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://your-domain.com/webhooks/payward",
"enabled": true,
"events": [
"quote.executed"
]
}
'{
"result": {
"webhook": {
"id": "WHTEST-XXXXX-EXAMPLE",
"url": "https://your-domain.com/webhooks/payward",
"enabled": false,
"subscribed_events": [],
"available_events": [
"custom_order.executed",
"custom_order.execution_failed",
"custom_order.cancelled",
"quote.executed",
"quote.execution_failed",
"quote.cancelled",
"reward.paid",
"user.verified",
"user.closed",
"user.disabled",
"deposit.status_updated",
"withdrawal.status_updated"
],
"created_at": "2023-01-01T00:00:00Z",
"updated_at": "2023-01-01T00:00:00Z"
},
"secret": "dGVzdC1zZWNyZXQtcGxlYXNlLWlnbm9yZQ=="
}
}Documentation Index
Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The "API-Key" header should contain your API key.
Authenticated requests should be signed with the "API-Sign" header, using a signature generated with your private key, nonce, encoded payload, and URI path.
The target version of the Embed API to use. The API version name is based on the date when the API version was released. For example, the API version 2025-04-15 was released on April 15, 2025.
2025-04-15 The HTTPS URL where webhook events will be sent. This endpoint must be publicly accessible and respond to POST requests.
2048"https://your-domain.com/webhooks/payward"
Whether the webhook is enabled. Defaults to false. Disabled webhooks
will not receive any events until enabled.
true
List of event types to subscribe to. Defaults to [] (no events).
Use this to configure which events trigger webhook notifications.
50100^[a-zA-Z0-9._]+$["quote.executed"]Webhook registered successfully
Show child attributes
curl --request POST \
--url https://nexus.kraken.com/b2b/webhooks \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://your-domain.com/webhooks/payward",
"enabled": true,
"events": [
"quote.executed"
]
}
'{
"result": {
"webhook": {
"id": "WHTEST-XXXXX-EXAMPLE",
"url": "https://your-domain.com/webhooks/payward",
"enabled": false,
"subscribed_events": [],
"available_events": [
"custom_order.executed",
"custom_order.execution_failed",
"custom_order.cancelled",
"quote.executed",
"quote.execution_failed",
"quote.cancelled",
"reward.paid",
"user.verified",
"user.closed",
"user.disabled",
"deposit.status_updated",
"withdrawal.status_updated"
],
"created_at": "2023-01-01T00:00:00Z",
"updated_at": "2023-01-01T00:00:00Z"
},
"secret": "dGVzdC1zZWNyZXQtcGxlYXNlLWlnbm9yZQ=="
}
}