Payin Quotes
Preview sender and receiver values before starting a payin.
What is a payin quote?
A payin quote will show you how much you or your customers need to send in fiat money and how much the receiver is going to receive in stablecoins.
So, let's say you want to onramp 1,000 USD
to a receiver with a blockchain wallet on polygon network. The quote will show that you need to send 1,000 USD
and the receiver will receive 990 USDC
on his wallet.
Who are going to pay for the fees?
BlindPay provides two ways of paying for the fees:
- The receiver pays the fees: In this case, the fees are calculated based on the stablecoin (USDC, USDT) that the receiver is going to receive.
- The sender pays the fees: In this case, the fees are calculated based on the fiat currency (USD, BRL) that the sender is going to send.
Receiver paying for the fees
This is the most common scenario, so just keep the Cover all payin fees
disabled and the fees will be calculated to the receiver.
If you're doing through the API, you can set the cover_fees
to false
.
Sender paying for the fees
In this case, you should enable the Cover all payin fees
option before creating the quote.
If you're integrating through the API, you can set the cover_fees
parameter to true
.
Creating a payin quote
You can check the required fields in the BlindPay API Docs. Before creating a quote through the API, you need to:
- Create an account on BlindPay
- Create a development instance
- Create your API key
- Create a receiver
- Add a blockchain wallet
Remember: we do not accept float values for request_amount
. So if you want to send $123.45
you need to fill 12345
.