Event Subscriptions and Callbacks
Through Webhooks, Real200 can send notifications to your server when specific events occur.
Supported Eventsâ
| Event Type | Description |
|---|---|
balance.low | Balance below threshold |
quota.exceeded | Key quota exhausted |
risk.alert | Risk control alert |
channel.down | Channel unavailable |
Configuration Stepsâ
- Go to Console Settings â Webhooks
- Click Add Webhook
- Fill in callback URL
- Select event types to subscribe to
- Save and test
Callback Formatâ
{
"event": "balance.low",
"timestamp": "2026-05-21T10:30:00Z",
"data": {
"balance": 50.00,
"threshold": 100.00,
"currency": "CNY"
}
}
Security Verificationâ
Webhook callbacks include a signature header. It's recommended to verify the signature to ensure the source is trusted:
X-Real200-Signature: sha256=...