requestDeposit() request, errors, and result as the standard Deposit SDK integration. You only change how the hosted flow is presented and who owns the surrounding UI.
What the embedded presentation provides
Integration responsibilities
Follow Blink’s size
Add the embedded presentation fields to your standardDeposit configuration. Use the Deposit class so you can subscribe to its resize event.
embedMaxHeightPx defaults to 90% of the host viewport; pass an explicit value when your widget has a known height limit.
Blink currently reports:
preferredWidthPx: 440minWidthPx: 320heightPx: the current rendered content height
resize event arrives. The active Blink flow must receive at least minWidthPx; otherwise fixed-width content can overflow.
Make sure parent containers do not prevent the panel from expanding:
Match your appearance
Your CSS controls the outer panel. Useappearance to theme the cross-origin Blink UI inside the iframe.
Use opaque
#rgb or #rrggbb values. Unsupported values are ignored and reported in the console. Blink derives the remaining palette and enforces contrast for derived text colors.
The following remain fixed to preserve screen fit and payment-state meaning:
- Fonts, type scale, weights, internal spacing, and control radii
- Blink marks and wordmarks
- Success, information, warning, and authorization colors
appearance is fixed for the life of a Deposit instance. To change it, destroy the instance and construct a new one.
See the Deposit class, events, and TypeScript types for the full API.