Dashboard
Webhookspayment-request.completed Webhook Event | BotSubscription

payment-request.completed

The payment-request.completed event is fired automatically when a checkout or payment request is successfully settled.

  • Fires When: A customer successfully pays a checkout or payment request (e.g., purchasing a plan, topping up a balance, or other payment flows).

Payload Field Reference

The event data contains the following fields inside the nested data object:

FieldTypeDescription
payment_request_idstringThe unique ID of the payment request that completed.
project_idstringThe project ID that contains this payment. Duplicates the X-Project-ID header.
amountstringThe payment net amount in standard currency units (e.g., '19.99' for $19.99, or '0.005' for 0.005 BTC).
currencystringISO 4217 currency code (e.g., 'USD', 'EUR') or cryptocurrency symbol (e.g., 'BTC', 'USDT').
settled_atstring | nullISO 8601 UTC timestamp of settlement, when known.

Full Example Envelope

{
  "id": "8c2b1a4f-9e3d-4a5b-bc12-3d4e5f6a7b8c",
  "event": "payment-request.completed",
  "created_at": "2026-05-25T10:00:00.000Z",
  "schema_version": "v1",
  "data": {
    "payment_request_id": "7a356073-61e8-466d-8c17-f58c7042a975",
    "project_id": "93425026-6bb8-4f81-a75d-63f538e1a123",
    "amount": "19.99",
    "currency": "USD",
    "settled_at": "2026-05-25T09:59:58.412Z"
  }
}

Next Steps

Last updated: