Access Your Project’s SDK Settings
- Go to dashboard.zbdpay.com
- Navigate to Projects
- Select your project
- Click the SDK tab
- Click the Controls sub-tab
If you see “No Rewards App found for this project”, contact ZBD support to enable Rewards for your project by adding your project ID to the database.
Create an API Key (Required)
To send rewards from your server, you need an API key for authentication.How to Create
- In the SDK tab → Controls sub-tab, find the API Key Control section
- Check the Status badge:
- 🔴 Disabled (red) with text “No active API key found” = No API key exists
- 🟢 Enabled (green) = API key is active
- Click “Create API Key” button
- Click the copy button next to the API key to copy it
- Save the API key in a secure place immediately (environment variables, secrets manager, etc.)
- Authenticating server-side reward sending requests
- Required for the Send Rewards API
Control Client-Side Sending (Recommended)
After creating your API key, you can disable client-side reward sending to enforce server-only rewards.Important: You must create an API key first before disabling client-side sending. Without an API key, disabling client-side means no rewards can be sent at all.
How to Disable Client-Side Sending
- In the SDK tab, find the Client Send Control section
- Check the Status badge:
- 🟢 Enabled (green) with text “Client sending is enabled” = Client can send rewards
- 🔴 Disabled (red) with text “Client sending is disabled” = Only server can send
- Click “Disable Client Send” button to block client-side rewards
- Blocks client SDK reward calls
- Only your server (with the API key) can send rewards
- Prevents client-side abuse
How to Enable Client-Side Again
If you need to allow client-side rewards:- In the Client Send Control section, click “Enable Client Send”
- Status will change to 🟢 Enabled (green)
- Both client SDK and server can send rewards again
Revoke an API Key
If your API key is compromised or no longer needed, revoke it immediately.How to Revoke
- In the SDK tab, find the API Key Control section
- Make sure the Status is 🟢 Enabled (green)
- Click “Revoke Key” button
- Confirm the action in the dialog
- The key is immediately deactivated
- Status changes to 🔴 Disabled (red) with “No active API key found”
- Server requests using this key will fail
- Create a new API key if you need to continue sending rewards
Next Steps
Now that you’ve created your API key and configured your settings, you’re ready to send rewards from your server:- Send Rewards from Server - Use your API key to send rewards securely