Get your wallet balance
Rewards
Get your wallet balance
GET
Get your wallet balance
Returns your app’s own FLY wallet balance — the wallet that
POST /issue_reward draws from — alongside its
USD equivalent. Check it before issuing rewards to make sure the wallet is
funded.
Auth: API key in X-API-Key. The key must carry the read:balance scope.
Example
Response
Tasting note —
balance.value is a big-integer string in FLY’s smallest
unit. Parse it with a big-integer type, never a float, or you will silently
lose precision. balance_usd.value is integer cents (250 = $2.50).| Field | Type | Notes |
|---|---|---|
balance | object | FLY balance: value (smallest-unit big-integer string) and currency. |
balance_usd | object | USD equivalent: value (integer cents) and currency. |
owner_id | UUID | The owning wallet — your flynet_merchant_id. |
owner_type | string | flynet_merchant for an app wallet. |