Get payment cards

View Payment Card Nicknames

The View Payment Card Nicknames endpoint retrieves all payment cards associated with the authenticated user's profile, returning card identifiers alongside their user-defined nicknames. This enables partners to display friendly card names in their interfaces, making it easier for customers to identify and manage their cards. The response includes full card metadata such as card type, status, network, expiration date, and spending limits.

Endpoint

GET /api/paymentCards/viewNickNames

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 displaying a card selection screen or card management dashboard for a customer, where friendly card names improve usability. It is also useful when building card-switching flows, verifying which cards a user has available, or syncing card metadata for display in partner applications.

Response

200 OK

Returns an array of payment card objects. Each object contains the following fields:

FieldTypeDescription
highnotePaymentCardIdstringInternal payment card identifier
userProfileIdinteger (int32)ID of the user profile associated with this card
paymentCardNamestringUser-defined nickname for the card
maxTotalSpendinginteger (int64)Maximum total spending limit for the card (nullable)
maxTransactionsCountinteger (int32)Maximum number of transactions allowed (nullable)
totalSpendinginteger (int64)Cumulative amount spent on this card (nullable)
totalTransactionsCountinteger (int32)Total number of transactions made on this card (nullable)
typeinteger (int32)Card type: 0=Unknown, 1=Physical, 2=Virtual, 3=Burner, 4=Other
expirationDatestring (date-time)Card expiration date and time in ISO 8601 format (nullable)
activebooleanWhether the card is currently active
last4stringLast four digits of the card number (nullable)
binstringBank Identification Number (BIN) of the card (nullable)
networkstringCard network (e.g., VISA, MASTERCARD) (nullable)
formFactorstringPhysical form factor of the card (nullable)
statusinteger (int32)Card status: 0=Unknown, 1=Active, 2=Suspended, 3=Closed
partnerIdinteger (int32)Partner identifier associated with this card (nullable)
authorizationControlsarrayList of authorization control rules applied to the card (nullable)
cardProfileSetIdstringID of the card profile set assigned to this card (nullable)
financialAccountIdstringID of the financial account linked to this card (nullable)
cardProfileSetobjectCard profile set details including design and product information (nullable)
syncSubDatestring (date-time)Timestamp of last synchronization (nullable)
reissuedCardIdstringID of the replacement card if this card was reissued (nullable)
[
  {
    "highnotePaymentCardId": "pc_01HXYZ1234ABCD5678EFGH90IJ",
    "userProfileId": 10042,
    "paymentCardName": "My Business Visa",
    "maxTotalSpending": 500000,
    "maxTransactionsCount": 100,
    "totalSpending": 123400,
    "totalTransactionsCount": 17,
    "type": 1,
    "expirationDate": "2027-08-31T23:59:59Z",
    "active": true,
    "last4": "4321",
    "bin": "411111",
    "network": "VISA",
    "formFactor": "PHYSICAL",
    "status": 1,
    "partnerId": 5001,
    "authorizationControls": [],
    "cardProfileSetId": "cps_01HXYZ9876MNOP1234QRST56UV",
    "financialAccountId": "fa_01HXYZ5678WXYZ9012ABCD34EF",
    "cardProfileSet": {
      "id": "cps_01HXYZ9876MNOP1234QRST56UV",
      "name": "Standard Business Card",
      "intent": "SPENDING",
      "network": "VISA",
      "status": "ACTIVE",
      "cardProductId": "cp_01HXYZ1111BBBB2222CCCC3333",
      "displayName": "Netevia Business Visa",
      "isDefault": true,
      "description": "Standard card product for business customers"
    },
    "syncSubDate": "2026-06-07T14:30:00Z",
    "reissuedCardId": null
  },
  {
    "highnotePaymentCardId": "pc_02HXYZ9999AAAA1111BBBB2222",
    "userProfileId": 10042,
    "paymentCardName": "Online Shopping Card",
    "maxTotalSpending": null,
    "maxTransactionsCount": null,
    "totalSpending": 45000,
    "totalTransactionsCount": 8,
    "type": 2,
    "expirationDate": "2026-12-31T23:59:59Z",
    "active": true,
    "last4": "8890",
    "bin": "424242",
    "network": "VISA",
    "formFactor": "VIRTUAL",
    "status": 1,
    "partnerId": 5001,
    "authorizationControls": [],
    "cardProfileSetId": "cps_01HXYZ9876MNOP1234QRST56UV",
    "financialAccountId": "fa_01HXYZ5678WXYZ9012ABCD34EF",
    "cardProfileSet": null,
    "syncSubDate": "2026-06-07T14:30:00Z",
    "reissuedCardId": null
  }
]

Error Codes

CodeWhen it happens
401Token missing, expired, or invalid
403Insufficient permissions to access payment card data
404No payment cards found for the authenticated user
500Internal server error

Common Mistakes

  • The paymentCardName field contains the user-defined nickname; do not confuse it with the card network name stored in network.
  • The type and status fields return integer enum values, not string labels — map them in your application (e.g., type: 2 = Virtual Card, status: 1 = Active).
  • A card with active: true may still have a status other than 1 (Active) if it is in a transitional state; always check both fields when determining usability.
  • Spending values (maxTotalSpending, totalSpending) are returned as integers in the smallest currency unit (cents). Divide by 100 to display dollar amounts.
  • The endpoint returns cards for the authenticated user only; use the appropriate token scoped to the target user profile.

Related Endpoints

  • POST /api/paymentCards/setNickName — Assign or update the nickname for a specific payment card
  • GET /api/paymentCards — Retrieve full payment card details for the authenticated user
  • POST /api/paymentCards/createVirtualCard — Create a new virtual payment card
  • POST /api/paymentCards/createPhysicalCard — Create a new physical payment card
  • POST /api/paymentCards/createBurnerCard — Create a new burner payment card

Example

curl -X GET https://api.banking.netevia.dev/api/paymentCards/viewNickNames \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"
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