Skip to main content
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.
Chef’s warning — rewards are irreversible. There is no refund once issued. The call is idempotent, though: replaying the same idempotency_key returns the reward you already issued instead of sending a second one, so retries are safe.

Example

Response

201 on a new reward; 200 on an idempotent replay.
FieldTypeNotes
idUUIDThe reward id.
amount.valuestringFLY in wei (18-decimal). Send and read it as a string.
idempotency_keystringReplaying it returns the existing reward, not a new one.
Tasting noteamount.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.