List spending cards
GET
/issuing/{accountID}/cards
List Moov issued cards existing for the account.
To access this endpoint using an access token
you'll need to specify the /accounts/{accountID}/issued-cards.read scope.
curl -X GET "https://api.moov.io/issuing/{accountID}/cards" \
-H "Authorization: Bearer {token}" \
-H "X-Moov-Version: v2027.01.00"mc, _ := moov.NewClient()
var accountID string
mc.ListIssuedCards(ctx, accountID)
The request completed successfully.
[
{
"issuedCardID": "string",
"brand": "Visa",
"lastFourCardNumber": "string",
"expiration": {
"month": "01",
"year": "21"
},
"fundingWalletID": "string",
"authorizedUserAccountID": "string",
"nickname": "string",
"metadata": {
"optional": "metadata"
},
"billingAddress": {
"addressLine1": "123 Main Street",
"addressLine2": "Apt 302",
"city": "Boulder",
"stateOrProvince": "CO",
"postalCode": "80301",
"country": "US"
},
"state": "active",
"formFactor": "virtual",
"controls": {
"singleUse": true,
"velocityLimits": [
{
"amount": 10000,
"count": 0,
"interval": "per-transaction",
"amountUsed": 0,
"amountRemaining": 0,
"countUsed": 0,
"countRemaining": 0,
"resetsOn": "2019-08-24T14:15:22Z"
}
],
"merchantCategoryRestrictions": {
"mode": "allow",
"categories": [
"advertising"
],
"customMCCs": [
"string"
],
"exemptMerchants": [
{
"networkID": "string",
"descriptorPattern": "string",
"name": "string"
}
]
},
"merchantRestrictions": {
"mode": "allow",
"merchants": [
{
"networkID": "string",
"descriptorPattern": "string",
"name": "string"
}
]
},
"allowedSchedule": {
"timezone": "string",
"windows": [
{
"days": [
"monday"
],
"startTime": "string",
"endTime": "string"
}
]
},
"expiresOn": "2019-08-24T14:15:22Z"
},
"createdOn": "2019-08-24T14:15:22Z",
"updatedOn": "2019-08-24T14:15:22Z"
}
]Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The request contained missing or expired authentication.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The user is not authorized to make the request.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
Request was refused due to rate limiting.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The request failed due to an unexpected error.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The request failed because a downstream service failed to respond.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
Headers
X-Moov-Version
string
Set this header to v2027.01.00 to use the API described in this specification.
When omitted, the server defaults to v2024.01.00, the earliest supported version, which may not match the behavior documented here.
An unrecognized well-formed version uses the latest supported version that is not newer than the requested version, when one exists.
For example,
v2026.08.00 uses v2026.07.00.
A malformed value, such as 2022, returns a 404 response.
Possible values:
v2027.01.00
Path parameters
Query parameters
states
array
Optional, comma-separated states to filter the Moov list issued cards response. For example
active,closed
Response
billingAddress
object
Billing address associated with the card.
Show child attributes
billingAddress
brand
string<enum>
The card brand.
Possible values:
American Express,
Discover,
Mastercard,
Visa,
Unknown
controls
object
Spend controls applied to an issued card, including velocity runtime state.
Show child attributes
controls
allowedSchedule
object
| null
Limits card usage to specific days and times.
Show child attributes
controls.allowedSchedule
timezone
string
required
IANA timezone string used to evaluate window boundaries against the authorization time.
windows
array<object>
required
Time windows during which authorizations on the card can be approved. Any matching window allows the transaction.
Show child attributes
controls.allowedSchedule.windows[]
days
array<string>
The days of the week this window applies to.
Possible values:
monday,
tuesday,
wednesday,
thursday,
friday,
saturday,
sunday
expiresOn
string<date-time>
| null
A spend cutoff date and time. When set, all authorizations after this datetime are declined regardless of other controls.
merchantCategoryRestrictions
object
Restricts card usage by merchant category. When not set, all categories are allowed.
Show child attributes
controls.merchantCategoryRestrictions
mode
string<enum>
required
Whether the listed items should be allowed (
allow) or blocked (block).
Possible values:
allow,
block
categories
array<string>
Predefined category groups to allow or block.
Possible values:
advertising,
airlines,
alcohol-and-bars,
car-rental,
education,
electronics,
fuel-and-gas,
gambling,
groceries,
ground-transportation,
hardware-and-home,
healthcare,
live-entertainment,
lodging,
movies,
office-supplies,
parking,
personal-care,
professional-services,
restaurants-and-dining,
retail-general,
rideshare-and-taxis,
software-and-saas,
sports-and-recreation,
subscriptions,
travel-agencies
customMCCs
array<string>
Individual merchant category codes (MCCs) to allow or block, for codes not covered by a predefined category.
exemptMerchants
array<object>
Merchants that are exempt from category restrictions regardless of their category.
merchantRestrictions
object
Restricts card usage to specific merchants, independent of merchant category.
Show child attributes
controls.merchantRestrictions
singleUse
boolean
Indicates if the card is single-use. If true, the card closes after the first authorization.
velocityLimits
array<object>
The spending limits per time interval, including current runtime state.
Show child attributes
controls.velocityLimits[]
formFactor
string<enum>
Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
Possible values:
virtual
metadata
object
Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
state
string<enum>
The state represents the operational status of an issued card.
Authorizations can only be approved while the card is active:
active: The card is operational and authorizations can be approved.frozen: The card is temporarily suspended and authorizations cannot be approved. Set the state back toactiveto reactivate it. A card can move betweenfrozenandactiveas often as needed.closed: The card is permanently deactivated. A card is closed by request or when it expires, and cannot be reopened.
Possible values:
active,
frozen,
closed