Skip to content
Back to Prompts

Integrate offramp wallets for auto-conversion

Give each bank account a dedicated crypto deposit address: stablecoins sent to it convert and pay out to the linked bank account automatically.

Payouts
Webhooks
Compliance

Paste this prompt into your coding agent to build the zero-touch offramp: users deposit stablecoins to an address, fiat lands in their bank account.

Prompt

text
You are integrating BlindPay offramp wallets into my application: a dedicated crypto deposit address tied to a bank account, where any supported stablecoin deposit auto-converts and pays out over the local rail with no per-transaction API call from me.

Before writing code, read these sources and follow them over any prior knowledge:
- https://blindpay.com/docs/llms.txt (read the offramp wallets, bank accounts, and webhooks pages)
- The OpenAPI spec: curl https://api.blindpay.com/doc

Build the flow:
1. Prerequisites: approved customer (KYC/KYB) and a bank account (ba_) on the right rail (pix for BRL, spei for MXN, ach/wire/rtp for USD, and so on).
2. Create the offramp wallet: POST /v1/instances/{instance_id}/customers/{customer_id}/bank-accounts/{bank_account_id}/offramp-wallets, choosing the chain (Ethereum, Polygon, Base, Arbitrum, Solana, or Tron). Persist the returned deposit address against my user record.
3. Surface the deposit address safely in my UI: show the chain and token explicitly, warn that deposits on the wrong chain are lost, and respect the documented per-chain minimum deposit amounts before showing the address as ready.
4. Drive state from webhooks: wallet.inbound for the deposit, then payout.new/update/complete for the automatic conversion and payout, all Svix-verified and reconciled to my user via the wallet and bank account IDs.
5. Build the reporting view: for each deposit show received amount, FX applied, fees, and the fiat amount settled, from the webhook payloads.

Constraints:
- API keys stay server-side; never log full webhook payloads with PII.
- Test on a development instance with USDB on a testnet before production.
- One offramp wallet maps to one bank account; model that constraint in my schema.

Deliverables: offramp wallet provisioning service, the deposit-address UI component with chain/minimum warnings, webhook handlers, and the per-deposit settlement report.

How to use

  1. Paste the prompt with your stack details.
  2. Decide which chains you want to expose; fewer chains means fewer wrong-chain support tickets.
  3. Verify the full deposit-to-payout loop on a development instance.

One API.
Multiple payment rails.

Blind Pay, Inc. (“BlindPay”) is a United States-based financial technology and payments infrastructure company, incorporated in the State of Delaware on May 2, 2024. BlindPay is duly registered as a Money Services Business (“MSB”) with the Financial Crimes Enforcement Network (“FinCEN”) under registration number 31000277566153. BlindPay is not a state-licensed money transmitter and does not, in its own capacity, engage in regulated money transmission services. All such regulated activities are conducted exclusively through, and under the licenses of, duly authorized financial institution partners. BlindPay's role is limited to providing financial technology, virtual account management, payment processing, and related payments infrastructure services that facilitate payment flows and account functionalities. These services are provided in coordination with its licensed partners and in compliance with applicable federal MSB requirements and relevant state regulatory frameworks.

Blind Pay, LLC (“BlindPay”) is a Delaware limited liability company formed on June 24, 2025. BlindPay is duly registered as a Money Services Business (“MSB”) with the Financial Crimes Enforcement Network (“FinCEN”) under registration number 31000318334247 and is listed in the Nationwide Multistate Licensing System (“NMLS”) under NMLS ID #2745309.

BLIND PAY SOCIEDADE PRESTADORA DE SERVIÇOS DE ATIVOS VIRTUAIS LTDA. (“BlindPay”) is a Virtual Asset Service Provider (“VASP”) operating in Brazil. The company is presently completing the regulatory adaptation process required of Virtual Asset Service Provider Companies (SPSAV) under Central Bank of Brazil Resolution No. 520/2025, and remains subject to the transitional regime set forth in Article 88 of that Resolution. Registered address: Avenida Princesa Isabel, nº 15, Sala 1405, Edifício Martinho de Freitas, Centro, Vitória/ES, 29010-361.

BlindPay is a stablecoin API that enables individuals and businesses to move money worldwide.