Multicurrency Conversion Error on THB conversion
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Multicurrency Conversion Error on THB conversion
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Multicurrency Conversion Error on THB conversion
Hi @NitipatSut,
Please provide the following information:
- Endpoint
- Request Header
- Request Body
- Response Header (include the x-correlation-id)
- Response Body
Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.
I'll send this information to the product team to look into your error.
To learn more about common Visa Developer error codes and how to resolve them, please navigate to our Visa Developer Error Codes page here - https://developer.visa.com/pages/visa-developer-error-codes
If you don't find an error code listed here, please refer to the API-specific error codes in its respective documentation pages.
Thanks,
Illana
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Multicurrency Conversion Error on THB conversion
Hi @I_Doroteo3 ,
Thank you for your supported.
Here is addition information.
Endpoint : POST
https://sandbox.api.visa.com/forexrates/v2/foreignexchangerates |
Request Headers
Authorization | BasicUko5RFFQRkJCRVFTVDBTTzQ4TjkyMVdFUU9XczVaWjFxQjhwNW5EajZfWDdZb3pzRTpJUUZmNjVyWDB3WEY5 |
Content-Type | application/json; charset=utf-8 |
User-Agent | PostmanRuntime/7.29.2 |
X-Forwarded-User-Agent | PostmanRuntime/7.29.2 |
Accept | */* |
Cache-Control | no-cache |
Postman-Token | f041e29a-a23c-4e8a-8bcc-46c996c69388 |
Host | sandbox.api.visa.com |
Accept-Encoding | gzip, deflate, br |
Connection | keep-alive |
Content-Length | 131 |
Request Body
{ "rateProductCode": "A", "destinationCurrencyCode":840, "destinationAmount": 100, "sourceCurrencyCode": 764 } |
Response Headers
Server | nginx |
Date | Thu, 01 Dec 2022 03:06:54 GMT |
Content-Type | application/json;charset=UTF-8 |
Content-Length | 104 |
Connection | keep-alive |
X-SERVED-BY | -7d57d7d59 |
X-CORRELATION-ID | 1669864014_008_1049614121_-7d57d7d59_VDP_WS |
X-ERROR-ORIGIN | 9900 |
X-APP-STATUS | 400 |
Content-Language | en-US |
Cache-Control | no-cache, no-store, must-revalidate |
X-Frame-Options | SAMEORIGIN |
X-XSS-Protection | 0 |
X-Content-Type-Options | nosniff |
Strict-Transport-Security | max-age=31536000;includeSubdomains |
Pragma | no-cache |
Expires | -1 |
Content-Security-Policy-Report-Only | default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport; |
X-Content-Security-Policy-Report-Only | default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport; |
X-WebKit-CSP-Report-Only | default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport; |
Response Body
{"errorResponse":{"status":400,"reason":"3005","message":"Multicurrency Conversion Error","details":[]}} |
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Multicurrency Conversion Error on THB conversion
Hi @NitipatSut,
Please try using 834 for the Thai Baht currency code.
764 is the country code for Thailand.
You can find these codes here: https://developer.visa.com/request_response_codes#currency_codes
Thanks,
Illana
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Multicurrency Conversion Error on THB conversion
Hi @I_Doroteo3
According to your provided reference 764 is currency code for THB
834 is for Tanzania
Please check
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Multicurrency Conversion Error on THB conversion
Hi @NitipatSut,
Apologies, you are correct. I also tried running this API call in Postman and received the same error when using the Thai currency code.
Using the information above that you submitted, I sent in a ticket to the technical team to take a look. I'll reach back out when I receive a response.
Thanks,
Illana
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Multicurrency Conversion Error on THB conversion
Hi @NitipatSut,
I received a response from the technical team- the Thai Baht currency is not supported in sandbox; you must promote your project to production in order to user the complete list of currencies.
Thanks,
Illana
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Multicurrency Conversion Error on THB conversion
Why my reply dissappear.