Get Payment Cards features

Get Payment Card Features

This endpoint returns the set of features that are enabled and available for a given payment card. The response is an array of feature identifiers, each representing a capability such as activating the card, locking/unlocking it, setting a PIN, or viewing spending reports. Use this endpoint to determine which card management actions are permitted for a card before presenting options to a customer.

Endpoint

GET /api/paymentCards/cardFeatures

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 building a card management UI to dynamically display only the actions available for a given card. The available features may differ by card type (Physical, Virtual, or Burner) or by the card's current state (e.g., a closed card will not expose Activate or LockUnlock). Checking this endpoint before rendering controls prevents users from attempting unsupported operations.

Query Parameters

ParameterTypeRequiredDescription
cardIdstringNoThe unique identifier of the payment card whose features should be returned.

Response

200 OK

Returns an array of feature strings. Each element is one of the following enumerated values:

ValueDescription
ActivateThe card can be activated.
CloseThe card can be closed/cancelled.
LockUnlockThe card can be locked or unlocked.
ReissueCardThe card can be reissued (e.g., replacement).
SetUpPinA PIN can be set or changed for the card.
OrderStatusThe shipping or order status of the card can be checked.
SpendingReportA spending report is available for the card.
TransactionLimitsTransaction limits can be viewed and modified.
TransactionLimitsViewOnlyTransaction limits can be viewed but not modified.
[
  "Activate",
  "LockUnlock",
  "SetUpPin",
  "SpendingReport",
  "TransactionLimits"
]

Error Codes

CodeWhen it happens
400The cardId parameter is malformed or in an invalid format.
401Token missing, expired, or invalid.
403Insufficient permissions to view features for this card.
404No card found matching the provided cardId.
500Internal server error.

Common Mistakes

  • Omitting the cardId query parameter may return a default or empty feature set rather than card-specific features; always pass a specific card ID to get accurate results.
  • Rendering all possible card actions in the UI without first checking this endpoint can expose options that the card's current state or type does not support, leading to failed API calls downstream.
  • The TransactionLimits and TransactionLimitsViewOnly values are mutually exclusive — if TransactionLimitsViewOnly is present, do not render controls that write limit changes.

Related Endpoints

  • GET /api/paymentCards — Retrieve all payment cards for a customer.
  • POST /api/paymentCards/lockUnlock — Lock or unlock a payment card.
  • POST /api/paymentCards/setPin — Set or update the PIN for a payment card.
  • POST /api/paymentCards/activate — Activate a payment card.
  • POST /api/paymentCards/reissue — Reissue a payment card.

Example

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