> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lightspark.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Rewards

![Rewards hero](https://mintcdn.com/ramps/hc9AVHNgWd4BcukA/images/heroes/hero-rewards.jpg?fit=max\&auto=format\&n=hc9AVHNgWd4BcukA\&q=85\&s=f922eee18042147fc56b91d2f6ed77ca)

With Grid, you can send instant Bitcoin rewards to your **users' self-custody wallets** worldwide through a single, simple API. Grid automatically handles the entire process, managing the fiat-to-crypto conversion, compliance checks, and instant delivery for you.

![](https://docs.lightspark.com/images/icons/lightning.svg)

Buy & Send in One Call

The Grid API combines USD-to-BTC conversion and payout into a single, atomic operation, simplifying the process of distributing rewards.

![](https://docs.lightspark.com/images/icons/shield.svg)

No Crypto Handling

Grid converts your platform's fiat balance into Bitcoin on demand, allowing you to offer crypto rewards without managing digital asset custody or complex exchange integrations.

![](https://docs.lightspark.com/images/icons/paper-plane-top-right.svg)

Instant Delivery

Delivers Bitcoin to your users' wallets in seconds (like a Spark wallet) giving them immediate ownership and control.

***

## Rewards Payout Flow

**1. Funding**

Your platform's internal account is pre-funded with fiat currency (e.g., USD) via standard payment rails like ACH push.

**2. Customer Onboarding**

For rewards, the only entity who needs to be KYB'd is the entity paying for the reward. This can be you, the platform, or
your business customers that want to pay out rewards to their end users.

**3. Quote & Execution**

You execute a single API call to create a quote, instantly convert a specific USD amount to BTC at the current market rate, and transfer the Bitcoin to the user's wallet address.

***

## Grid Features

Users interact with Grid through two main interfaces:

> [tab] API
>
> Programmatic access to onboard customers, fund your platform account, get quotes for Bitcoin purchases, and execute reward payouts. Reconcile all activity with real-time webhooks.

> [tab] Dashboard
>
> Your development and operations team can use the dashboard to monitor balances and transactions, manage API keys and environments, and troubleshoot with detailed logs.

### Onboarding Customers

For rewards with Grid, the only entity who needs to be KYB'd is the entity paying for the reward. This can be you, the platform, or
your business customers that want to pay out rewards to their end users.
All you need in order to pay out a reward is the wallet address.
No need to collect extra personal information or go through the full hosted KYC flow for end users!
To generate a spark wallet, you can use a tool like [Privy](https://privy.io) or the Spark SDK directly.

If you do have business customers that want to pay out rewards to their end users, you can onboard that business customer
via the hosted KYB link flow.

### Funding Your Platform Account

Grid operates on a pre-funded model. You can fund your internal platform account using several payment rails such as ACH, wire transfers, Lightning, and more. This stored balance is then used to instantly purchase and send Bitcoin rewards to your customers.

### Sending Rewards

To send a reward with Grid, you create and execute a quote. The API call specifies your funded internal account as the source and the customer's Bitcoin wallet address as the destination. Grid handles the USD-to-BTC conversion and instant delivery to the receiving wallet, notifying you of the completed transfer via webhook.

### Environments

> [!NOTE]
>
> Grid supports two environments: **Sandbox** and **Production**.
>
> The Sandbox mirrors production behavior, allowing you to test the full end-to-end flow—from funding a test account and onboarding a mock customer to sending a simulated Bitcoin reward—without moving real funds.
>
> The Production environment uses live credentials and base URLs for real transactions once you're ready to launch.

***

![](https://docs.lightspark.com/images/icons/light-bulb.svg)

Get Started

Ready to integrate Grid? Check out our quickstart guide.

[Open](https://docs.lightspark.com/rewards/quickstart)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.