Skip to main content
The Finrock Payment Widget is a pre-built JavaScript component that you embed directly in your website to accept cryptocurrency payments without building a custom payment UI from scratch. It handles the complete payment collection flow — including address display, amount calculation, and security of sensitive data — so you can focus on your core business rather than payment infrastructure.

Benefits

Faster Time to Accept

Start accepting crypto payments in minutes, not weeks. Drop in a single script tag and a container element and you are live.

Simple Integration

No complex backend logic required. The widget communicates directly with Finrock’s infrastructure on your behalf.

Customisable Styling

Pre-fill fields like asset, amount, and payer details to tailor the experience for each customer session.

Built-in Security

The widget handles all sensitive payment data in compliance with Finrock’s security model, reducing your compliance surface area.

Integration Steps

Customisation Options

All configuration properties are optional. If you omit them, the widget displays its default blank form and the customer fills in the details manually.
Find the full list of accepted crypto_asset values at finrock.io/assets. Use the exact ticker string shown there (e.g. BTC, ETH, USDT_TRX) when pre-filling the crypto_asset field.

Complete HTML Example

The following snippet shows a minimal but fully functional integration you can drop into any HTML page:
The widget_id ties the widget to your Finrock workspace and routes payments to the correct sub-account. Never expose your API keys in the frontend — the widget only requires the public widget_id.