Activate Payment card (Only for suspend card)

Activate Payment Card

The Activate Payment Card endpoint restores a suspended payment card to active status, enabling it to be used again for transactions and payment activities. This endpoint is intended exclusively for cards that have been suspended — it does not activate newly issued cards. Once successfully reactivated, the card behaves like any other active card on the account.

Endpoint

POST /api/paymentCards/activatePaymentCard

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 a cardholder's payment card has been placed in a suspended state and needs to be restored. Common scenarios include lifting a temporary freeze placed by the customer, reversing an administrative suspension after a review, or reactivating a card that was paused due to suspected fraud that has since been resolved. Only suspended cards can be activated through this endpoint — cards in other states (e.g., closed, expired) are not eligible.

Request Body

The request body accepts a paymentCardId as the required base field. Depending on context, additional optional fields may be included.

FieldTypeRequiredDescription
paymentCardIdstringYesThe unique identifier of the suspended payment card to reactivate.
{
  "paymentCardId": "card_01HXYZ1234ABCDEF567890"
}

Response

200 OK

FieldTypeDescription
paymentCardobjectDetails of the reactivated payment card.
paymentCard.idstringUnique identifier of the payment card.
paymentCard.last4stringLast four digits of the card number.
paymentCard.binstringBank Identification Number (first six digits) of the card.
paymentCard.statusstringCurrent status of the card (e.g., ACTIVE).
paymentCard.formFactorstringCard form factor: PHYSICAL, VIRTUAL, or BURNER.
paymentCard.networkstringPayment network (e.g., VISA, MASTERCARD).
paymentCard.expirationDatestring (date-time)Card expiration date in ISO 8601 format.
paymentCard.subProfileIdintegerID of the subprofile (authorized user) associated with the card, if applicable.
paymentCard.namestringDisplay name or nickname assigned to the card.
paymentCard.errorsarrayList of error objects if the mutation encountered issues; empty on success.
mutationResultobjectTop-level mutation result wrapper.
mutationResult.errorsarrayList of top-level error objects; empty on success.
{
  "paymentCard": {
    "id": "card_01HXYZ1234ABCDEF567890",
    "last4": "4242",
    "bin": "411111",
    "status": "ACTIVE",
    "formFactor": "PHYSICAL",
    "network": "VISA",
    "expirationDate": "2027-06-30T00:00:00Z",
    "subProfileId": null,
    "name": "Business Travel Card",
    "errors": []
  },
  "mutationResult": {
    "errors": []
  }
}

Error Codes

CodeWhen it happens
400Missing required paymentCardId, malformed request body, or card is not in a suspended state
401Token missing, expired, or invalid
403Caller does not have permission to activate the specified card
404Payment card not found for the provided paymentCardId
500Internal server error

Common Mistakes

  • Attempting to activate a card that is not in a SUSPENDED state — this endpoint only works on suspended cards; cards in CLOSED or EXPIRED states cannot be reactivated.
  • Omitting paymentCardId from the request body — this field is required and the request will fail without it.
  • Using an expired or invalid Bearer token — tokens have a 10-minute lifetime and must be refreshed via POST /api/auth/refresh before expiry.
  • Confusing card activation (for newly issued cards) with card reactivation (for suspended cards) — this endpoint is for reactivation only.

Related Endpoints

  • POST /api/paymentCards/suspendPaymentCard — Suspends an active payment card, which can later be reactivated using this endpoint.
  • POST /api/paymentCards/closePaymentCard — Permanently closes a payment card; closed cards cannot be reactivated.
  • POST /api/paymentCards/getPaymentCards — Retrieves a list of payment cards for a customer, including their current status.
  • POST /api/paymentCards/issuePaymentCard — Issues a new payment card for a customer or subprofile.

Example

curl -X POST https://api.banking.netevia.dev/api/paymentCards/activatePaymentCard \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "paymentCardId": "card_01HXYZ1234ABCDEF567890"
  }'
Body Params
string
required
length ≥ 1
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request 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