Currency

Space Invoices currently supports 122 of the most common global currencies. We strive to accommodate your needs, so if you don't see a particular currency on the list, feel free to reach out to us.

In addition to traditional (fiat) currencies, we've also included some popular cryptocurrencies. If your preferred cryptocurrency isn't available, let us know, and we'll be happy to consider adding support for it.

Please note that we use ISO 4217 unique currency codes as the ID fields of currencies to simplify their inclusion in documents as related IDs. You can refer to the Space Invoices API documentation or online resources for more information on the supported currencies and their respective ISO 4217 codes.

Endpoints:

  • GET /v1/Currencies

The Currency object

Parameters

  • isoName string

  • name string

  • namePlural string

  • symbol string

  • symbolNative string

  • decimalDigits number

  • type string

    
      {
  "isoName": "string",
  "name": "string",
  "namePlural": "string",
  "symbol": "string",
  "symbolNative": "string",
  "decimalDigits": 2,
  "type": "string"
}    
  

Find Currencies

GET /v1/Currencies

Parameters

Query
  • filter string optional

    Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.

      
        const response = await fetch('https://api.spaceinvoices.com/v1/Currencies', {
  method: 'GET',
  headers: {
    'Authorization': 'ACCESS_TOKEN',
    'content-type': 'application/json'
  }
});      
    

Your access token is displayed in examples.

Prerequisite: npm install node-fetch

        
          curl -X GET https://api.spaceinvoices.com/v1/Currencies \
  -H 'Authorization: ACCESS_TOKEN' \
  -H 'Content-Type: application/json'        
      

Your access token displayed in examples.

        
          import requests
url = 'https://api.spaceinvoices.com/v1/Currencies'
headers = {
  'Authorization': 'ACCESS_TOKEN',
  'content-type': 'application/json',
}
response = requests.get(url, params={}, headers=headers)        
      

Your access token displayed in examples.

Response:

    
      [
  {
    "isoName": "string",
    "name": "string",
    "namePlural": "string",
    "symbol": "string",
    "symbolNative": "string",
    "decimalDigits": 2,
    "type": "string"
  }
]