GET - Currencies

Created by KloudShip Support, Modified on Fri, 24 Oct at 7:34 PM by KloudShip Support

  • This document provides information about the "Get Currencies" API, which allows users to retrieve a list of currencies along with their respective codes and names.

Endpoint details:

MethodPOST
Production Environment URLhttps://api.kloudship.com/api/v1/MetaData/Currency
Test Environment URLhttps://api-ppd.kloudship.com:960/api/v1/MetaData/Currency
Content-Typeapplication/json


cURL:

curl --location 'https://api-ppd.kloudship.com:960/api/v1/MetaData/Currency' \
--header 'Authorization: ••••••'

Response fields:

The API returns a JSON array containing currency objects. Each currency object has the following attributes:

  1. `code` (string): The currency code, which uniquely identifies the currency.
  2. `name` (string): The name of the currency.
  3. `displayName`(string): A formatted display name contain code and name of currency


Response example:

[
    {
        "name": "United Arab Emirates Dirham",
        "code": "AED",
        "displayName": "AED - United Arab Emirates Dirham"
    },
    {
        "name": "Afghan Afghani",
        "code": "AFN",
        "displayName": "AFN - Afghan Afghani"
    },
    {
        "name": "Albanian Lek",
        "code": "ALL",
        "displayName": "ALL - Albanian Lek"
    },
//...More currencies
]

Additional Notes:

  1. The currency data provided by this API is based on the latest available information and may be subject to updates or changes.
  2. It is recommended that you handle potential errors and exceptions gracefully in your application when using this API.


Not Yet Signed Up?

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article