Skip to main content

Overview

Exchange rates let you preview the available rates and estimated destination amounts for a given currency pair before committing to the full transfer flow. This is useful for displaying indicative pricing to users before they provide bank account details or create a payment account. Unlike quotes, exchange rates don’t lock in a rate or require any customer or bank account information. They fit into the transfer flow as an optional first step, letting you check what rates are available and what the user can expect to receive before proceeding.

API flow

Action / step
UserRequests exchange rate
1PartnerGET /exchange-rates
2RainReturns available rate
3PartnerDisplays indicative rate
4PartnerCreates quote and transfer
The steps above, in text:

Get an exchange rate

To retrieve the current exchange rate for a currency pair, call the Exchange Rates endpoint. The request shape mirrors a quote but without any user, company, or payment account references.

Request

The sourceAmount field is optional. If you omit it, the response returns only the exchange rate, without a destination amount or fees breakdown.

Response (with source amount)

Response (without source amount)

Response fields

Exchange rates are indicative and not locked. The actual rate applied to a transfer is determined when a quote is created. Rates may fluctuate between the time an exchange rate is retrieved and a quote is locked.

Supported currency pairs

Source

Destination

Additional currency pairs are being added regularly. Contact your Rain representative for the latest supported configurations.

What’s next

Create quotes and transfers

Follow the full flow to create payment accounts, quotes, and transfers.

Set up onramps

Enable fiat deposits into crypto.

Set up offramps

Enable USD withdrawals from crypto.