List Card Tokens

get/api/cards/{cardId}/tokens

Lists the device tokens on a card: Apple Pay, Google Pay, and Samsung Pay. Tokens are returned newest first by provisioningRequestedAt, and canceled tokens are included.

This API uses cursor-based pagination. Start by making a request without a cursor to get the first page. Use the nextCursor from the pageInfo in the response as the cursor for subsequent requests to retrieve further pages. Continue until nextCursor is undefined, indicating no more data.

Request

Path Parameters

  • cardIdstringrequired

    ID of card

Query Parameters

  • limitintegerminimum: 1maximum: 100default: 50

    Number of records to return, from 1 to 100.

  • cursorstring

    Cursor to retrieve the next page of records.

  • requestorTypestringdefault: "device"
    Allowed values:device

    Type of token requestor to list tokens for. Defaults to device.

Response

Successful operation.

Body application/json

  • itemsobject[]

    Items

    • idstringrequired

      Card token identifier. Stable from the token's provisioning request onwards.

    • cardobjectrequired

      The card the token is linked to. When the card is reissued, the token moves to the new card.

      • idstring

        Card identifier. Omitted for a failed token declined before the card was identified.

    • cardholderobjectrequired

      The cardholder the token belongs to.

      • idstringrequired

        Cardholder account identifier.

    • requestorstringrequired

      The wallet or merchant that requested the token.

      This set is non-exhaustive and may grow over time, so consumers should tolerate unrecognized values. The current options are apple-pay, google-pay, samsung-pay, merchant, and other.

    • statusstringrequired
      Allowed values:creatingawaiting-approvalawaiting-verificationactivesuspendedcanceledfailedapprovingsuspendingunsuspendingcanceling

      Token status.

      A token is awaiting-approval when the wallet tells the cardholder to contact the issuer to finish adding the card. Verify the cardholder, then call the Approve Card Token endpoint.

      A token is failed when adding the card to the wallet was declined.

    • deviceStatusstring
      Allowed values:presentremoved

      Whether the card is still on the device, as last reported to Immersve. Omitted for merchant tokens, and for creating, failed, and canceled tokens.

    • tokenSuffixstring

      Last four digits of the token's device primary account number (DPAN). Omitted until the card network reports it.

    • descriptionstring

      Human-readable label for the token, such as the device name or the merchant description.

    • provisioningRequestedAtstring<date-time>required

      Time the token was first requested.

    • provisioningobject

      How the token was provisioned, from its latest provisioning request. Omitted when none is on record.

      The values below are non-exhaustive, so consumers should tolerate unrecognized values. A value Immersve has no name for yet is reported as other.

      • decisionstringrequired

        Final decision applied to the provisioning request. The current options are approved, verification-required (the cardholder must verify before the token can be used), and declined.

      • activationMethodsobject[]required

        Ways offered to the cardholder to verify. Empty when none were offered.

        Items

        • typestringrequired

          Verification method. The current options are sms, email, cardholder-calls-automated-line, cardholder-calls-agent, issuer-calls-cardholder, website, mobile-app, push-notification, and 3ds.

      • walletRecommendationobject

        The wallet's own risk assessment of the request. Omitted when the wallet sent none.

        • decisionstringrequired

          Decision the wallet recommended for the provisioning request, which can differ from decision. Takes the same values.

        • reasonsstring[]required

          Reasons the wallet gave, passed through as sent rather than from a fixed list. For example, account-card-too-new, outside-home-territory, or long-account-tenure.

      • deviceFormFactorstring

        Type of device the token was provisioned to. The current options are phone, watch, tablet, and computer. Omitted when the wallet did not report it, as for merchant tokens.

      • declineReasonstring

        Why the provisioning request was declined. Set only when decision is declined, and omitted when no reason was given. The current options are card-blocked, cardholder-blocked, cvv-invalid, expiry-invalid, provisioning-blocked (the card was locked after repeated security code or expiry mismatches), wallet-declined, low-device-score, token-limit-reached, and other.

  • pageInfoobject

    Page info for paginated results, undefined if no page info

    • nextCursorstring

      Cursor for next page, undefined if no more pages