{
"type": "price_trigger_swap.created",
"id": "A3QBMX-O6RLF-UTVGNA",
"client_order_id": "CLIENT-ORDER-EXAMPLE",
"user_id": "AA55 N84G QOIR A67A",
"timestamp": "2025-01-01T00:00:01+00:00",
"requested": {
"trade": {
"from": {
"symbol": "USD",
"amount": "100.00"
},
"to": {
"symbol": "BTC"
}
},
"when": {
"base": {
"symbol": "BTC"
},
"quote": {
"symbol": "USD"
},
"drops_to": "50000.00"
}
}
}Webhooks
Price trigger swap created
A price-trigger swap was created and is waiting for its price condition.
WEBHOOK
price_trigger_swap.created
{
"type": "price_trigger_swap.created",
"id": "A3QBMX-O6RLF-UTVGNA",
"client_order_id": "CLIENT-ORDER-EXAMPLE",
"user_id": "AA55 N84G QOIR A67A",
"timestamp": "2025-01-01T00:00:01+00:00",
"requested": {
"trade": {
"from": {
"symbol": "USD",
"amount": "100.00"
},
"to": {
"symbol": "BTC"
}
},
"when": {
"base": {
"symbol": "BTC"
},
"quote": {
"symbol": "USD"
},
"drops_to": "50000.00"
}
}
}Body
application/json
Payload delivered for the price_trigger_swap.created webhook event.
Webhook event identifier.
Allowed value:
"price_trigger_swap.created"Scheduled-action / price-trigger-swap identifier.
Globally unique public identifier for a user.
Required string length:
14 - 42Time at which the lifecycle transition occurred.
Requested trade and trigger condition for a price-trigger swap.
Show child attributes
Show child attributes
Partner-supplied order identifier.
Response
2XX
Delivery endpoint accepted the webhook.