Before you begin
Complete the shared setup steps: get your API keys, configure webhooks, and get your customer through compliance approval. Cross-border payouts also need the separate payments verification described in Payments Compliance, since Rain gates money movement independently from card-issuing approval.1
Create a payment account
Register your customer’s destination bank account as a payment account.
The required fields vary by destination country; this example registers a
Colombian account.See Create a Payment Account
for the full request reference, and Offramps with Transfers
for the required fields for Mexico and Brazil.
2
Create a quote
Request a quote for the amount your customer wants to send. A quote locks
in the exchange rate and fees until the time in its Show your customer the exchange rate, fees, and destination amount before
they confirm. See Create a Quote for
the full reference.
expiresAt field.Response
3
Create a transfer
If your customer accepts the quote, create a transfer from it. Every
transfer request needs a The response includes a See Create a Transfer for the
full request and response reference.
refundAddress, the onchain address Rain sends
funds back to if the transfer fails, and a unique idempotency-key header
so a retried request doesn’t create a duplicate transfer.depositAddress: the onchain address your
customer sends stablecoin to.Response
4
Funds arrive
Once your customer sends stablecoin to the deposit address, Rain converts
it and pays out to the destination bank account you registered in step 1,
no additional API call needed.Rain notifies you as the transfer progresses through the
transactionTransfer webhooks. See Transaction Webhooks
for the full lifecycle, payload, and transfer status values.What’s next
Offramps with Transfers
See the full guide, including field requirements for Mexico and Brazil,
error handling, and best practices.
Payments Compliance
Understand account-owner verification, transaction monitoring, and
on-chain screening.
Transaction Webhooks
Track a transfer from creation through settlement.