{
"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
Shared partner payload for price-trigger-swap lifecycle webhooks.
Price-trigger-swap id.
Public id of the user the swap belongs to.
RFC3339 UTC time of the lifecycle transition.
Event type discriminator.
Available options:
price_trigger_swap.executed Trade and trigger condition originally requested.
Show child attributes
Show child attributes
Partner-supplied order id, when provided at creation.
Realized fill details for a successful price-trigger-swap execution.
Show child attributes
Show child attributes
Response
2XX
Return any 2xx status to acknowledge receipt.