Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.

Skip to main content

Cancel physical cards

If a physical card is lost, stolen, damaged, or hasn't been delivered, call the cancelPhysicalCard mutation to cancel the card.

cancellation is irreversible

Canceling a physical card is a permanent action that can't be reversed. This guide explains how to cancel a physical card and how it impacts connected digital and virtual cards.

Guide​

  1. Call the cancelPhysicalCard mutation.
  2. Add the cardId for the physical card you're canceling (line 2)
  3. Select the reason for cancelling the card. (line 2).
  4. Add the CancelPhysicalCardSuccessPayload, including any information you'd like to review (line 3).
  5. Add rejections (not shown).

Mutation​

Open in API Explorer
mutation MyMutation {
cancelPhysicalCard(input: { cardId: "$YOUR_CARD_ID", reason: Lost }) {
... on CancelPhysicalCardSuccessPayload {
__typename
physicalCard {
statusInfo {
... on PhysicalCardCanceledStatusInfo {
__typename
status
reason
}
}
}
}
}
}

Payload​

The payload confirms that the physical card is Canceled (line 8) because it was reported as Lost (line 9).

{
"data": {
"cancelPhysicalCard": {
"__typename": "CancelPhysicalCardSuccessPayload",
"physicalCard": {
"statusInfo": {
"__typename": "PhysicalCardCanceledStatusInfo",
"status": "Canceled",
"reason": "Lost"
}
}
}
}
}

Digital and virtual cards​

When a physical card is canceled, digital cards linked to the physical card will also be canceled. Virtual cards will not be affected.

tip

Swan recommends only digitizing virtual cards for a safer experience.

Refer to the guides for digital and virtual cards if you need to cancel those as well.