Examples
Queries
#
Fetch account details and wallet balances (requires a valid auth token):
Response:
Balances are returned in the wallet's minor unit: cents for USD wallets, satoshis for BTC wallets. You can also fetch the current BTC price without authentication via realtimePrice(currency: "USD").
Mutations
#
Create a Lightning invoice on one of your wallets (amount in satoshis):
Response:
Use the test environment (api.test.flashapp.me) while developing — see the full API reference for every available query, mutation, and subscription.
Previous
API Keys
Next
Error Handling
