/cardtransition endpoint. You can set sync_state_with_dwts to true to synchronize the state of the card with the state of its associated DWTs, which must be valid when performing the given transition. For example, if the card is transitioning to the SUSPENDED state, then only the DWTs with ACTIVE tokens will be synchronized as part of the state transition.
JSON
Webhooks
You will receive the same webhooks for digital wallet transitions as for standard card transitions, along with several additional values in existing fields.Transitioning cards
The following code sample shows the additional values in a sample webhook that will appear when transitioning the card state.JSON
Transitioning DWTs
DWT transitions do not require you to ingest any new fields. However, thereason field will contain the value of SYNC_CARD_STATE during transitioning. This value informs you that Marqeta has automatically transferred the token.
JSON