Wallet balance alertWebhook

Webhook event notification request.

event_name value: wallet-balance-alert

This request is sent to registered webhook event handlers after
A publisher's wallet balance drops below their preset thresholds

The Request body described below is the message property in the event notification request data. For more information about event notification requests, visit Webhooks.

Securitytilia_auth
Request
Request Body schema: application/json
balance
integer

The current wallet balance.

critical
boolean

Was this alert triggered by passing the critical threshold?

description
string

A description of the wallet.

wallet_id
string <= 36 characters

Wallet ID that triggered the alert.

warning
boolean

Was this alert triggered by passing the warning threshold?

Responses
2XX

Return a 2XX status to indicate that the data was received successfully

Request samples
application/json
{
  • "balance": 1000,
  • "critical": true,
  • "description": "Registration USD wallet.",
  • "wallet_id": "wal_2V2cKKqYoaj018K0EXBauwcurbd",
  • "warning": false
}