- 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:
| Method | POST |
|---|---|
| Production Environment URL | https://api.kloudship.com/api/v1/MetaData/Currency |
| Test Environment URL | https://api-ppd.kloudship.com:960/api/v1/MetaData/Currency |
| Content-Type | application/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:
- `code` (string): The currency code, which uniquely identifies the currency.
- `name` (string): The name of the currency.
- `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:
- The currency data provided by this API is based on the latest available information and may be subject to updates or changes.
- It is recommended that you handle potential errors and exceptions gracefully in your application when using this API.
Not Yet Signed Up?
- Get started with KloudShip - This article explains steps like signing up, KYC, and adding balance to your account
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article