> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.runpayments.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.runpayments.io/_mcp/server.

# Get card read status

GET https://javelin.runpayments.io/api/terminal/{device_id}/read-card/{interaction_id}

Returns the status of a card read interaction. `result` is `null` while `status` is `pending`.

Interactions expire 3 minutes after they're created. A `404` means the interaction never existed, the `device_id` is wrong, or the interaction expired.

If a signature was requested on a terminal that doesn't support it, `status` is still `succeeded`: the card was tokenized
and only the signature step was skipped. In that case `result.error` is `signature not supported`.


Reference: https://docs.runpayments.io/reference/terminal-api/card-read/get-read-card-status

## Authentication

- `Authorization` header (bearer token, required) — Use a Payments API key as the bearer token: `Authorization: Bearer <api_key>`. Get a fresh key from [Refresh API Keys](/reference/authentication/refresh-api-keys).

## Request

### Path parameters

- `device_id` (string, required) — Hardware Serial Number (HSN) of the terminal, provided by your Integration Delivery lead.
- `interaction_id` (string, required) — The `interaction_id` returned when the interaction was created.

### 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

Interaction status

- `interaction_id` (string, required) — The interaction identifier.
- `status` (enum, required) — Status of the interaction.
  - Allowed values: `pending`, `succeeded`, `failed`, `cancelled`
- `result` (ReadCardResult, required, nullable) — `null` while `pending`. On success, contains the card token and details. On failure or cancellation, contains only `error`.
- `updated_at` (string, required) — Time of the last status update.

## Errors

### 401 Unauthorized Error

Unauthorized

- `errors` (list of string, optional) — Error messages.

### 404 Not Found Error

Terminal or interaction not found.

- `error` (string, optional) — Error message.

### 429 Too Many Requests Error

Rate limit exceeded. All Terminal API endpoints share a per-credential rate limit.

- `any`

## Types

### ReadCardResult

- `token` (string, optional) — Payment account token. Use as `account_token` with the Payments API.
- `name` (string, optional) — Cardholder name.
- `expiry` (string, optional) — Card expiration date (`MMYY`).
- `amount` (string, optional) — Authorized amount in decimal dollars.
- `signature` (string, optional) — Captured signature image, when requested and supported.
- `error` (string, optional) — Error message. On a succeeded interaction, `signature not supported` means only the signature step was skipped.

## Examples

### Succeeded

**Response**

```json
{
  "interaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "status": "succeeded",
  "result": {
    "token": "9418594213031234",
    "name": "John Doe",
    "expiry": "1225",
    "amount": "10.50",
    "signature": "data:image/png;base64,..."
  },
  "updated_at": "2026-09-17T14:02:11Z"
}
```

**SDK Code**

```python Succeeded
import requests

url = "https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Succeeded
const url = 'https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Succeeded
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Succeeded
require 'uri'
require 'net/http'

url = URI("https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Succeeded
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Succeeded
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Succeeded
using RestSharp;

var client = new RestClient("https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Succeeded
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6")! 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()
```

### Succeeded, signature not supported

**Response**

```json
{
  "interaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "status": "succeeded",
  "result": {
    "token": "9418594213031234",
    "name": "John Doe",
    "amount": "10.50",
    "error": "signature not supported"
  },
  "updated_at": "2026-09-17T14:02:11Z"
}
```

**SDK Code**

```python Succeeded, signature not supported
import requests

url = "https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Succeeded, signature not supported
const url = 'https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Succeeded, signature not supported
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Succeeded, signature not supported
require 'uri'
require 'net/http'

url = URI("https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Succeeded, signature not supported
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Succeeded, signature not supported
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Succeeded, signature not supported
using RestSharp;

var client = new RestClient("https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Succeeded, signature not supported
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6")! 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()
```

### Pending

**Response**

```json
{
  "interaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "status": "pending",
  "result": null,
  "updated_at": "2026-09-17T14:02:05Z"
}
```

**SDK Code**

```python Pending
import requests

url = "https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Pending
const url = 'https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Pending
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Pending
require 'uri'
require 'net/http'

url = URI("https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Pending
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Pending
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Pending
using RestSharp;

var client = new RestClient("https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Pending
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6")! 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()
```

### Failed

**Response**

```json
{
  "interaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "status": "failed",
  "result": {
    "error": "Terminal is unavailable."
  },
  "updated_at": "2026-09-17T14:02:11Z"
}
```

**SDK Code**

```python Failed
import requests

url = "https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Failed
const url = 'https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Failed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Failed
require 'uri'
require 'net/http'

url = URI("https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Failed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Failed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Failed
using RestSharp;

var client = new RestClient("https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Failed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6")! 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()
```

### Cancelled

**Response**

```json
{
  "interaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "status": "cancelled",
  "result": {
    "error": "Interaction was cancelled."
  },
  "updated_at": "2026-09-17T14:02:11Z"
}
```

**SDK Code**

```python Cancelled
import requests

url = "https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Cancelled
const url = 'https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Cancelled
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Cancelled
require 'uri'
require 'net/http'

url = URI("https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Cancelled
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Cancelled
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Cancelled
using RestSharp;

var client = new RestClient("https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Cancelled
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://javelin.runpayments.io/api/terminal/HSN123456789/read-card/3fa85f64-5717-4562-b3fc-2c963f66afa6")! 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()
```