Skip to main content
Real-Time Decisioning (RTD) references a JSON object called derived type in an eventType attribute. A derived type object typically corresponds to a bundle of information, such as an address or provisioning data. The following tables describe the derived types used by RTD. Every provisioning processed by RTD is classified as an event. For example, provisioning a card is classified as a TOKEN_PROVISION_RT event. The following sections describe the derived types for the TOKEN_PROVISION_RT event.

Prerequisites

This feature requires additional activation steps. To activate it for your program, contact your Marqeta representative.

TOKEN_PROVISION_RT

The following fields make up the TOKEN_PROVISION_RT schema.

device_data

Device information provided by the card network. Available for both CHECK_ELIGIBILITY and TOKEN_ACTIVATION events, though fields may be null depending on what the network supplies.

decisioning_data

The Marqeta platform’s decision about the provisioning request that was evaluated before RTD is consulted.

decisioning_data reason codes

The following table lists possible reason codes returned in the reason_code field of the decisioning_data object with their meaning.

token_requestor_data

Information about the entity requesting the token, such as a merchant or digital wallet provider.

card_data

Card information associated with the provisioning request. When the Marqeta platform cannot find a matching card (card.not.found), the card_token, card_product_token, card_product_active, and card_state fields will be null. The bin and last_four fields are derived from the PAN provided in the network request and are always present.

user_data

The following table lists cardholder information. Fields are null when the card is not found (card.not.found).

token_data

Token identifiers from the card network.

transaction_data

Authorization verification results from the token activation request. For CHECK_ELIGIBILITY events, both fields are null. For TOKEN_ACTIVATION events, the fields reflect Address Verification System (AVS) and Card Verification Value 2 (CVV2) results from the token activation.

AVS codes

The following table lists possible AVS codes returned in the avs_code field of the transaction_data object with their meaning.

CVV2 codes

The following is a list of possible CVV2 codes returned in the cvv2_code field of the transaction_data object with their meaning.

wallet_provider_data

Information about the wallet provider and how the PAN was supplied.

PAN source values

The following table lists possible PAN source values returned in the pan_source field of the wallet_provider_data object with their meaning.