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.
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:
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?