All webhook events are sent as JSON, and share the same general structure as described in the following table:
Key | Type | Description |
---|---|---|
id | String (UUID v4) | Unique identifier for the event. Retries for the same events will share the same uuid . |
time | String (ISO-8601 timestamp) | Timestamp for when the event has occurred. |
event | String | Event that occurred. See Webhook events for a list of possible events. |
context | Object | Context for this event. Structure is defined by the event as described in Webhook events . |
Webhook payload example:
{
"id": "bd21c0e7-ddb6-4f8e-9367-a6ca00eca25c",
"time": "2017-09-14T09:07:11.335Z",
"event": "identification-attempt.approved",
"context": {
"traderId": "420"
}
}