In this example we're going to add an existing blockchain wallet on Polygon Amoy Testnet.
This blockchain wallet should be a valid one, so please replace address with your own information and leave is_account_abstraction as true.
Attention: BlindPay is not responsible for funds sent to wrong wallets, so please make sure you're filling the correct information.
Remember: replace YOUR_SECRET_TOKEN with your API key, in_000000000000 with your instance ID and re_000000000000 with your receiver ID which you created previously.
On this step we're going to create a quote and check how much money someone is going to send in fiat money and how much stablecoins will be received.
In this case we're going to initiate a payin for ach payment method and USDC stablecoin. This mean that someone will send an ACH transfer in the US and BlindPay is going to send USDC to the wallet registered previously.
Remember: replace YOUR_SECRET_TOKEN with your API key and in_000000000000 with your instance ID.
It's mandatory to create a payin quote before initiating a payin. So now you can use the payin quote id to initiate the fiat to stablecoins transfer.
Remember: replace YOUR_SECRET_TOKEN with your API key, in_000000000000 with your instance ID and pq_000000000000 with your payin quote ID which you created previously.
And on the response of this request you will see memo_code and blindpay_bank_details which are the information that you need to share with the end user.
Response
{
//...
"memo_code": "12345678",
"blindpay_bank_details": {
"routing_number": "121145349",
"account_number": "621327727210181",
"account_type": "Business checking",
"beneficiary": {
"name": "BlindPay, Inc.",
"address_line_1": "8 The Green, #19364",
"address_line_2": "Dover, DE 19901"
},
"receiving_bank": {
"name": "Column NA - Brex",
"address_line_1": "1 Letterman Drive, Building A, Suite A4-700",
"address_line_2": "San Francisco, CA 94129"
}
}
//...
}
After initiating a payin, BlindPay will monitor for incoming funds for 5 business days. If no payment is received within this period, the transaction will be automatically cancelled. Once payment is confirmed, BlindPay will transfer the stablecoins to your registered blockchain wallet address.