This guide gets you from zero to a working deposit flow. You will install the SDK, set up a minimal signer endpoint, and trigger your first transfer.Documentation Index
Fetch the complete documentation index at: https://docs.blink.cash/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- A Blink merchant account (
merchantIdand ECDSA P-256 key pair). See Key Generation and Merchant Registration if you don’t have these yet. - Node.js >= 18 for the signer endpoint.
Integrate with an AI agent
If you want an agent to scaffold this flow for you, use the AI Agent guide or paste this URL directly into Cursor, Claude Code, or your coding agent:1. Install the SDK
2. Create a signer endpoint
Add a server route that signs payment requests. This minimal Express example covers the essentials:See Build Your Signer Endpoint for the full implementation with validation, security, and a Python equivalent.
3. Trigger the transfer
What’s next
You now have a working deposit flow. To go to production:Generate a production key pair
Key Generation. Create ECDSA P-256 keys and store the private key in a secrets manager.
Register your merchant account
Merchant Registration. Send your public key to Blink.
Harden your signer
Signer Endpoint. Add request validation, authentication, rate limiting, and CORS.
Handle errors gracefully
Error Handling. Use
DepositError codes and getDisplayMessage() in your UI.Run the production checklist
Production Checklist. Verify every item before going live.