Authentication
Register with a phone number or log in with your existing Blink account on the Blink dashboard at dashboard.blink.sv
Use the same credentials as with the Blink wallet app
Create an API key
- Select API Keys in the menu on the left
- Create an API key with the
+
button
Scopes
Read
- Allows queries returning user info, wallet balance, transaction history and other features.
Receive
- Allows to create invoices and generate onchain addresses.
- Note that there are methods to create invoices without authentication with a stricter rate limiting applied.
Write
- Allows to send payments and modify user data.
- For security avoid using the
Write
scope in third party servers as much as possible.
Saving the key
- Copy the API key and save it securely as a password.
- The BTCPay connection strings contain the same API key togethet with the ID of the chosen wallet in the format ready to be pasted in the BTCPay Server interface.
Usage
- Try the interactive API tutorial on the next pages
- The API endpoint is
https://api.blink.sv/graphql
- For your custom requests set the API key in the header as:
"X-API-KEY" "blink_..."
- Open the same URL for the GraphQL Playground: api.blink.sv/graphql
- Check out the Galoy API Postman collection
Create a new account in the dashboard
-
Open the Blink Dashboard
-
Click the
Sign in with Blink button
-
Click the
Register Here
link to create a new account using a phone number: -
Create a new account on the next page:
-
There will be a captcha presented before sending a message to a phone number (there is no captcha when using an email to request the code):
-
Use the code from the SMS / Whatsapp or email (and your 2FA code is set) to complete the process
-
When the registration (or the log in) is completed you will find the Blink Dashboard with access to the wallet info, transaction history, API keys and other features.
Staging environment
For testing and development connect to the Blink Staging environment.
New registrations to the staging environment are currently limited. Please contact us on our Community Mattermost Server on chat.galoy.io to request access.
- Staging Dashboard: dashboard.staging.blink.sv
- Staging GraphQL playground and API endpoint: api.staging.blink.sv/graphql