Skip to main content
POST
/
webhooks
/
payward
/
events
curl --request POST \
  --url https://your-webhook-endpoint.com/webhooks/payward/events \
  --header 'Content-Type: <content-type>' \
  --header 'X-Signature: <x-signature>' \
  --header 'X-Webhook-Event: <x-webhook-event>' \
  --header 'X-Webhook-ID: <x-webhook-id>' \
  --data '
{
  "event_type": "custom_order.executed",
  "iiban": "AA00 TEST EXAM PLE1",
  "id": "AEGXGV-JZ4I2-6QXEJS",
  "timestamp": "2025-01-15T10:30:00.000000000Z",
  "action": {
    "amount": {
      "asset": "USD",
      "amount": "100.00",
      "asset_class": "currency"
    },
    "quote": {
      "asset": "BTC"
    },
    "type": "spend"
  },
  "trigger": {
    "type": "price",
    "base_asset": "BTC",
    "quote_asset": "USD",
    "target_price": "50000.00",
    "condition": "lte"
  }
}
'

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.

Headers

X-Signature
string
required

Timestamped HMAC-SHA256 signature in the format t={timestamp},v1={signature}. Use this to verify the webhook authenticity and prevent replay attacks.

Example:

"t=1734567890,v1=5f2b3c4d1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d"

X-Webhook-Event
string
required

The type of event that triggered this webhook.

Example:

"quote.executed"

X-Webhook-ID
string
required

The ID of the webhook configuration that received this event.

Example:

"WHTEST-XXXXX-EXAMPLE"

Content-Type
enum<string>
required
Available options:
application/json

Body

application/json

Sent when a custom order has been successfully executed. The order's trade action was triggered by the configured price condition and completed without error.

event_type
enum<string>
required

The event type identifier.

Available options:
custom_order.executed
Example:

"custom_order.executed"

iiban
string
required

The Internet International Bank Account Number (IIBAN) of the user whose custom order was executed.

Example:

"AA00 TEST EXAM PLE1"

id
string
required

The unique identifier of the custom order (scheduled action ID).

Example:

"AEGXGV-JZ4I2-6QXEJS"

timestamp
string<date-time>
required

The timestamp when the order was executed (ISO-8601 format).

Example:

"2025-01-15T10:30:00.000000000Z"

action
object
required

The trade action configured for the custom order.

trigger
object
required

The price trigger that initiated the custom order execution.

Response

Webhook received and processed successfully. Return any 2xx status code to acknowledge receipt.