> ## Documentation Index
> Fetch the complete documentation index at: https://help.narmi.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Retrieve card subscriptions
> Retrieve card subscriptions for a specified card.
All monetary values are represented in minor units, or the smallest unit of the currency with no decimal (e.g., cents). For example, $10.00 is represented as 1000.
How can we improve these docs? Share your feedback.
## OpenAPI
````json GET /v1/cards/{card_id}/subscriptions/
{
"openapi": "3.0.3",
"info": {
"title": "Narmi Public API",
"version": "v1 (main)",
"description": "To read about Public API access and authentication, go to [API Overview](https://docs.narmi.com/docs/narmi-developer-docs/xl9dvbz84o11l-introduction).\n\n### Content types\n\nRequests and responses default to JSON. To use [TOON](https://toonformat.dev/) (Token-Oriented Object Notation), a compact, lossless encoding of JSON that uses fewer tokens in LLM contexts, send `Content-Type: application/toon` for request bodies and `Accept: application/toon` for responses.",
"termsOfService": "https://www.narmi.com/policies/developer-terms-conditions",
"contact": {
"name": "Narmi Support",
"email": "support@narmi.com"
}
},
"servers": [
{
"url": "https://api.sandbox.narmi.dev/",
"description": ""
}
],
"tags": [
{
"name": "accessibility"
},
{
"name": "account balances"
},
{
"name": "account opening"
},
{
"name": "accounts"
},
{
"name": "ach companies"
},
{
"name": "ach destinations"
},
{
"name": "ach import"
},
{
"name": "ach nacha passthrough"
},
{
"name": "ach payments"
},
{
"name": "ach transfers"
},
{
"name": "alerts"
},
{
"name": "automatic savings enrollment"
},
{
"name": "bill pay"
},
{
"name": "bulk payment templates"
},
{
"name": "bulk payments"
},
{
"name": "card linked offers"
},
{
"name": "cards"
},
{
"name": "data access management"
},
{
"name": "deposits"
},
{
"name": "documents"
},
{
"name": "enrollments"
},
{
"name": "express-checkout"
},
{
"name": "external transactions"
},
{
"name": "fedwire destinations"
},
{
"name": "fedwire templates"
},
{
"name": "file imports"
},
{
"name": "income source"
},
{
"name": "instant transfers"
},
{
"name": "institution"
},
{
"name": "international wires"
},
{
"name": "invoices"
},
{
"name": "loan autopay"
},
{
"name": "me"
},
{
"name": "merchants"
},
{
"name": "mfa"
},
{
"name": "payees"
},
{
"name": "payments"
},
{
"name": "ping"
},
{
"name": "receipts"
},
{
"name": "recipients"
},
{
"name": "reports"
},
{
"name": "same-day transfers"
},
{
"name": "scheduled transfers"
},
{
"name": "search"
},
{
"name": "subscriptions"
},
{
"name": "support"
},
{
"name": "surveys"
},
{
"name": "swift transactions"
},
{
"name": "swift wire templates"
},
{
"name": "teams"
},
{
"name": "threads"
},
{
"name": "transactions"
},
{
"name": "unverified ach reversals"
},
{
"name": "unverified ach transactions"
},
{
"name": "users"
},
{
"name": "whatismyip"
},
{
"name": "wire import"
},
{
"name": "wire recipients"
},
{
"name": "wires"
}
],
"x-stoplight": {
"id": "68n444msv6n7x"
},
"paths": {
"/v1/cards/{card_id}/subscriptions/": {
"get": {
"operationId": "cards_subscriptions_retrieve",
"description": "Retrieve card subscriptions for a specified card.\n\nAll monetary values are represented in minor units, or the smallest unit of the currency with no decimal (e.g., cents). For example, $10.00 is represented as 1000.\n\n\n\nHow can we improve these docs? Share your feedback.",
"summary": "Retrieve card subscriptions",
"parameters": [
{
"in": "path",
"name": "card_id",
"schema": {
"type": "string"
},
"description": "The id of the card to fetch subscriptions for.",
"required": true
},
{
"in": "query",
"name": "end_date",
"schema": {
"type": "string",
"format": "date",
"default": "2025-12-31"
},
"description": "Optional `end_date` parameter. The end date for card subscriptions (YYYY-MM-DD)."
},
{
"in": "query",
"name": "format",
"schema": {
"type": "string",
"enum": [
"json",
"toon"
]
}
},
{
"in": "query",
"name": "start_date",
"schema": {
"type": "string",
"format": "date",
"default": "2025-01-01"
},
"description": "Optional `start_date` parameter. The start date for card subscriptions (YYYY-MM-DD)."
}
],
"tags": [
"cards"
],
"security": [
{
"oauth2": [
"read"
]
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CardSubscriptionsAndTransactions"
},
"examples": {
"READ": {
"value": {
"subscriptions": [
{
"id": "2ee981f5-897c-48a2-afd9-cd8b4f9a42fe",
"amount": "10.00",
"category_code": "1234",
"merchant_name": "Spotify",
"state": "current",
"recurrence_frequency": "monthly",
"next_payment_date": "2024-06-01"
},
{
"id": "b8efe54e-4fa0-4c46-afa7-59b106e8a99e",
"amount": "2.99",
"category_code": "5678",
"merchant_name": "Apple",
"state": "cancelled",
"recurrence_frequency": "monthly",
"next_payment_date": null
}
],
"monthly_transactions": [
{
"month": "2024-03",
"total": "12.99",
"transaction_count": 2,
"transactions": [
{
"id": "9e0959d3-c92a-410f-a4dc-4b0024357a36",
"amount": "10.00",
"category_code": "1234",
"merchant_name": "Spotify",
"transaction_date": "2024-03-01",
"subscription_id": "2ee981f5-897c-48a2-afd9-cd8b4f9a42fe"
},
{
"id": "01b77ab6-e86e-4a1c-a45e-8ee2c5ec43e8",
"amount": "2.99",
"merchant_name": "Apple",
"category_code": "5678",
"transaction_date": "2024-03-10",
"subscription_id": "b8efe54e-4fa0-4c46-afa7-59b106e8a99e"
}
]
},
{
"month": "2024-04",
"total": "12.99",
"transaction_count": 2,
"transactions": [
{
"id": "26110538-0c52-45c9-a729-846f05b35cde",
"amount": "10.00",
"category_code": "1234",
"merchant_name": "Spotify",
"transaction_date": "2024-04-01",
"subscription_id": "2ee981f5-897c-48a2-afd9-cd8b4f9a42fe"
},
{
"id": "2c391036-d5b3-4fe0-99cd-25cd4e063174",
"amount": "2.99",
"merchant_name": "Apple",
"category_code": "5678",
"transaction_date": "2024-04-10",
"subscription_id": "b8efe54e-4fa0-4c46-afa7-59b106e8a99e"
}
]
},
{
"month": "2024-05",
"total": "10.00",
"transaction_count": 1,
"transactions": [
{
"id": "fde11ee0-3cb6-432d-b3cc-363ae10b0f2d",
"amount": "10.00",
"category_code": "1234",
"merchant_name": "Spotify",
"transaction_date": "2024-05-01",
"subscription_id": "2ee981f5-897c-48a2-afd9-cd8b4f9a42fe"
}
]
}
]
}
}
}
},
"application/toon": {
"schema": {
"$ref": "#/components/schemas/CardSubscriptionsAndTransactions"
}
}
},
"description": ""
},
"400": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
},
"id": {
"type": "string"
}
}
},
"examples": {
"ValidationError": {
"value": {
"message": "Invalid input.",
"id": "invalid"
}
}
}
},
"application/toon": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
},
"id": {
"type": "string"
}
}
},
"examples": {
"ValidationError": {
"value": {
"message": "Invalid input.",
"id": "invalid"
}
}
}
}
},
"description": ""
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": {},
"description": "Unspecified response body"
},
"examples": {
"ErrorCardSubscriptionPermissionExample": {
"value": {
"message": "User does not have the necessary card subscription management feature.",
"id": "permission_denied"
}
},
"ErrorCardPermissionExample": {
"value": {
"message": "User does not have the \"cards\" feature.",
"id": "permission_denied"
}
}
}
},
"application/toon": {
"schema": {
"type": "object",
"additionalProperties": {},
"description": "Unspecified response body"
},
"examples": {
"ErrorCardSubscriptionPermissionExample": {
"value": {
"message": "User does not have the necessary card subscription management feature.",
"id": "permission_denied"
}
},
"ErrorCardPermissionExample": {
"value": {
"message": "User does not have the \"cards\" feature.",
"id": "permission_denied"
}
}
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"message": {
"type": "string"
}
}
},
"examples": {
"NotFound": {
"value": {
"id": "not_found",
"message": "Card not found"
}
}
}
},
"application/toon": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"message": {
"type": "string"
}
}
},
"examples": {
"NotFound": {
"value": {
"id": "not_found",
"message": "Card not found"
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": {},
"description": "Unspecified response body"
},
"examples": {
"VisaExceptionError": {
"value": {
"id": "service_failure_error",
"message": "Sorry, we were unable to process your request, please check back soon."
}
}
}
},
"application/toon": {
"schema": {
"type": "object",
"additionalProperties": {},
"description": "Unspecified response body"
},
"examples": {
"VisaExceptionError": {
"value": {
"id": "service_failure_error",
"message": "Sorry, we were unable to process your request, please check back soon."
}
}
}
}
},
"description": ""
}
},
"x-permissions": {
"allOf": [
{
"feature": {
"name": "cards"
}
},
{
"feature": {
"name": "integrations.base.Card_permission"
}
},
{
"feature": {
"name": "enable_subscription_management"
}
}
]
},
"x-stoplight": {
"id": "insbbgsoclbop"
}
}
}
},
"components": {
"schemas": {
"CardSubscriptionsAndTransactions": {
"type": "object",
"properties": {
"monthly_transactions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CardTransactionsByMonth"
}
},
"subscriptions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CardSubscriptions"
}
}
},
"required": [
"monthly_transactions",
"subscriptions"
],
"x-stoplight": {
"id": "gri4ifgvdrsvw"
}
},
"CardTransactionsByMonth": {
"type": "object",
"properties": {
"month": {
"type": "string"
},
"total": {
"type": "number",
"format": "double",
"maximum": 1000000000000000000,
"minimum": -1000000000000000000,
"exclusiveMaximum": true,
"exclusiveMinimum": true
},
"transaction_count": {
"type": "integer"
},
"transactions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RecurringTransaction"
}
}
},
"required": [
"month",
"total",
"transaction_count",
"transactions"
],
"x-stoplight": {
"id": "terphibvp3zyp"
}
},
"CardSubscriptions": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"amount": {
"type": "number",
"format": "double",
"maximum": 1000000000000000000,
"minimum": -1000000000000000000,
"exclusiveMaximum": true,
"exclusiveMinimum": true
},
"category_code": {
"type": "string"
},
"merchant_name": {
"type": "string"
},
"state": {
"$ref": "#/components/schemas/CardSubscriptionsStateEnum"
},
"recurrence_frequency": {
"oneOf": [
{
"$ref": "#/components/schemas/RecurrenceFrequencyEnum"
},
{
"$ref": "#/components/schemas/BlankEnum"
}
]
},
"next_payment_date": {
"type": "string",
"format": "date",
"nullable": true
}
},
"required": [
"amount",
"category_code",
"id",
"merchant_name",
"next_payment_date",
"recurrence_frequency",
"state"
],
"x-stoplight": {
"id": "tzfuauxjtqn3q"
}
},
"RecurringTransaction": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"amount": {
"type": "number",
"format": "double",
"maximum": 1000000000000000000,
"minimum": -1000000000000000000,
"exclusiveMaximum": true,
"exclusiveMinimum": true
},
"category_code": {
"type": "string"
},
"transaction_date": {
"type": "string",
"format": "date"
},
"merchant_name": {
"type": "string"
},
"subscription_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"amount",
"category_code",
"id",
"merchant_name",
"subscription_id",
"transaction_date"
],
"x-stoplight": {
"id": "ldemqix6pa0tc"
}
},
"CardSubscriptionsStateEnum": {
"enum": [
"current",
"new",
"cancelled"
],
"type": "string",
"description": "* `current` - current\n* `new` - new\n* `cancelled` - cancelled",
"x-stoplight": {
"id": "hcp1u8tvpuntl"
}
},
"RecurrenceFrequencyEnum": {
"enum": [
"daily",
"semi-monthly",
"monthly",
"bimonthly",
"quarterly",
"biannually",
"annually"
],
"type": "string",
"description": "* `daily` - daily\n* `semi-monthly` - semi-monthly\n* `monthly` - monthly\n* `bimonthly` - bimonthly\n* `quarterly` - quarterly\n* `biannually` - biannually\n* `annually` - annually\n* `` - ",
"x-stoplight": {
"id": "hnoqaesl0wqdw"
}
},
"BlankEnum": {
"enum": [
""
],
"x-stoplight": {
"id": "kjdrahkcokejl"
}
}
},
"securitySchemes": {
"oauth2": {
"type": "oauth2",
"flows": {
"authorizationCode": {
"authorizationUrl": "/v2/oauth/authorize/",
"tokenUrl": "/v2/oauth/token/",
"refreshUrl": "/v2/oauth/token/",
"scopes": {
"introspection": "Permit introspection on a valid active bearer token.",
"openid": "OpenID Connect scope",
"offline_access": "Includes long-lived refresh token along with access token",
"claudeai": "Authorizes access to Claude AI services.",
"read": "View your banking data.",
"write": "Update your data",
"banking:accounts:read": "Can read account information.",
"banking:transactions:read": "Can read transaction information.",
"banking:scheduled_transfers:read": "Can read scheduled transfer information.",
"banking:scheduled_transfers:write": "Can create and update scheduled transfers.",
"banking:accounts:write": "Can update account information.",
"banking:transactions:write": "Can update transaction information.",
"banking:users:read": "Can read user profile information.",
"banking:users:write": "Can update user profile information.",
"banking:products:read": "Can read product information.",
"banking:documents:read": "Can read user statements and documents.",
"banking:documents:write": "Can create and download document archives.",
"banking:support_schedules:read": "Can read institution schedule and Federal Reserve holiday information.",
"banking:payees:read": "Can read bill pay payee information.",
"banking:payees:write": "Can create, update, and delete bill pay payees.",
"banking:payments:read": "Can read bill pay payment information.",
"banking:payments:write": "Can create and delete bill pay payments.",
"banking:deposits:read": "Can read deposit information.",
"banking:deposits:write": "Can create and update deposits.",
"banking:recipients:read": "Can read recipient information.",
"banking:recipients:write": "Can create and update recipients.",
"banking:subscriptions:read": "Can read webhook subscription information.",
"banking:subscriptions:write": "Can create and update webhook subscriptions.",
"banking:transfers:read": "Can read transfer information.",
"banking:transfers:write": "Can create transfers.",
"banking:wires:read": "Can read wire information.",
"banking:wires:write": "Can create wires.",
"profile": "Standard claim for extended user information",
"email": "User registered email address",
"write:preferences": "Read and write user preferences",
"read:profile": "Access extended information about the user including address"
}
}
}
}
}
}
}
````