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

# Get a cardholder

GET https://issuing.sandbox.api.thepennyinc.com/cardholders/{cardholder_id}

Retrieve a cardholder, or a specific version of it. Sensitive fields are masked unless `reveal_sensitive` is true.

Required permissions: `cardholder:read`.

Reference: https://docs.thepennyinc.com/issuing/api-reference/cardholders/get

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Servers

- `https://issuing.sandbox.api.thepennyinc.com` (Sandbox — safe for testing, no real cards or money movement., default)
- `https://issuing.live.api.thepennyinc.com` (Live — real cards, real money movement.)

## Request

### Path parameters

- `cardholder_id` (string, required)

### Query parameters

- `version` (integer, optional, default: 0) — Cardholder version. Zero selects latest.
- `reveal_sensitive` (boolean, optional, default: false) — Whether to include unmasked sensitive fields in the response. Defaults to false.

## Response

### 200

The cardholder.

- `cardholders_get_Response_200`
  - IndividualCardholder: IndividualCardholder
  - CorporateCardholder: CorporateCardholder

## Errors

### 400 Bad Request Error

The request was malformed: a required field is missing or a value has the wrong type or format.

- `type` (string, required) — The name of the exception that was raised.
- `message` (string, required) — A human-readable description of the error.
- `details` (map from string to any, optional, nullable) — Structured context about the error, if any.
- `trace_id` (string, optional, nullable) — Identifier for correlating this error with server-side logs.
- `errors` (list of map from string to any, optional, nullable) — Sub-errors that contributed to this failure, if any.

### 401 Unauthorized Error

Authentication failed.

- `type` (string, required) — The name of the exception that was raised.
- `message` (string, required) — A human-readable description of the error.
- `details` (map from string to any, optional, nullable) — Structured context about the error, if any.
- `trace_id` (string, optional, nullable) — Identifier for correlating this error with server-side logs.
- `errors` (list of map from string to any, optional, nullable) — Sub-errors that contributed to this failure, if any.

### 403 Forbidden Error

The caller does not have permission to perform this action.

- `type` (string, required) — The name of the exception that was raised.
- `message` (string, required) — A human-readable description of the error.
- `details` (map from string to any, optional, nullable) — Structured context about the error, if any.
- `trace_id` (string, optional, nullable) — Identifier for correlating this error with server-side logs.
- `errors` (list of map from string to any, optional, nullable) — Sub-errors that contributed to this failure, if any.

### 404 Not Found Error

The cardholder was not found.

- `type` (string, required) — The name of the exception that was raised.
- `message` (string, required) — A human-readable description of the error.
- `details` (map from string to any, optional, nullable) — Structured context about the error, if any.
- `trace_id` (string, optional, nullable) — Identifier for correlating this error with server-side logs.
- `errors` (list of map from string to any, optional, nullable) — Sub-errors that contributed to this failure, if any.

### 422 Unprocessable Entity Error

The request was well-formed but could not be processed because it breaks a business rule.

- `type` (string, required) — The name of the exception that was raised.
- `message` (string, required) — A human-readable description of the error.
- `details` (map from string to any, optional, nullable) — Structured context about the error, if any.
- `trace_id` (string, optional, nullable) — Identifier for correlating this error with server-side logs.
- `errors` (list of map from string to any, optional, nullable) — Sub-errors that contributed to this failure, if any.

### 429 Too Many Requests Error

Too many requests; retry after the Retry-After header.

- `type` (string, required) — The name of the exception that was raised.
- `message` (string, required) — A human-readable description of the error.
- `details` (map from string to any, optional, nullable) — Structured context about the error, if any.
- `trace_id` (string, optional, nullable) — Identifier for correlating this error with server-side logs.
- `errors` (list of map from string to any, optional, nullable) — Sub-errors that contributed to this failure, if any.

### 500 Internal Server Error

An unexpected error occurred.

- `type` (string, required) — The name of the exception that was raised.
- `message` (string, required) — A human-readable description of the error.
- `details` (map from string to any, optional, nullable) — Structured context about the error, if any.
- `trace_id` (string, optional, nullable) — Identifier for correlating this error with server-side logs.
- `errors` (list of map from string to any, optional, nullable) — Sub-errors that contributed to this failure, if any.

## Types

### IndividualCardholder

An individual cardholder, as shown to clients through the client-facing API.

- `cardholder_id` (string, required) — Penny's unique identifier for this cardholder.
- `version` (integer, required) — A number that increases each time this cardholder's details change. Use it to confirm you are looking at the latest information.
- `version_time` (datetime, required) — The date and time this cardholder's details were last changed.
- `business_id` (string, required) — The business this cardholder belongs to.
- `business_entity_id` (string, required) — The business entity this cardholder belongs to.
- `program_id` (string, required) — The program this cardholder is issued under.
- `status` (enum, required) — This cardholder's current lifecycle status: 'active', 'deactivated' (cannot be issued new cards), 'suspended' (restricted, typically pending review), 'deleting' (removal has been requested and is in progress), or 'deleted'.
  - Allowed values: `active`, `deactivated`, `suspended`, `deleting`, `deleted`
