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:
| Field | Type | Description |
|---|---|---|
| highnotePaymentCardId | string | Internal payment card identifier |
| userProfileId | integer (int32) | ID of the user profile associated with this card |
| paymentCardName | string | User-defined nickname for the card |
| maxTotalSpending | integer (int64) | Maximum total spending limit for the card (nullable) |
| maxTransactionsCount | integer (int32) | Maximum number of transactions allowed (nullable) |
| totalSpending | integer (int64) | Cumulative amount spent on this card (nullable) |
| totalTransactionsCount | integer (int32) | Total number of transactions made on this card (nullable) |
| type | integer (int32) | Card type: 0=Unknown, 1=Physical, 2=Virtual, 3=Burner, 4=Other |
| expirationDate | string (date-time) | Card expiration date and time in ISO 8601 format (nullable) |
| active | boolean | Whether the card is currently active |
| last4 | string | Last four digits of the card number (nullable) |
| bin | string | Bank Identification Number (BIN) of the card (nullable) |
| network | string | Card network (e.g., VISA, MASTERCARD) (nullable) |
| formFactor | string | Physical form factor of the card (nullable) |
| status | integer (int32) | Card status: 0=Unknown, 1=Active, 2=Suspended, 3=Closed |
| partnerId | integer (int32) | Partner identifier associated with this card (nullable) |
| authorizationControls | array | List of authorization control rules applied to the card (nullable) |
| cardProfileSetId | string | ID of the card profile set assigned to this card (nullable) |
| financialAccountId | string | ID of the financial account linked to this card (nullable) |
| cardProfileSet | object | Card profile set details including design and product information (nullable) |
| syncSubDate | string (date-time) | Timestamp of last synchronization (nullable) |
| reissuedCardId | string | ID 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
| Code | When it happens |
|---|---|
| 401 | Token missing, expired, or invalid |
| 403 | Insufficient permissions to access payment card data |
| 404 | No payment cards found for the authenticated user |
| 500 | Internal server error |
Common Mistakes
- The
paymentCardNamefield contains the user-defined nickname; do not confuse it with the card network name stored innetwork. - The
typeandstatusfields 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: truemay still have astatusother than1(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 cardGET /api/paymentCards— Retrieve full payment card details for the authenticated userPOST /api/paymentCards/createVirtualCard— Create a new virtual payment cardPOST /api/paymentCards/createPhysicalCard— Create a new physical payment cardPOST /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"