Issue a reward
Rewards
Issue a reward
POST
Issue a reward
Issue a FLY reward from your app’s wallet to a member. The transfer is
immediate and credited straight to the member’s wallet.
Auth: API key in
X-API-Key. The key must carry the write:rewards scope, and
your app’s wallet must hold enough FLY to cover the amount.
Example
Response
201 on a new reward; 200 on an idempotent replay.
| Field | Type | Notes |
|---|---|---|
id | UUID | The reward id. |
amount.value | string | FLY in wei (18-decimal). Send and read it as a string. |
idempotency_key | string | Replaying it returns the existing reward, not a new one. |
Tasting note —
amount.value is FLY wei as a string: a 1 FLY reward is
"1000000000000000000". Your app’s wallet must hold enough FLY; an insufficient
balance is rejected, so top up before issuing.