- `active` (boolean, required) — Whether this cardholder is currently active.
- `given_name` (string, required) — The cardholder's given (first) name. Shown as a masked placeholder unless the request explicitly asks to reveal personal information.
- `family_name` (string, required) — The cardholder's family (last) name. Shown as a masked placeholder unless the request explicitly asks to reveal personal information.
- `address` (AddressResponse, optional, nullable) — The cardholder's registered physical address, if on file.
- `email` (string, optional, nullable) — The cardholder's contact email address, if on file. Shown as a masked placeholder unless the request explicitly asks to reveal personal information.
- `phone` (string, optional, nullable) — The cardholder's contact phone number, if one is on file. Shown as a masked placeholder unless the request explicitly asks to reveal personal information.
- `spend_control_id` (string, optional, nullable) — The spend control policy applied to this cardholder's cards, if one is set.
- `type` (enum, optional, default: individual) — Distinguishes between natural-person and business cardholders.
  - Allowed values: `individual`, `corporate`

### CorporateCardholder

A corporate cardholder, as shown to clients through the client-facing API.

- `cardholder_id` (string, required) — Penny's unique identifier for this cardholder.
- `version` (integer, required) — A number that increases each time this cardholder's details change. Use it to confirm you are looking at the latest information.
- `version_time` (datetime, required) — The date and time this cardholder's details were last changed.
- `business_id` (string, required) — The business this cardholder belongs to.
- `business_entity_id` (string, required) — The business entity this cardholder belongs to.
- `program_id` (string, required) — The program this cardholder is issued under.
- `status` (enum, required) — This cardholder's current lifecycle status: 'active', 'deactivated' (cannot be issued new cards), 'suspended' (restricted, typically pending review), 'deleting' (removal has been requested and is in progress), or 'deleted'.
  - Allowed values: `active`, `deactivated`, `suspended`, `deleting`, `deleted`
- `active` (boolean, required) — Whether this cardholder is currently active.
- `business_name` (string, required) — The legal name of the business this cardholder represents.
- `address` (AddressResponse, optional, nullable) — The cardholder's registered physical address, if on file.
- `email` (string, optional, nullable) — The cardholder's contact email address, if on file. Shown as a masked placeholder unless the request explicitly asks to reveal personal information.
- `phone` (string, optional, nullable) — The cardholder's contact phone number, if one is on file. Shown as a masked placeholder unless the request explicitly asks to reveal personal information.
- `spend_control_id` (string, optional, nullable) — The spend control policy applied to this cardholder's cards, if one is set.
- `type` (enum, optional, default: corporate) — Distinguishes between natural-person and business cardholders.
  - Allowed values: `individual`, `corporate`

### AddressResponse

External API representation of a physical address. Country is normalized to ISO 3166-1 alpha-2. State/province is normalized to its subdivision code where applicable.

- `line_1` (string, required) — Primary address line.
- `city` (string, required) — City or locality.
- `zip_code` (string, required) — Postal or ZIP code.
- `country` (string, required) — Country in ISO 3166-1 alpha-2 format.
- `line_2` (string, optional, nullable) — Secondary address line.
- `state_or_province` (string, optional, nullable) — State or province code (if applicable).

## Examples

**Response**

```json
{
  "active": true,
  "address": {
    "city": "New York",
    "country": "US",
    "line_1": "123 Main Street",
    "line_2": "Suite 200",
    "state_or_province": "NY",
    "zip_code": "10001"
  },
  "business_entity_id": "business_entity_01937c9d-3a1e-72b0-8881-3a1e2b088159",
  "business_id": "business_01937b95-484e-75af-8c68-484e5afc68d3",
  "cardholder_id": "cardholder_01937e19-4ebb-75bd-8250-4ebb5bd25085",
  "email": "jordan.rivera@acme.example",
  "family_name": "Rivera",
  "given_name": "Jordan",
  "phone": "+15551234567",
  "program_id": "program_019377de-7f88-7f02-894f-7f88f0294fcb",
  "spend_control_id": "spend_control_019379d9-a170-796b-867a-a17096b67a21",
  "status": "active",
  "type": "individual",
  "version": 1,
  "version_time": "2024-01-15T10:30:00Z"
}
```

**SDK Code**

```python
import requests

url = "https://issuing.sandbox.api.thepennyinc.com/cardholders/cardholder_id"

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

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

print(response.json())
```

```javascript
const url = 'https://issuing.sandbox.api.thepennyinc.com/cardholders/cardholder_id';
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
package main

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

func main() {

	url := "https://issuing.sandbox.api.thepennyinc.com/cardholders/cardholder_id"

	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
require 'uri'
require 'net/http'

url = URI("https://issuing.sandbox.api.thepennyinc.com/cardholders/cardholder_id")

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
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://issuing.sandbox.api.thepennyinc.com/cardholders/cardholder_id")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://issuing.sandbox.api.thepennyinc.com/cardholders/cardholder_id', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://issuing.sandbox.api.thepennyinc.com/cardholders/cardholder_id");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

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

let request = NSMutableURLRequest(url: NSURL(string: "https://issuing.sandbox.api.thepennyinc.com/cardholders/cardholder_id")! 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()
```