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

# List card products

GET https://issuing.sandbox.api.thepennyinc.com/products/

List card products available to the caller's business.

Required permissions: `card_product:list`.

Reference: https://docs.thepennyinc.com/api-reference/penny-issuing/products-bi-ns/list

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

### Query parameters

- `program_id` (string, optional, nullable) — Filter by program ID. Only needed if your business has multiple programs.
- `status` (enum, optional, nullable) — Filter by card product status.
  - Allowed values: `draft`, `active`, `suspended`, `archived`
- `page_size` (integer, optional, default: 100) — Maximum number of results to return per page. Defaults to 100.
- `next_page_token` (string, optional, nullable) — Pagination key used to retrieve the next page of results.

## Response

### 200

The matching card products.

- `items` (list of VirtualCardProduct, required) — The list of items returned by the API.
- `count` (integer, required) — The total number of items returned in this response.
- `next_page_token` (string, optional, nullable) — A token for retrieving the next page of results, if applicable.

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

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

### VirtualCardProduct

A virtual card product, as shown to clients through the client-facing API.

- `card_product_id` (string, required) — Penny's unique identifier for this card product.
- `version` (integer, required) — A number that increases each time this product's details change. Use it to confirm you are looking at the latest information.
- `version_time` (datetime, required) — The date and time this product's details were last changed.
- `business_id` (string, required) — The business this product belongs to.
- `program_id` (string, required) — The program this product is offered under.
- `usage_type` (enum, required) — The usage type permitted for cards issued under this product.
  - Allowed values: `single_use`, `single_reload`, `reloadable`
- `expiration_date_config` (ExpirationDateConfigResponse, required) — The rules used to compute the expiration date of cards issued under this product.
- `status` (enum, required) — This product's current lifecycle status.
  - Allowed values: `draft`, `active`, `suspended`, `archived`
- `alias` (string, required) — A human-readable name for this product.
- `description` (string, optional, nullable) — An extended description of this product.
- `form_factor` (enum, optional, default: virtual) — The form of cards issued under this product.
  - Allowed values: `virtual`

### ExpirationDateConfigResponse

The rules used to compute a card's expiration date when it is issued.

- `default_expiration_months` (integer, required) — The number of months a card is valid for by default, from its issue date.
- `max_expiration_months` (integer, optional, nullable) — The longest a card issued under this product may be valid for, in months, if a limit is set.

## Examples

**Response**

```json
{
  "items": [
    {
      "card_product_id": "card_product_01937f5d-a015-7a55-818b-a015a5518b97",
      "version": 1,
      "version_time": "2024-01-15T10:30:00Z",
      "business_id": "business_01937b95-484e-75af-8c68-484e5afc68d3",
      "program_id": "program_019377de-7f88-7f02-894f-7f88f0294fcb",
      "usage_type": "single_use",
      "expiration_date_config": {
        "default_expiration_months": 48,
        "max_expiration_months": 1
      },
      "status": "draft",
      "alias": "Business Debit",
      "description": "Standard business debit card for everyday spending.",
      "form_factor": "virtual"
    }
  ],
  "count": 1,
  "next_page_token": "string"
}
```

**SDK Code**

```python
import requests

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

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

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

print(response.json())
```

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

	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/products/")

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/products/")
  .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/products/', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://issuing.sandbox.api.thepennyinc.com/products/");
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/products/")! 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()
```