Webhooks

Receive notifications when an order or settlement changes the status.

Setting up Webhooks

Webhooks must be set in the Integration page of Beta's Dashboard.

Webhook Events:

  • Order.created

  • Order.confirmed

  • Order.cancelled

  • Settlement.created

  • Settlement.confirmed

  • Settlement.cancelled

Webhook example:

For Orders:

order.created, order.confirmed and order cancelled:
{
 "id": "callback_uuid",
 "event": "order.confirmed",
 "account_id": "string",
 "data": {
  "order_id": "string",
  "created_at": "string",
  "updated_at": "string",
  "description": "string",
  "recipient_email": "string",
  "status": "string",
  "target_amount": 0,
  "target_asset": "string",
  "valid_until": "string",
  "message": "string",
 }
}

For Settlement:

Last updated