Skip to main content

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.

End-to-end verification

Follow this sequence to verify your integration:
1

Generate a key pair

Use the instructions in Key Generation.
2

Register the merchant

Provide your public key to Blink (Merchant Registration).
3

Configure your signer

Set the private key and merchant ID on your signer endpoint.
4

Launch the deposit flow

Call requestDeposit() from your app.
5

Complete a test payment

Walk through the hosted flow iframe to complete a payment.
6

Verify the result

The DepositResult should contain a transfer.id and transfer.status.

Debug mode

Enable debug logging to trace the full SDK lifecycle during development:
const deposit = new Deposit({
  signer: '/api/sign-payment',
  debug: true,
});
This logs signer calls, iframe state transitions, postMessage events, and errors to console.debug with the [BlinkDeposit] prefix.