Skip to content
On this page

Currencies

Endpoint: /v1/currencies

http
GET /v1/currencies HTTP/1.1
Host: sandbox.tristarexpress.com
Accept: application/json
Authorization: {{ token }}

If you need a list of currencies, you can use this endpoint.

Example

http
GET /v1/currencies HTTP/1.1
Host: sandbox.tristarexpress.com
Accept: application/json
Authorization: {{ token }}

Response:

json
{
    "data": [
        {
            "id": 1,
            "name": "US Dollar",
            "name_locale": "{\"en-US\":\"US Dollar\"}",
            "symbol": "$",
            "symbol_native": "$",
            "decimal_digits": 2,
            "rounding": 0,
            "code": "USD",
            "name_plural": "US dollars",
            "created_by_id": 1,
            "updated_by_id": null,
            "created_at": "2021-10-20 01:30:23",
            "updated_at": null
        }
        // ...
    ]
}