Beyond sending rewards, these utility endpoints help you build robust integrations with user validation, payment requests, and identity management.

Developer Tools - These APIs handle the edge cases and user management tasks that make your rewards system production-ready.

Available Utilities

User Lookups

Convert between gamertags and permanent User IDs

Validation

Verify gamertags exist before sending rewards

Identity Management

Handle user changes and persistent tracking

Payment Requests

Create Lightning charges for user-initiated payments

Why These Matter

Prevent Failed Rewards

// ❌ Bad: Send and hope
try {
  await sendReward({ gamertag: userInput, amount: 1000 });
} catch (error) {
  // Reward failed, bad user experience
}

// ✅ Good: Validate first
const userId = await getUserIdByGamertag(userInput);
if (userId) {
  await sendReward({ gamertag: userInput, amount: 1000 });
  // Success guaranteed
} else {
  showError("Invalid gamertag. Please check and try again.");
}

Track Users Properly

Gamertags Can Change

// Monday: User is "bitcoinlover"
database.save({ gamertag: "bitcoinlover", totalEarned: 5000 });

// Tuesday: User changes to "cryptoking"  
database.save({ gamertag: "cryptoking", totalEarned: 1000 });

// Now you have duplicate records! 😱

Utility Endpoints

Explore each utility API:

Get Started

Ready to build production-ready rewards features?

View Full API Reference

Start Sending Rewards - Check out the complete API documentation with all endpoints and examples.


Coming Soon: Bulk operations API, gamertag search endpoint, and social graph features. Let us know what utilities would help your integration!