> 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 card product's BIN range

GET https://issuing.sandbox.api.thepennyinc.com/products/{card_product_id}/bins/{bin_id}/ranges/{bin_range_id}

Get the full details of a single BIN range configured for a BIN on this card product.

Required permissions: `card_product:read`.

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

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

- `card_product_id` (string, required)
- `bin_id` (string, required)
- `bin_range_id` (string, required)

## Response

### 200

The BIN range.

- `bin_range_id` (string, required) — Penny's unique identifier for this BIN range.
- `version` (integer, required) — A number that increases each time this range's details change. Use it to confirm you are looking at the latest information.
- `version_time` (datetime, required) — The date and time this range's details were last changed.
- `bin_id` (string, required) — The BIN this range belongs to.
- `active` (boolean, required) — Whether this BIN range is currently active for card issuance.
- `status` (enum, required) — This BIN range's current lifecycle status: 'reserved' (not yet in use), 'active', 'deactivated', or 'deprecated' (should not be used for new issuance).
  - Allowed values: `reserved`, `active`, `deactivated`, `deprecated`
- `currency` (enum, required) — The currency cards issued from this range are denominated in.
  - Allowed values: `USD`
- `capabilities` (BinRangeCapabilitiesResponse, required) — The payment capabilities available to cards issued from this range.

## 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 card product, BIN, or BIN range 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

### BinRangeCapabilitiesResponse

The payment capabilities available to cards issued from this BIN range.

- `contactless_payments` (boolean, required) — Whether cards in this range support tap-to-pay (contactless) transactions.
- `ecommerce_enabled` (boolean, required) — Whether cards in this range can be used for online purchases.
- `international` (BinRangeInternationalCapabilitiesResponse, required) — International acceptance settings for cards in this range.
- `supported_form_factors` (list of enum, required) — The card form factors supported by this range.
  - Allowed values: `virtual`
- `supported_usage_types` (list of enum, required) — The usage types permitted for cards in this range.
  - Allowed values: `single_use`, `single_reload`, `reloadable`

### BinRangeInternationalCapabilitiesResponse

International transaction capabilities for cards in this BIN range.

- `card_present_enabled` (boolean, required) — Whether international in-person transactions are permitted.
- `card_not_present_enabled` (boolean, required) — Whether international online (card-not-present) transactions are permitted.
- `cross_border_authorization_enabled` (boolean, required) — Whether authorizations that cross international borders are permitted.

## Examples

**Response**

```json
{
  "bin_range_id": "bin_range_01937b28-f048-77de-8ef4-f0487deef42d",
  "version": 1,
  "version_time": "2024-01-15T10:30:00Z",
  "bin_id": "bin_01937000-0592-7190-87e7-05921907e7c5",
  "active": true,
  "status": "reserved",
  "currency": "USD",
  "capabilities": {
    "contactless_payments": true,
    "ecommerce_enabled": true,
    "international": {
      "card_present_enabled": true,
      "card_not_present_enabled": true,
      "cross_border_authorization_enabled": true
    },
    "supported_form_factors": [
      "virtual"
    ],
    "supported_usage_types": [
      "single_use"
    ]
  }
}
```

**SDK Code**

```python
import requests

url = "https://issuing.sandbox.api.thepennyinc.com/products/card_product_id/bins/bin_id/ranges/bin_range_id"

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

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

print(response.json())
```

```javascript
const url = 'https://issuing.sandbox.api.thepennyinc.com/products/card_product_id/bins/bin_id/ranges/bin_range_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/products/card_product_id/bins/bin_id/ranges/bin_range_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/products/card_product_id/bins/bin_id/ranges/bin_range_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/products/card_product_id/bins/bin_id/ranges/bin_range_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/products/card_product_id/bins/bin_id/ranges/bin_range_id', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://issuing.sandbox.api.thepennyinc.com/products/card_product_id/bins/bin_id/ranges/bin_range_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/products/card_product_id/bins/bin_id/ranges/bin_range_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()
```