Update Simulated Card Token

post/api/simulator/card-tokens/{cardTokenId}/update

Simulates user behavior on a card token during its lifecycle. Use it to test your handling of user behavior without a real device.

Request

Path Parameters

  • cardTokenIdstringrequired

    Card token identifier.

Body application/json

  • typestringrequired
    Allowed values:removed-from-devicere-added

Response

Successful operation.

Body application/json

  • 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.

  • 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 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.