post https://api-approval.tingg.africa/v3/checkout-api/fetch-conversion-rate
This function allows merchants to fetch the current forex exchange rate for any supported currency pair in real time
This function allows a merchant to refund payments that were already acknowledged as received and processed successfully
Live Endpoint
https://api.tingg.africa/v3/checkout-api/fetch-conversion-rate
Key | Value Type | Required | Description |
---|---|---|---|
service_code | String | Yes | The merchant's service code. |
base_currency_code | String | No | 3 letter currency code indicating the base currency for the exchange rate |
exchange_currency_code | String | Yes | 3 letter currency code indicating the exchange currency for the exchange rate |
Response Status Codes
Status Code | Description |
---|---|
200 | Success. Checkout request successfully logged in the checkout platform. |
508 | Conversion rate found. |
174 | Unsuccessful request. |
173 | Request initiated successfully |
422 | Invalid request |
191 | Refund expired |
400 | Bad Request Request is not well-formed or syntactically incorrect i.e misspelling a field name. |
400 | Threat detected the request payload contains malicious phrases and flags. |
404 | Resource not found The specified URL / endpoint being called does not exist. |
405 | Method Not Allowed The HTTP Method being used is not implemented for this endpoint. |
429 | Quota limit Exceeded Too many requests have been sent in a given time period. |
429 | Spike Arrest Violation Too many requests violating the rate limiting protection. |
503 | Service Unavailable Something went wrong on checkout's therefore the server could not process your request. |
504 | Gateway Timeout. The request took too long to get a response from the server. |