Payin Quote

Preview the fiat amount to send and the stablecoin amount the customer receives before creating a payin.

What it is

A payin quote shows how much you or your customer must send in fiat and how much the customer receives in stablecoins. For example, onramping 1,000 USD to a customer with a blockchain wallet on Polygon quotes 1,000 USD sent and 990 USDC received.

How it works

Fees can be paid by either party:

PayerFee basisAPI settingDashboard option
CustomerStablecoin (USDC, USDT) the customer receivescover_fees: falseKeep Cover all payin fees off
SenderFiat currency (USD, BRL) the sender sendscover_fees: trueEnable Cover all payin fees

Customer-paid fees are the most common scenario.

BlindPay customer paying for the fees

BlindPay sender paying for the fees

request_amount does not accept float values. To send $123.45, pass 12345.

Remember: all the examples below are using the USDB stablecoin which is only supported on development instances. In production, you should use the USDC or USDT.

Prerequisites

You also need a customer and a blockchain wallet.

Create a payin quote

You can check the required fields in the BlindPay API Docs.

Remember: replace YOUR_SECRET_TOKEN with your API key and in_000000000000 with your instance ID.