# Virtual Accounts and FX

**URL:** <https://community.rapyd.net/t/virtual-accounts-and-fx/1474>\
**Category:** ⚙️ API\
**Created:** [February 28, 2022, 12:22am UTC](https://community.rapyd.net/t/virtual-accounts-and-fx/1474 "2022-02-28T00:22:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/alan/32/1283_2.png) [@Alan](https://community.rapyd.net/u/Alan)\
**Post date:** [February 28, 2022, 12:22am UTC](https://community.rapyd.net/t/virtual-accounts-and-fx/1474/1 "2022-02-28T00:22:07Z")

</div>

Hi folks,

We’re trying to use virtual IBANs in Europe to receive payments in Euros. Does anyone know how we FX these funds across to a different wallet? (our corporate wallet in AUD)

We are trying to use the various “Wallet FX Rates (Beta)” APIs however trying to create a quote fails with a MISSING\_PHONE\_NUMBER\_OR\_EWALLET\_ID error. I know the wallet exists because I can retrieve it using other API methods, however creating an FX quote simply does not work.

Ultimately, I’d like to use the “Convert Currencies and Transfer” method, however without being able to create a quote, we can’t even get past the start line.

I cannot see any other method to transfer FX within or between wallets - is there something that I might be missing?

---

<div class="post-metadata">

**Author:** ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)\
**Post date:** [February 28, 2022, 7:45pm UTC](https://community.rapyd.net/t/virtual-accounts-and-fx/1474/2 "2022-02-28T19:45:00Z")

</div>

Thanks @Alan, I see that you are looking at [Request Quote](https://docs.rapyd.net/build-with-rapyd/reference/wallet-fx-rates-beta#request-quote-1) under Wallet FX Rates (Beta). I want to confirm this is the request you are currently trying to make?

When I used Request Quote I tried the following and it worked for me.

Request Quote Request

```auto
{
    "ewallet_id": "ewallet_3975c946fe7836e47b05a2b70e22d63a",
    "sell_currency": "EUR",
    "buy_currency": "USD",
    "fixed_side": "sell",
    "amount": 100
}

```

Request Quote Response

```auto
{
    "status": {
        "error_code": "",
        "status": "SUCCESS",
        "message": "",
        "response_code": "",
        "operation_id": "088ba35a-7e29-47ac-b4e8-1767a39109ac"
    },
    "data": {
        "quote_id": "quote_fd6a3d059c2596c89110124aa4251c73",
        "ewallet_id": "ewallet_3975c946fe7836e47b05a2b70e22d63a",
        "buy_currency": "USD",
        "sell_currency": "EUR",
        "fixed_side": "sell",
        "rate": 1.0084937585,
        "created_at": 1646076749,
        "expires_at": 1646249548,
        "sell_amount": 100,
        "buy_amount": 100.85,
        "sufficient_funds": true,
        "deposit_amount": 0,
        "deposit_currency": "EUR"
    }
}

```

I tried a few different variations, but I’ll keep trying to replicate your error.

---

<div class="post-metadata">

**Author:** ![JohnTownes](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@JohnTownes](https://community.rapyd.net/u/JohnTownes)\
**Post date:** [February 28, 2022, 11:00pm UTC](https://community.rapyd.net/t/virtual-accounts-and-fx/1474/3 "2022-02-28T23:00:54Z")

</div>

G’day Kyle, thanks for getting back to us so quickly

We see that the documentation endpoint is “rates/quotes”. I don’t know when this changed, as we have been using the “account/quote” endpoint as that was what was documented some time ago (not sure when it changed).

Given that, I have just made the following call to the original endpoint and received the subsequent error. To be clear, the wallet exists because I can call “user/ewallet\_OurCorporateWalletID” and receive details of said wallet.

```auto
POST: https://api.rapyd.net/v1/account/quote
Request content:
{
  "amount": "1000",
  "buy_amount": "1000",
  "buy_currency": "AUD",
  "ewallet_id": "ewallet_OurCorporateWalletID",
  "fixed_side": "sell",
  "forward_date": null,
  "sell_currency": "EUR"
}
Response content: 
{
  "status": {
    "error_code": "MISSING_PHONE_NUMBER_OR_EWALLET_ID",
    "status": "ERROR",
    "message": "The request attempted an operation that requires a wallet, but the wallet was not found. The request was rejected. Corrective action: Provide the wallet's phone number in E.164 format or wallet ID, which is a string starting with 'ewallet_'.",
    "response_code": "MISSING_PHONE_NUMBER_OR_EWALLET_ID",
    "operation_id": "e9106753-2ce8-4760-88a3-d64b271a04eb"
  }
}

```

If we attempt the same request using the “rates/quotes” API, we receive the following:

```auto
POST: https://api.rapyd.net/v1/rates/quotes
Request content:
{
  "amount": "1000",
  "buy_amount": "1000",
  "buy_currency": "AUD",
  "ewallet_id": "ewallet_OurCorporateWalletID",
  "fixed_side": "sell",
  "forward_date": null,
  "sell_currency": "EUR"
}
Response content: 
{
  "status": {
    "error_code": "INTERNAL_ERROR",
    "status": "ERROR",
    "message": "Contact Rapyd Client Support.",
    "response_code": "INTERNAL_ERROR",
    "operation_id": "cc17e0e7-fffd-4a5c-be82-09320792a6b4"
  }
}

```

I also see that you have used USD-EUR pair - we operate in AUD (and have successfully used Rapyd for AUD spot/execute for some time now). Can you see whether AUD FX is working for you?

Our business case is to receive EUR via a per-customer virtual bank account (IBAN), FX to AUD and transfer to our corporate wallet. As such, the FX quote is the first step in this workflow.

Any other suggestions?

---

<div class="post-metadata">

**Author:** ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)\
**Post date:** [March 2, 2022, 1:16am UTC](https://community.rapyd.net/t/virtual-accounts-and-fx/1474/4 "2022-03-02T01:16:49Z")

</div>

Thanks @JohnTownes. Here is a list of our [supported currency pairs](https://docs.rapyd.net/build-with-rapyd/reference/wallet-fx-rates-beta#supported-currency-pairs). Unfortunately in Beta version AUD is not on here yet.

- USD-SGD
- EUR-USD
- EUR-SGD
- GBP-USD
- GBP-EUR
- GBP-SGD
- USD-HKD
- SGD-HKD
- USD-HKD
- SGD-THB

For some reason I was referring back to [this post](https://community.rapyd.net/t/tell-me-more-about-virtual-accounts/165/11) where Alan may have been talking about Austria/EUR, but I do see now that you have AUD / Australia here.

I can follow up about the endpoint change with our product team. Any further changes, I’ll be sure to post in our [Changelog](https://docs.rapyd.net/build-with-rapyd/changelog). Thanks.

You can also tag the [Feedback](https://community.rapyd.net/t/about-the-feedback-category) category label with your post.  
 ![Screen Shot 2022-03-01 at 5.15.11 PM](https://us1.discourse-cdn.com/flex016/uploads/rapyd/original/2X/b/b76405a4162ed332336a18a33bcaef4b68fdd06f.png)

---

<div class="post-metadata">

**Author:** ![JohnTownes](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@JohnTownes](https://community.rapyd.net/u/JohnTownes)\
**Post date:** [March 2, 2022, 1:32am UTC](https://community.rapyd.net/t/virtual-accounts-and-fx/1474/5 "2022-03-02T01:32:09Z")

</div>

Thanks for the update Kyle.

We’ll try and work this through with Rapyd support, however the response hasn’t been great so far. It is frustrating for us because we are successfully using quote/execute in production _now_, so to hear about these changes is something of a surprise to us.
