stablecoins into fiat currencies such as USD or BRL. This conversion is facilitated by the PFIs on the Borderless network and can be part of either a payin or payout flow simply depending on if you are sending or receiving the payments. In this scenario you are ultimately sending or receiving local fiat currencies, after the stablecoins are converted at the PFI.
An important note on payment instructions below.
Create payment instruction
First, create payment instructions to share with the partner financial institution (PFI) who is off-ramping or processing your withdrawal. This step is critical to ensure the local fiat currency arrives in the correct account at the end.Please use account
id in the deposit creation request from an account created above in the Accounts section.Please capture payment instructions
id from the response to use it for the withdrawal request after.Create a withdrawal order
Second, you will create an order for a withdrawal. This will send the payment instructions to the PFI, who will send the local fiat currency upon receipt of the matching amount of stablecoins. This alerts the PFI to expect the payment, and allows them to attribute the funds to your account when they arrive. It’s important to note that in the response to this withdrawal order, the PFI will return the onchain stablecoin payment instructions (generally a deposit address) that will handle the stablecoins which are being off-ramped.Please capture the onchain instructions from the PFI in the response field
onchainInstructionTransaction to use it to send stablecoins in the next step.Please use both the account
id from an account created above in the Accounts section, and the payment instructions id in the withdrawal creation request from the step above where you created the payment instructions.Send stablecoins direct to PFI
Once the local fiat payment instructions are sent to the PFI, and the withdrawal request is made, this order will remain open until the PFI receives the stablecoins as outlined in the instructions they shared via response to the withdrawal request. At the time the stablecoins arrive, the PFI will send the local fiat transfer as defined in the payment instructions.Release local fiat to beneficiary
Finally, when the partner financial institution (PFI) receives the stablecoins, they will then issue the local fiat payment to the bank defined in the payment instructions. Once the local fiat currency is received, this completes the off-ramp or withdrawal flow. You can easily track the status of transactions, request cancellation of transactions, and export transactions with the following endpoints.Please ensure you are using the transaction
id value which you will receive from the request to create a transaction such as the first step in this sequence on the /withdrawals endpoint.We recommend listening to the statuses via Webhook.
If you have any questions, please don’t hesitate to reach out to us via email or slack.