Set Card Status

Outcome

Use this guide to change the network-facing status of an existing Paymentology card.

A card-status update can activate, block, restrict, mark as lost or stolen, expire, or void an existing card. It does not create a new customer, account, card product, card, public card token, or digital-wallet token.

Use the card’s existing Paymentology public card token to identify the card.

Who this is for

AudienceResponsibility
Backend EngineerCalls the status APIs, implements idempotency and reconciliation, and stores the status-change audit record.
Product ManagerDefines permitted status transitions, activation policy, lost/stolen handling, and wallet-token behaviour.
Fraud and Compliance TeamDefines the policy for restricted, lost, stolen, and compliance-hold statuses.

Overview

Prerequisites

Before changing a card status, the following must be enabled in cooperation with Paymentology:

PrerequisiteDescription
Client and API accessA valid client_id, API credentials, and permission to call card-status endpoints.

The configuration is done during the onboarding in cooperation the Paymentology Implementation team.
Issued cardAn existing Paymentology card.
Public card tokenThe existing card’s public token, used to identify the card in the request.
Status-management policyAn agreed policy defining authorised users, valid transitions, customer communications, and operational controls.
Idempotency designA unique api_call_unique_identifier generated and persisted for each logical status-change request.
Wallet-token policyRequired if the card has linked digital-wallet tokens and the client uses Paymentology tokenisation services.

A new customer, account, card product, card, PAN, or wallet token is not required or created by this journey.

Recommended status-change flow

Retrieve the current card status

Before making a material status change, retrieve the current status and confirm that the requested transition is permitted by the client’s policy.

API Reference: Get Card Status

Use the existing public card token to retrieve the current status_nwk.

This step is especially important before activation, lost/stolen reporting, voiding, renewal, replacement, or retrying a timed-out request.


Select the target status_nwk

Use the approved network status that matches the operational event. A complete list could be found at: Card status.

Do not treat all non-1000 statuses as interchangeable. Lost, stolen, restricted, compliance, expired, and void cases have different operational and scheme consequences.


Set the card status

API Reference: Set Card Status V2

Required inputs:

FieldValue / purpose
client_idYour Paymentology client ID.
api_call_unique_identifierUnique identifier for this logical request. Reuse it only when retrying the same request with the same payload.
tokenExisting public token for the card.
status_nwkTarget network-facing card status.

More information about the card statuses is available at Card status.

Optional inputs:

FieldPurpose
action1 for a normal status change. 2 only for status handling related to a renewed card.
noteShort operational note, maximum 200 characters.
update_digital_tokenV2 field intended to control linked digital-token handling. Validate its deployed behaviour before relying on it.

Confirm and reconcile the result

On success, store:

  • The public card token
  • Previous and target status_nwk
  • api_call_unique_identifier
  • Business reason and note
  • Operator or source system
  • Timestamp
  • Whether wallet-token handling was requested
  • The response from Paymentology

Retrieve the card status again when the action is operationally significant or when the original request timed out.


Renewal-related status handling

Use action: 1 for normal status changes.

Use action: 2 only when the status update is associated with a renewed card.

actionBehaviour
1Normal status change. This is the default when action is omitted.
2Renewal-related status handling. The status retained during renewal can override the incoming status_nwk. If no renewed card is found, the request behaves as a normal status change.

Do not use action: 2 to renew or replace a card. Use the Card Renewal V2 endpoint for renewal or replacement.

What is changed by Set Card Status

RecordChanged by Set Card Status?
Existing cardYes; the network-facing status_nwk changes.
Linked digital-wallet tokensMay be affected, subject to the deployed tokenisation configuration and status-sync behaviour.
CustomerNo.
AccountNo.
Card productNo.
PANNo.
Public card tokenNo; the existing value identifies the card.
New wallet tokenNo.

Important considerations

  • Card status is different from tok_flags. Use public token flags to control transaction behaviour, not to represent lost, stolen, blocked, or void lifecycle events.
  • V2 supports idempotency. Persist api_call_unique_identifier before calling the API and reuse it only for an unchanged retry.
  • A timeout is not evidence that the status did not change. Retrieve the current card status before retrying.

Linked digital-wallet tokens

Validate the wallet-token behaviour in UAT before publishing it as a firm operational contract.

The linked digital tokens are:

  • Unsuspended when status_nwk is set to 1000
  • Deleted when status_nwk is set to 1199
  • Suspended for other status values

Do not assume that update_digital_token produces a deterministic wallet-token outcome until this has been tested against the deployed database procedures and tokenisation configuration.

Testing

Test caseExpected result
Activate cardstatus_nwk changes to 1000 and the card follows the agreed activation policy.
Temporary blockstatus_nwk changes to 1005 and card transactions are declined according to the configured behaviour.
Lost-card reportstatus_nwk changes to 1041 and the expected lost-card processing occurs.
Stolen-card reportstatus_nwk changes to 1043 and the expected stolen-card processing occurs.
Compliance holdstatus_nwk changes to 1011 and the card follows the compliance restriction policy.
Void cardstatus_nwk changes to 1009 or 1199 according to the agreed retirement policy.
Invalid statusThe request fails validation and the existing card status remains unchanged.
Invalid public tokenThe request fails and no card status changes.
Duplicate submissionRepeating the same request with the same idempotency identifier does not produce an unintended additional update.
Timeout and reconciliationThe client can determine the final card status before deciding whether to retry.
Renewal-related actionaction: 2 follows the expected renewal-specific behaviour only when a renewed card exists.
Linked wallet-token handlingWallet-token outcomes match the agreed and UAT-validated status-sync policy.
Audit trailThe client stores the request, response, reason, operator, and resulting status.

Errors, retries, and request correction

Use header.error_id and header.error_desc as the primary outcome signal. Do not decide whether to retry from the HTTP status alone.

A retry must always reuse the same api_call_unique_identifier and identical payload. A changed target status, token, action, note, or wallet-update setting is a new business request and requires a new identifier.

Retry automatically

Error IDError descriptionAutomatic retry?Required retry behaviour
No responseNo PayAPI response receivedYesRetry the same payload and identifier after backoff.
1066Original request still processing. Please try again later.Yes, after waitingDo not run in parallel; retry the same request when processing has had time to complete.
987We are temporarily unable to handle the request. Please try again later.YesBounded retry with the same payload and identifier.
988Error executing Request. Contact Paymentology for supportYesBounded retry with the same payload and identifier.
989Error executing Request. Contact Paymentology for supportYesControlled retry with the same payload and identifier.

Do not retry automatically

Error IDError descriptionAutomatic retry?Required action
995model Validation FailedNoCorrect the invalid field or request format, then submit a new business request with a new identifier.
990The client_id is invalid! Please provide a valid client idNoCorrect the client ID or target-environment configuration.
993api_call_unique_identifier already been used!NoReconcile the original operation. Use a new identifier only for a genuinely new status-change request.
994The token is invalid !NoValidate the public card token and its client ownership.
996Permission denied ! The client does not have access to this web service. Contact PaymentologyNoCorrect client entitlement or API access in the target environment.
997Description varies; for example, Provided card and account are not linkedNoCorrect the missing card, account, mapping, or configuration defect indicated by error_desc.
1060Failed to set card status at the moment please try againNo automatic retryRetrieve the current card status, reconcile the outcome, and escalate repeated failures.

Related APIs and documentation


Did this page help you?