Use your API key to send rewards securely from your backend using the Earn API (v2).
Send rewards securely from your backend using the ZBD Earn API (v2). This method ensures all rewards are issued from a trusted environment, preventing client-side abuse and maintaining full control over reward distribution.Documentation Index
Fetch the complete documentation index at: https://docs.zbdpay.com/llms.txt
Use this file to discover all available pages before exploring further.
10 (units defined by your ZBD Customer Success Manager)| Code | Description |
|---|---|
201 | Reward sent successfully |
400 | Bad request – invalid parameters |
401 | Unauthorized – invalid or missing API key |
404 | Rewards user not found |
500 | Internal server error |
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the request was successful |
message | string | Response message |
data | array | Array containing transaction details |
transactionId | string | Unique transaction identifier |