Retrieve a list of subscription related transactions

Retrieve Subscription Transactions for a Payment Card

This endpoint returns a list of subscription-related transactions for a given payment card, identified by its unique paymentCardId. Each transaction record includes status, timestamps, requester details, and linked financial account and card metadata. It is useful for auditing recurring payment activity or surfacing subscription history within a partner-facing application.

Endpoint

GET /subscriptions/{paymentCardId}/transactions

Authentication

Bearer token required. Obtain via:

POST https://api.banking.netevia.dev/api/auth/v2

Include in header: Authorization: Bearer {token}
Token lifetime: 10 minutes. Refresh via POST /api/auth/refresh.

When to use

Use this endpoint when you need to display or audit the subscription transaction history tied to a specific payment card — for example, to show a cardholder their recurring charges, or to allow an admin to investigate subscription activity. It supports optional name-based filtering to narrow results to a particular subscription service or requester.

Path Parameters

ParameterTypeRequiredDescription
paymentCardIdstringYesThe unique identifier of the payment card whose subscription transactions are being retrieved.

Query Parameters

ParameterTypeRequiredDescription
filterNamestringNoOptional filter to narrow results by requester name or subscription service name. Defaults to an empty string (no filter applied).

Response

200 OK

The response is an array of subscription transaction objects. Each object includes the following fields:

Transaction Object (carddigitalwallettokenresponse)

FieldTypeDescription
idstringUnique identifier for the subscription transaction.
statusstringCurrent status of the transaction (e.g., Completed, Pending, Failed).
createdAtstring (date-time)ISO 8601 timestamp indicating when the transaction was created.
updatedAtstring (date-time)ISO 8601 timestamp indicating when the transaction was last updated.
requesterNamestringName of the entity or service that initiated the transaction.
financialAccountstringIdentifier of the financial account associated with the subscription.
financialNamestringDisplay name of the financial account linked to the subscription.
financialNumberstringAccount number of the linked financial account (masked as XXXXXXXXXX in display contexts).
iconUrlstringURL of the icon representing the subscription service or requester.
paymentCardobjectNested object with details about the payment card used. See paymentCard fields below.

Nested paymentCard Object

FieldTypeDescription
idstringUnique identifier of the payment card.
expirationDatestringCard expiration date.
last4stringLast four digits of the card number.
cardholderstringName of the primary cardholder.
authorizedUserstringName of the authorized user associated with the card, if applicable.
departamentstringDepartment associated with the card (business context).
cardNamestringCustom name assigned to the card.
partnerNamestringName of the partner that issued the card.
formFactorstringCard form factor: Physical, Virtual, or Burner.
statusstringCurrent status of the payment card (e.g., Active, Suspended, Closed).
[
  {
    "id": "sub_txn_a1b2c3d4e5",
    "status": "Completed",
    "createdAt": "2025-07-15T13:42:00Z",
    "updatedAt": "2025-07-15T13:45:00Z",
    "requesterName": "Acme Subscriptions Inc.",
    "financialAccount": "fa_9988776655",
    "financialName": "Business Checking",
    "financialNumber": "XXXXXXXXXX",
    "iconUrl": "https://cdn.example.com/icons/acme.png",
    "paymentCard": {
      "id": "card_112233445566",
      "expirationDate": "2027-08",
      "last4": "4321",
      "cardholder": "Jane Doe",
      "authorizedUser": null,
      "departament": "Operations",
      "cardName": "Operations Card",
      "partnerName": "Netevia",
      "formFactor": "Virtual",
      "status": "Active"
    }
  }
]

Error Codes

CodeWhen it happens
400Invalid paymentCardId format or malformed query parameter
401Token missing, expired, or invalid
403Insufficient permissions to view subscription transactions for the specified card
404No transactions found for the specified paymentCardId
500Internal server error while processing the request

Common Mistakes

  • Passing an incorrect or non-existent paymentCardId — verify the card ID exists and belongs to the authenticated customer before calling this endpoint.
  • Expecting financialNumber to return a full unmasked account number — it is masked in display contexts; handle accordingly in your UI.
  • Omitting the Authorization header or using an expired token — tokens expire after 10 minutes; refresh proactively using POST /api/auth/refresh.
  • Treating the filterName parameter as case-sensitive or expecting exact-match behavior — validate the filter logic in your environment before relying on it in production.

Related Endpoints

  • GET /subscriptions/{paymentCardId} — Retrieve subscription details for a specific payment card
  • GET /subscriptions — List all subscriptions for the authenticated customer
  • GET /payment-cards/{paymentCardId} — Retrieve details of a specific payment card

Example

curl -X GET "https://api.banking.netevia.dev/subscriptions/card_112233445566/transactions?filterName=Acme" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"
Path Params
string
required
Query Params
string
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json