Requirements: API Key
Widget Integration
The Widget Integration method is the simplest way to start accepting crypto transactions. Instead of building full API flows, you can embed our hosted widget in your app or website and configure it through URL query parameters.How It Works
- Generate a widget URL with the transaction parameters you want (for example, fiat currency, cryptocurrency, network, and transaction type).
- Your frontend loads the widget via
<iframe>or a redirect to our hosted widget. - The widget and selected provider handle the user flow, including destination-wallet confirmation, payment, and compliance steps.
- For a client-owned widget, subscribed transaction updates are sent to your server through webhooks. Transactions created through the public widget proxy do not generate partner webhooks.
Destination wallet
Orki does not configure a partner-level destination wallet in the Terminal. The destination is determined separately for each BUY transaction. For most providers, the buyer enters or confirms the wallet address and network during the provider’s checkout. For Binance BUY, the widget must obtain the buyer’s destination wallet before requesting the quote because Binance cannot be selected without it. The selected provider sends the purchased crypto directly to the specified or confirmed wallet; Orki does not custody or redirect it.Transaction Modes
The widget supports three modes, controlled by themode query parameter:
-
Buy (
mode=BUY) — Users purchase crypto with fiat. -
Sell (
mode=SELL) — Users sell crypto and receive fiat. -
Swap (
mode=SWAP) — Users swap one cryptocurrency for another.
mode query parameter, you can pass the other supported query parameters.
Integration Flow
-
Generate widget URL
- Select the supported configuration parameters, such as fiat currency, cryptocurrency, network, and transaction type.
- Construct the widget URL.
-
Embed or redirect
- Redirect users to the hosted widget URL.
- Or display the widget in an
<iframe>.
-
Handle webhooks
- For a client-owned widget, subscribe to webhook events for transaction status updates (pending, confirmed, failed) from your Terminal.
- For the public widget proxy, use the transaction status shown in the widget; partner webhooks are not generated.
- Then update your internal records accordingly.
✅ When to use
- You want to go live quickly without building custom flows.
- You’re okay with handing off the checkout UI to our hosted widget.