Skip to main content
Mainnet testing is the recommended way to verify your integration: complete a real deposit with a small amount of real funds. A testnet sandbox is available for development without real funds, but it supports a limited set of networks and is significantly slower than mainnet.

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.