Trade Webhooks
Event Types
| Event Type | Category | Description |
|---|---|---|
trade_transaction_created | trade | A new trade has been created |
trade_transaction_status_updated | trade | The status of a trade has changed |
Details Schema
| Field | Type | Description |
|---|---|---|
transactionId | string | Trade identifier (UUID) |
product | string | The product traded, in BASE-QUOTE form (e.g. BTC-USD) |
type | string | Order type: market |
side | string | buy or sell |
status | string | The trade's status: pending, success or failed |
previousStatus | string | The status before this change, on trade_transaction_status_updated. Omitted when there is none |
quantity | string | Quantity, as a decimal string |
quantityCurrency | string | Currency of quantity |
quoteQuantity | string | Quote quantity, as a decimal string |
quoteCurrency | string | Currency of quoteQuantity |
rate | string | Rate, as a decimal string |
Webhook Samples
Trade Transaction Created
{
"webhookId": "00000000-0000-0000-0000-000000000000",
"type": "trade_transaction_created",
"accountId": "00000000-0000-0000-0000-000000000000",
"timestamp": "2025-01-01T00:00:00Z",
"details": {
"transactionId": "00000000-0000-0000-0000-000000000000",
"product": "BTC-USD",
"type": "market",
"side": "buy",
"status": "pending",
"quantity": "0.001",
"quantityCurrency": "BTC",
"quoteQuantity": "100",
"quoteCurrency": "USD",
"rate": "100000"
},
"systemNotes": "Do not rely solely on this webhook for final state. Always verify the current status via the API to ensure consistency. Consult the developer documentation and guides for more information."
}
Trade Transaction Status Updated
{
"webhookId": "00000000-0000-0000-0000-000000000000",
"type": "trade_transaction_status_updated",
"accountId": "00000000-0000-0000-0000-000000000000",
"timestamp": "2025-01-01T00:00:00Z",
"details": {
"transactionId": "00000000-0000-0000-0000-000000000000",
"product": "BTC-USD",
"type": "market",
"side": "buy",
"status": "success",
"previousStatus": "pending",
"quantity": "0.001",
"quantityCurrency": "BTC",
"quoteQuantity": "100",
"quoteCurrency": "USD",
"rate": "100000"
},
"systemNotes": "Do not rely solely on this webhook for final state. Always verify the current status via the API to ensure consistency. Consult the developer documentation and guides for more information."
}
Support and Resources
If you need assistance or have any questions, our support team is here to help. You can contact our support team at support@blockwyre.com.
Stay Updated
Stay up-to-date with the latest news, updates, and features from BlockWyre by following us on social media:
- Instagram: BlockWyre Instagram
- Twitter: BlockWyre Twitter
- Facebook: BlockWyre Facebook
- LinkedIn: BlockWyre LinkedIn
We are excited to have you on board and look forward to seeing how you leverage BlockWyre's powerful tools to enhance your financial operations. Happy integrating!