Payins
API to convert fiat money to stablecoins.
What is a payin?
A payin is an operation that moves funds from the sender's bank account to the receiver's blockchain wallet.
The payin can only be executed if a payin quote was created previously, and you have 5 minutes to initiate the payin before the quote expires.
Development vs production instance
On development instances all the payins are going to be automatically paid 30 seconds after initiation.
On production, these are the times that the system will wait for the payment to arrive:
Payment method | Currency | Waiting time for arrival | Data to share to the end user |
---|---|---|---|
pix | BRL π§π· | 5 minutes | pix_code as copyable text or qr code |
ach | USD πΊπΈ | 5 business days | memo_code and blindpay_bank_details |
wire | USD πΊπΈ | 5 business days | memo_code and blindpay_bank_details |
Initiating a payin process on EVM chains
You can check the required fields in the BlindPay API Docs.
Before creating a payin, you need to:
- Create an account on BlindPay
- Create a development instance
- Create your API key
- Create a receiver
- Add a blockchain wallet
- Generate a payin quote
Remember: replace YOUR_SECRET_TOKEN
with your API key, in_000000000000
with your instance ID, qu_000000000000
with the quote you generated previously and sender_wallet_address
with the same wallet address that you used to approve the tokens.
Congratulations! You've initiated your first payin using BlindPay. If you want to initiate more payins you need to generate a new payin quote and do the API request again.