post
https://uatmea-iss-apigw.creditpluspinelabs.com/deviceapi/apis/v1/services/wallet/exchangerate
This API enables cardholders to enquire about the applicable currency exchange rate, between their home country (where the card has been issued) and the acquiring bank’s country, before initiating a transaction. The Credit+ Issuing system receives, validates and processes the request. If the request is successful, the cardholder will receive the applicable exchange rate in the response. If the request fails, the system returns the corresponding error code.
HTTP Status and Response Status Matrix
- HTTP Code: This is the response status code issued by a server in response to a client's request made to the server.
- Error Code: This is the error code returned by Credit+ Issuing application in the ‘code’ field of the response message indicating if the request was processed successfully or failed.
- Reason: This is the description of the error code returned by Credit+ Issuing application.
| HTTP Code | Error Code | Reason |
|---|---|---|
| 200 | 000 | Successful |
| 400 | 997 | Request Parameters Validation Failure: invalid request |
| 401 | 990 | Unauthorized access. |
| 404 | 998 | Device does not exist |
| 500 | 993 | Request processing error |
| 400 | EXR015 | User does not have permission to access this |
| 400 | EXR016 | User does not have permission to access this |
| 400 | EXR012 | User is not Active |
| 400 | EXR013 | Incorrect Password |
| 400 | EXR014 | Invalid User! |
| 400 | EXR007 | Source Currency Not Defined |
| 400 | EXR008 | Invalid Source Currency |
| 400 | EXR009 | Destination Currency Not Defined |
| 400 | EXR010 | Invalid Destination Currency |
| 400 | EXR020 | Invalid Transaction Code |
| 400 | EXR020 | Invalid Program Code |
| 400 | EXR001 | Bank Currency Not Available |
| 400 | EXR002 | Error In Fetching Bank Currency |
| 400 | EXR099 | Conversion rate is not defined |