Skip to content

Stripe: List all issuing tokens for card

Stripe issuing.getIssuingTokens: arguments, response, policy and SDK examples.

← Issuing operations · Get started

Operation stripe.getissuingtokens

Provider route: GET /v1/issuing/tokens. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/stripe with npm, or alter-sdk-stripe with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { StripeIntegration } from "@alter-ai/stripe";
async function execute(input: Parameters<StripeIntegration["issuing"]["getIssuingTokens"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new StripeIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.issuing.getIssuingTokens(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_stripe import StripeIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = StripeIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.issuing.get_issuing_tokens(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
queryobjectRequired within parentAdditional keys: not allowed
query.cardstringRequired within parentMaximum length: 5000
query.createdJSONOptional
query.created (anyOf 1)objectAlternative
query.created (anyOf 1).gtintegerOptional
query.created (anyOf 1).gteintegerOptional
query.created (anyOf 1).ltintegerOptional
query.created (anyOf 1).lteintegerOptional
query.created (anyOf 2)integerAlternative
query.ending_beforestringOptionalMaximum length: 5000
query.expandarrayOptional
query.expand[]stringEach itemMaximum length: 5000
query.limitintegerOptional
query.starting_afterstringOptionalMaximum length: 5000
query.statusstringOptionalOne of: active, deleted, requested, suspended

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$objectRoot
dataarrayRequired within parent
data[]ModelEach itemExpand Update a token status — response body
has_morebooleanRequired within parentTrue if this list has another page of items after this one that can be fetched.
objectstringRequired within parentString representing the object’s type. Objects of the same type share the same value. Always has the value `list`.
Known values: list
urlstringRequired within parentThe URL where this list can be accessed.
Maximum length: 5000

Referenced models: Update a token status — response body

35 more schemas are linked from the tables above, on the schema pages.

Update a token status — response body
FieldTypePresenceDescription and constraints
$objectRootAn issuing token object is created when an issued card is added to a digital wallet. As a [card issuer](https://docs.stripe.com/issuing), you can [view and manage these tokens](https://docs.stripe.com/issuing/controls/token-management) through Stripe.
cardJSONRequired within parentCard associated with this token.
card (anyOf 1)stringAlternativeMaximum length: 5000
card (anyOf 2)ModelAlternativeExpand Fail a testmode card — response body
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
device_fingerprintJSONOptional
device_fingerprint (anyOf 1)stringAlternativeThe hashed ID derived from the device ID from the card network associated with the token.
Maximum length: 5000
device_fingerprint (anyOf 2)nullAlternative
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
last4stringOptionalThe last four digits of the token.
Maximum length: 5000
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
networkstringRequired within parentThe token service provider / card network associated with the token.
Known values: mastercard, visa
network_dataModelOptionalExpand Update a token status — response body — network data
network_updated_atJSONRequired within parent
network_updated_at (anyOf 1)integerAlternativeTime at which the token was last updated by the card network. Measured in seconds since the Unix epoch.
Format: unix-time
network_updated_at (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: issuing.token
statusstringRequired within parentThe usage state of the token.
Known values: active, deleted, requested, suspended
wallet_providerstringOptionalThe digital wallet for this token, if one was used.
Known values: apple_pay, google_pay, samsung_pay

Referenced models: Fail a testmode card — response body, Update a token status — response body — network data

Update a token status — response body — network data
FieldTypePresenceDescription and constraints
$objectRoot
deviceModelOptionalExpand Update a token status — response body — network data device
mastercardModelOptionalExpand Update a token status — response body — network data mastercard
typestringRequired within parentThe network that the token is associated with. An additional hash is included with a name matching this value, containing tokenization data specific to the card network.
Known values: mastercard, visa
visaModelOptionalExpand Update a token status — response body — network data visa
wallet_providerModelOptionalExpand Update a token status — response body — network data wallet provider

Referenced models: Update a token status — response body — network data device, Update a token status — response body — network data mastercard, Update a token status — response body — network data visa, Update a token status — response body — network data wallet provider

Create a cardholder — response body
FieldTypePresenceDescription and constraints
$objectRootAn Issuing `Cardholder` object represents an individual or business entity who is [issued](https://docs.stripe.com/issuing) cards.

Related guide: [How to create a cardholder](https://docs.stripe.com/issuing/cards/virtual/issue-cards#create-cardholder)
billingModelRequired within parentExpand Create a cardholder — response body — billing
companyJSONOptional
company (anyOf 1)JSONAlternativeAdditional information about a `company` cardholder.
company (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a cardholder — response body — company value tax id provided
company (anyOf 2)nullAlternative
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
emailJSONOptional
email (anyOf 1)stringAlternativeThe cardholder's email address.
Maximum length: 5000
email (anyOf 2)nullAlternative
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
individualJSONOptional
individual (anyOf 1)JSONAlternativeAdditional information about an `individual` cardholder.
individual (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a cardholder — response body — individual value card issuing, dob, first name, last name, verification
individual (anyOf 2)nullAlternative
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
metadataobjectRequired within parentSet of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Additional keys: see wildcard field
metadata.*stringAdditional keysMaximum length: 500
namestringRequired within parentThe cardholder's name. This will be printed on cards issued to them.
Maximum length: 5000
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: issuing.cardholder
phone_numberJSONOptional
phone_number (anyOf 1)stringAlternativeThe cardholder's phone number. This is required for all cardholders who will be creating EU cards. See the [3D Secure documentation](https://docs.stripe.com/issuing/3d-secure#when-is-3d-secure-applied) for more details.
Maximum length: 5000
phone_number (anyOf 2)nullAlternative
preferred_localesJSONOptional
preferred_locales (anyOf 1)arrayAlternativeThe cardholder’s preferred locales (languages), ordered by preference. Locales can be `de`, `en`, `es`, `fr`, or `it`.
This changes the language of the [3D Secure flow](https://docs.stripe.com/issuing/3d-secure) and one-time password messages sent to the cardholder.
preferred_locales (anyOf 1)[]stringEach itemKnown values: de, en, es, fr, it
preferred_locales (anyOf 2)nullAlternative
requirementsModelRequired within parentExpand Create a cardholder — response body — requirements
spending_controlsJSONOptional
spending_controls (anyOf 1)JSONAlternativeRules that control spending across this cardholder's cards. Refer to our [documentation](https://docs.stripe.com/issuing/controls/spending-controls) for more details.
spending_controls (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a cardholder — response body — spending controls value allowed card presences, allowed categories, allowed merchant countries, blocked card presences, blocked categories, blocked merchant countries, spending limits, spending limits currency
spending_controls (anyOf 2)nullAlternative
statusstringRequired within parentSpecifies whether to permit authorizations on this cardholder's cards.
Known values: active, blocked, inactive
typestringRequired within parentOne of `individual` or `company`. See [Choose a cardholder type](https://docs.stripe.com/issuing/other/choose-cardholder) for more details.
Known values: company, individual

Referenced models: Create a cardholder — response body — billing, Create a cardholder — response body — spending controls value allowed card presences, allowed categories, allowed merchant countries, blocked card presences, blocked categories, blocked merchant countries, spending limits, spending limits currency, Create a cardholder — response body — company value tax id provided, Create a cardholder — response body — individual value card issuing, dob, first name, last name, verification, Create a cardholder — response body — requirements

Create a cardholder — response body — billing
FieldTypePresenceDescription and constraints
$objectRoot
addressModelRequired within parentExpand Create a Location — response body — address

Referenced models: Create a Location — response body — address

SDK function policy ID: stripe.getissuingtokens. Catalog operation: GetIssuingTokens. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Pinned headers: {"Stripe-Version": "2026-09-30.endive"}

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.