List Locations

​

List the locations visible to your API key. Set include_terminals to true to attach each location's linked terminal. The response is a plain array with no paging. Requires locations:read.

Query Parameters

  • Join each location's terminal config onto terminal

Headers

  • Response format. Must be application/json.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/v1/locations
curl 'https://api.uat.koard.com/v1/locations?include_terminals=false' \
  --header 'Accept: application/json' \
  --header 'x-koard-apikey: YOUR_SECRET_TOKEN'
[
  {
    "account_id": "string",
    "address": {
      "street_line1": "",
      "street_line2": "",
      "city": "",
      "country": "USA",
      "state": "",
      "zip": ""
    },
    "country_code": null,
    "created_at": null,
    "currency": null,
    "deleted_at": null,
    "email": null,
    "id": "string",
    "metadata": null,
    "name": "string",
    "phone": null,
    "processor_config_id": null,
    "status": "active",
    "surcharge_rate": null,
    "surcharge_basis": "total",
    "surcharge_confirmation_required": null,
    "tax_rate": null,
    "tax_basis": "total",
    "terminal_id": null,
    "updated_at": null
  }
]