- About Real-Time Decisioning
- Scope
- Transaction event processing
- Response payload
- Access reports
- Real-Time Decisioning dashboard
- Access the dashboard
- Feature overview
- User roles
- Create features
- Publish features
- Create and store data lists
- Create rules
- Test rules
- Publish rules
- View past events
About Real-Time Decisioning
Real-Time Decisioning enables you to apply finely tuned controls to card transactions. You can personalize your card program while managing risk and fraud. Marqeta provides a Real-Time Decisioning dashboard to create controls on transaction authorizations for decisioning and monitoring. Supporting the dashboard is the Real-Time Decisioning risk engine, which executes these controls in the authorization flow, deciding in real time whether or not to approve, decline, or generate an alert on the transaction. If one or more controls are triggered, the response is passed through in the JSON payload. For more information, see the RiskControl Overview landing page.Scope
Real-Time Decisioning currently supports all card transactions in the authorization flow. You can create controls to make a decision on account-to-account transfers (original credit transactions, or OCTs), account funding transactions (AFTs), ATM withdrawals, authorizations, cashback authorizations, incremental authorizations, quasi-cash transactions, and so on. You can also create controls to monitor other transaction types such as declines, reversals, refunds, and other transactions that are outside of the authorization flow. Even though these transactions cannot be acted upon in real time, controls or features can be created to generate alerts or build cardholder profiles.Note
Real-Time Decisioning does not process settlement or clearing transactions for decisioning or monitoring.
Real-Time Decisioning does not process settlement or clearing transactions for decisioning or monitoring.
Transaction event processing
Real-Time Decisioning processes every supported transaction as an event. There are three supported event types:-
TRANSACTION_RT: This event type corresponds to all real-time transactions in the authorization flow. Any control that requires decisioning is created using this event type. -
TRANSACTION: This event type corresponds to all processed authorization transactions, as well as transactions coming from outside the authorization flow. Because these transactions have already been processed, they cannot be acted upon in real time. Any feature that requires the transaction’s final status is created using this event type. -
CARD_FRAUD: This event type corresponds to API events coming from the Fraud Feedback API. This event type is used to build controls for the rule suppression use case.
TRANSACTION_RT event type. Features can be created on the TRANSACTION event type for aggregation- or profile-building purposes.
Response payload
Real-Time Decisioning appends the response in the transaction payload, which is available in JIT Funding requests and in webhooks. The Real-Time Decisioning response object includes information on the risk score, risk level, and recommended action, as well as information on the rules that were triggered while authorizing the transaction. Custom tags defined in the rule logic are also returned in the response if the corresponding rule is triggered. For detailed information about Real-Time Decisioning response payloads, see RiskControl objects.Access reports
Real-Time Decisioning publishes two reports in the Marqeta Dashboard. These reports are available in the Reports section of the RiskControl Real-Time Decisioning dropdown list:-
RiskControl Real-Time Decisioning Authorizations: Returns information on all the transaction authorizations processed by Real-Time Decisioning. It includes the following fields:
acting_user_token,amount,card_token,recommended_action,risk_level,risk_score,rule_violation,tags,transaction_token, anduser_token. - RiskControl Real-Time Decisioning Transaction Count By Rules: Returns the number of transactions per triggered rule for the program.
Real-Time Decisioning dashboard
Use the Real-Time Decisioning dashboard to configure Real-Time Decisioning controls. Access to the Real-Time Decisioning dashboard is provisioned separately from Marqeta Dashboard access. Separate Real-Time Decisioning credentials are required.Access the dashboard
You can access the Real-Time Decisioning dashboard from the Marqeta Dashboard under the RiskControl > Real-Time Decisioning dashboard section. Currently, single sign-on from the Marqeta Dashboard to the Real-Time Decisioning dashboard is not available. Your Real-Time Decisioning dashboard administrative user can provide access to other users in your program.Feature overview
The Real-Time Decisioning dashboard provides a user interface where you can define rules and features. It also enables you to investigate past transaction data. The dashboard has the following features:- Insights Center: Use the Insights Center to search and query past transaction data.
- Data Studio: Use the Data Studio to import an external data set or to create a data list that you can use to build features.
- Feature Platform: Use the Feature Platform to create, manage, and test features. Use the features you create to build rules in the Rules Engine.
- Rules Engine: Use the Rules Engine to create, manage, and test rules.
- System Monitoring: System Monitoring provides visibility into audit logs and the Task Center associated with the dashboard.
- Admin: Manage user accounts and dashboard configurations.
User roles
There are three user roles in the Real-Time Decisioning dashboard:- Tenant Administrator: The Tenant Administrator role has superuser access, including the ability to set up other user accounts and access to all dashboard features.
- Tenant Analyst: The Tenant Analyst role can create, manage, test, and publish rules and features. A Tenant Analyst can also query data to investigate past transaction events.
- Tenant Guest: The Tenant Guest role has view-only access to rules and features. Guests cannot create or update existing rules or features.
Note
Use the Tenant Administrator role only for users who require superuser privileges. Otherwise, use the Tenant Analyst role to allow users to manage and create rules and features.
Use the Tenant Administrator role only for users who require superuser privileges. Otherwise, use the Tenant Analyst role to allow users to manage and create rules and features.
Create features
Create Features on the Feature Platform > Create Feature tab to store values or fields in a collection that you can then use when creating your rules. For example, if you want to create a rule to decline transactions when the cardholder has already conducted more than 10 transactions in last day, define a feature to store the transaction count for the last day and then use this feature in the rule. To create a feature:
For example, if you want to store the count of transactions for every cardholder for last 24 hours, select
count as the Operator, transaction_amount as the Target, Aggregated By transaction_acting_user_token, 24 hours as the Time Period, and TRANSACTION_RT as the Event Type.
You can add optional conditions to your features using Add Criteria. For example, in the case above, if you only want to store the count of card present transactions, click Add Criteria and select the transaction_pos_card_presence = true attribute.
Publish features
You can publish features on the Feature Platform > View Features tab. This tab displays information about all of your features. Use the filter or search functionality to find individual features. You can find the status of a feature in the Status column. A feature can be in one of two states:- DRAFT: Features are created in the draft status by default. To update or modify any feature, move it into the draft status.
- PUBLISHED: Published features are executed on all transactions. You can also prepopulate features using historical data so they are ready to be used as soon as they are published.
Create and store data lists
Data lists are used to store data elements that can then be used in your rules. For example, you can create a data list of high-risk merchants. You can create a data list on the Data Studio > Manage List tab. To create a data list:
Once you have created a list, you can then add records to it. In order to use the list in a rule, first create a feature on the list:
- Under Create new feature, select an item from the data list. After the feature is created, you can use the list in a rule.
Create rules
Create a rule to define a control that you want to execute on transaction events. Create new rules on the Rules Engine > Create Rules tab.- To create a rule, define a rule name, provide an optional description, add an optional tag, add conditions, and specify an action.
- To add conditions, select features from the Feature dropdown list. The dropdown list shows all the fields present in the transaction payload, as well as any user-defined features. You can create multiple blocks of conditions.
-
There are three primary actions:
- APPROVE: Use this action to suppress triggered rules and allow transactions.
- REJECT: Use this action to decline transactions.
- REVIEW: Use this action to generate an alert.
- Select the secondary action Tag to add a custom tag in the Action Data field.
Test rules
You can test rules using the Quick Test feature. Quick Test allows you to test your rule against historical production data. You can select individual event identifiers or historical data. When working with historical data, you can select up to 1000 of the latest transaction records or select a specific period of time. You can then select the event types. For example, to test your rules on authorization transactions, select Event Type - TRANSACTION_RT. Quick Test returns information about individual historical transactions, including the rule outcome, in the result table. You can also use the Statistic view tab to visualize Quick Test results and rule parameters holistically.Publish rules
You can publish rules on the Rule Engine > View Rules tab. This tab displays information about all of your Real-Time Decisioning rules. Use the filter or search functionality to find individual rules. You can find the status of the rule in the Status column. A rule can be in any of the following three states:- DRAFT: Rules are created in the draft status by default. To update or modify any rule, move it into the draft status.
- TRIAL: Rules in the trial status execute on all transactions, but do not result in any decision on the transaction when they are triggered. This behavior lets you validate the impact of rules before publishing them.
- PUBLISHED: Published rules are executed on all transactions and result in a decision on the transaction when they are triggered.
View past events
Every event processed by Real-Time Decisioning can be accessed in the Real-Time Decisioning dashboard, either by searching directly in the search bar or by using the Insight Center.-
You can use the search bar if you know the
user_idorevent_idof the event you want to retrieve. - In the Insight Center, you can search for an event on the Global Search tab. You can also use the Explore feature to write a query to pull past transaction data.