Skip to main content
Triggered when a Buy or Sell order is created on the exchange. Delivered to the order owner’s organisation.
{
  "webhook_event": "order.created",
  "order": {
    "_id": "<orderId>",
    "type": "Buy | Sell",
    "amount": "<number>",
    "price": "<number>",
    "user": "<userId>",
    "token": "<tokenId>",
    "currency": "<string>",
    "owner_model": "user | organisation | api_key",
    "version": "2",
    "status": "PENDING | FULFILLED | TERMINATED | ...",
    "customer": "<apiCustomerId?>",
    "api_customer_email": "<string?>",
    "meta": { "...": "..." },
    "createdAt": "<ISO>",
    "updatedAt": "<ISO>"
  }
}