Error responses for player.verify
What's new
Your game may now return a lenient flat error body — { status, code, message } — when it rejects a player.verify webhook. Aghanim reads message to surface a reason to the player and ignores unknown code values instead of failing.
Impact
You can tell players why verification failed (for example, banned or region-locked) by returning a message. Integrations that return only a success/failure status are unaffected.
Changes
| Resource | Change |
|---|---|
| player.verify | Added an optional error response body (status, code, message); unknown code values are ignored |
Upgrade
- No action required. Optionally return
{ "status": ..., "code": ..., "message": ... }on a failed verification to show a custom reason to the player.
需要技术支持?
联系我们的集成技术团队: [email protected]