Get a Currency

Get a Currency by ID

GET https://api.moltin.com/v2/currencies/:id

Path Parameters

NameTypeDescription

id

string

The ID for the requested Currency

Headers

NameTypeDescription

Authorization

string

The Bearer token to grant access to the API

{
  "data": {
    "id": "451b94f8-0536-4580-91e1-68bad2f05925",
    "type": "currency",
    "code": "GBP",
    "exchange_rate": 1,
    "format": "£{price}",
    "decimal_point": ".",
    "thousand_separator": ",",
    "decimal_places": 0,
    "default": false,
    "enabled": true,
    "links": {
      "self":
        "https://api.moltin.com/currencies/451b94f8-0536-4580-91e1-68bad2f05925"
    },
    "meta": {
      "timestamps": {
        "created_at": "2017-09-27T08:48:01.821Z",
        "updated_at": "2018-04-24T19:19:40.941Z"
      }
    }
  }
}
curl -X GET https://api.moltin.com/v2/currencies/:id \
     -H "Authorization: Bearer XXXX"

Last updated