> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.runpayments.io/reference/terminal-api/terminals/list-terminals/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.runpayments.io/_mcp/server. # List terminals GET https://javelin.runpayments.io/api/terminal Returns the terminals registered to the account. Each terminal includes a `capabilities` object describing what the hardware supports. Check these flags before offering signature capture or receipt printing in your UI. Reference: https://docs.runpayments.io/reference/terminal-api/terminals/list-terminals ## Authentication - `Authorization` header (bearer token, required) — Use a Payments API key as the bearer token: `Authorization: Bearer `. Get a fresh key from [Refresh API Keys](/reference/authentication/refresh-api-keys). ## Request ### Query parameters - `mid` (string, optional) — Merchant ID. Required when your bearer token is an ISV token acting on behalf of a merchant. If the `mid` can't be resolved to an authorized account, the request returns `400`. ## Response ### 200 Terminals retrieved successfully - `list of Terminal` ## Errors ### 401 Unauthorized Error Access denied - `errors` (list of string, optional) — Error messages. ### 429 Too Many Requests Error Rate limit exceeded. All Terminal API endpoints share a per-credential rate limit. - `any` ## Types ### Terminal - `device_id` (string, required) — Hardware Serial Number (HSN). - `name` (string, required) — Display name of the terminal. - `capabilities` (TerminalCapabilities, required) — What the terminal hardware supports. ### TerminalCapabilities What the terminal hardware supports. - `signature` (boolean, optional) — Whether `include_signature` captures a signature. Clover devices only. - `printer` (boolean, optional) — Whether `print-receipt` and `print_receipt` work. `true` only on Clover Flex and Clover Mini; always `false` on other devices. This is a hardware limitation, not a temporary state. - `msr` (boolean, optional) — Magnetic stripe (swipe) reads. - `emv` (boolean, optional) — Chip (dip) reads. - `nfc` (boolean, optional) — Contactless (tap) reads. - `pin_pad` (boolean, optional) — PIN entry. ## Examples **Response** ```json [ { "device_id": "HSN123456", "name": "Front Counter Clover Flex", "capabilities": { "signature": true, "printer": true, "msr": true, "emv": true, "nfc": true, "pin_pad": false } }, { "device_id": "HSN654321", "name": "Back Office Ingenico Lane 3600", "capabilities": { "signature": false, "printer": false, "msr": true, "emv": true, "nfc": true, "pin_pad": true } } ] ``` **SDK Code** ```python import requests url = "https://javelin.runpayments.io/api/terminal" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.json()) ``` ```javascript const url = 'https://javelin.runpayments.io/api/terminal'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go package main import ( "fmt" "net/http" "io" ) func main() { url := "https://javelin.runpayments.io/api/terminal" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer ") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("https://javelin.runpayments.io/api/terminal") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Authorization"] = 'Bearer ' response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://javelin.runpayments.io/api/terminal") .header("Authorization", "Bearer ") .asString(); ``` ```php request('GET', 'https://javelin.runpayments.io/api/terminal', [ 'headers' => [ 'Authorization' => 'Bearer ', ], ]); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("https://javelin.runpayments.io/api/terminal"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer "); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let headers = ["Authorization": "Bearer "] let request = NSMutableURLRequest(url: NSURL(string: "https://javelin.runpayments.io/api/terminal")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" request.allHTTPHeaderFields = headers let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```