View Currency
Copied
https://api.ocamba.com/v2/ocamba/currencies/{id}
Copied
https://api.ocamba.com/v2/ocamba/currencies/{id}
Retrieves the details of a Currency if a valid identifier was provided
Name
Descriptionidstringrequired
Unique id of the currency. Example - CNYExample: CNY
Name
Descriptionfieldsstring
The client can request more efficient filtered representation of the resource showing only specific field(s), using the “fields” query parameter. Note that the “fields” parameter has precedence over the “view” parameter.Example GET /v2/ocamba/RESOURCE_NAME?fields=id,name
See "Tips" for the list of filterable parameters.
Example: fields=field1,field2,field3
200 - OK
Name
Descriptionitems[ currency ]
An array of all created items.Currency
Name
Descriptioncodestring
Three-letter, uppercase currency code.Example: CNY
idstring
A unique identifier generated by the Ocamba platform.Example: CNY
namestring
Currency name.Example: Chinese Yuan Renminbi
ratefloat
An exchange rate.Example: 6.3848
totalinteger
A total number of items.Example: 1
tip
1 If you don't know the currency id, list the currencies to find it.