{
"type": "transaction.swap",
"transaction_id": "TXEXAMPLE1234567",
"user_id": "AA55 N84G QOIR A67A",
"account_id": "WCQY T95Y CUL2 A7NX",
"timestamp": "2025-01-01T00:00:01+00:00",
"status": "successful",
"spend": {
"symbol": "USD",
"amount": "-10.00"
},
"receive": {
"symbol": "BTC",
"amount": "0.00015"
},
"details": {
"quote_id": "BQEXAMPLE1234567",
"trade_type": "convert"
}
}Webhooks
Swap transaction changed
A swap portfolio transaction was created or updated.
WEBHOOK
transaction.swap
{
"type": "transaction.swap",
"transaction_id": "TXEXAMPLE1234567",
"user_id": "AA55 N84G QOIR A67A",
"account_id": "WCQY T95Y CUL2 A7NX",
"timestamp": "2025-01-01T00:00:01+00:00",
"status": "successful",
"spend": {
"symbol": "USD",
"amount": "-10.00"
},
"receive": {
"symbol": "BTC",
"amount": "0.00015"
},
"details": {
"quote_id": "BQEXAMPLE1234567",
"trade_type": "convert"
}
}Body
application/json
Payload delivered for the transaction.swap webhook event.
Webhook event identifier.
Allowed value:
"transaction.swap"Public transaction identifier.
Globally unique public identifier for a user.
Required string length:
14 - 42Globally unique public identifier for an account.
Required string length:
14 - 42Time at which the event was observed.
Current public portfolio transaction status.
Available options:
uncategorized, in_progress, successful, failed Asset spent by this transaction.
Show child attributes
Show child attributes
Asset received by this transaction.
Show child attributes
Show child attributes
Swap-specific transaction details.
Show child attributes
Show child attributes
Response
2XX
Delivery endpoint accepted the webhook.