Synchronous API - Unlike other payment endpoints, rewards are delivered instantly. The API response confirms success or failure immediately - no callbacks needed.
Configuration
Header Parameters
Your ZBD Project API Key
Content Type (must be application/json)
Body Parameters
Reward amount in millisatoshis (1 sat = 1000 msats)Common amounts:
"1000"
= 1 satoshi (~$0.0005)"100000"
= 100 sats (~$0.05)"1000000"
= 1,000 sats (~$0.50)"10000000"
= 10,000 sats (~$5.00)
The recipient’s ZBD Gamertag (case-insensitive)Examples:
"player123"
, "bitcoingamer"
, "speedrunner42"
Message shown to the recipient (max 150 characters)Best practices:
- Be specific: “Level 10 achievement unlocked!”
- Add emojis: “Great job! 🎯”
- Include context: “Tournament prize - 3rd place”
Error Responses
Response Fields
Field | Type | Description |
---|---|---|
id | string | Unique payment ID |
status | string | Always “settled” for successful payments |
transactionId | string | ZBD transaction ID for tracking |
receiverId | string | Recipient’s ZBD User ID |
amount | string | Amount sent in millisatoshis |
comment | string | Your description as seen by recipient |
settledAt | string | ISO 8601 timestamp of delivery |
Common Patterns
Reward with Limits
Try It Out
Ready to send your first reward? Use our API playground on the right to test with your API key.Instant Delivery - Rewards appear in the user’s ZBD App immediately. They’ll get a push notification if they have the app installed!