Guides • Manage Accounts
Exchange money

Exchange money

Make an exchange:

curl -X POST https://b2b.revolut.com/api/1.0/exchange \
-H "Authorization: Bearer <your access token>" \
--data @- << EOF

{
"from": {
"account_id": "d56dd396-523b-4613-8cc7-54974c17bcac",
"currency": "USD",
"amount": 100.0
},
"to": {
"account_id": "a44dd365-523b-4613-8457-54974c8cc7ac",
"currency": "EUR"
},
"reference": "Time to sell",
"request_id": "e0cbf84637264ee082a848b"
}

EOF

Response:

{
"id": "d56d5596-523b-4613-2cc7-54974a37bcac",
"state": "completed",
"created_at": "2018-10-01T10:10:10.0Z",
"completed_at": "2018-10-01T10:10:10.0Z"
}

You can exchange the money in either of the following cases:

  • You know the amount of currency to sell, for example, exchange 100.0 USD to some EUR. Then, specify the amount in the from object. Check the example on the right.
  • You know the amount of currency to buy, for example, exchange some USD to 100.0 EUR. Then, specify the amount in the to object.
warning
Restriction: You can specify the amount field only once either in the from object or in the to object.

To check the exchange rate and fees for the operation, use the /rate.

Was this page helpful?