{
"type": "price_trigger_swap.executed",
"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"
}
},
"executed": {
"quote_id": "BQEXAMPLE1234567",
"from": {
"symbol": "USD",
"amount": "100.00"
},
"to": {
"symbol": "BTC",
"amount": "0.002"
},
"fee": {
"symbol": "USD",
"amount": "1.50"
},
"rate": {
"symbol": "USD",
"amount": "50000.00"
},
"executed_at": "2025-01-01T00:00:01+00:00"
}
}Webhooks
Price trigger swap executed
A price-trigger swap executed successfully after its price condition was met.
WEBHOOK
price_trigger_swap.executed
{
"type": "price_trigger_swap.executed",
"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"
}
},
"executed": {
"quote_id": "BQEXAMPLE1234567",
"from": {
"symbol": "USD",
"amount": "100.00"
},
"to": {
"symbol": "BTC",
"amount": "0.002"
},
"fee": {
"symbol": "USD",
"amount": "1.50"
},
"rate": {
"symbol": "USD",
"amount": "50000.00"
},
"executed_at": "2025-01-01T00:00:01+00:00"
}
}Body
application/json
Payload delivered for the price_trigger_swap.executed webhook event.
Webhook event identifier.
Allowed value:
"price_trigger_swap.executed"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.
Realized fill details for a successful scheduled swap occurrence.
Show child attributes
Show child attributes
Response
2XX
Delivery endpoint accepted the webhook.