Corgi Labs transaction metadata

Corgi Labs transaction metadata

Reference for every metadata key Corgi Labs writes to your transactions, with integration-specific details and decision semantics.

On this page

Transaction Metadata

When Corgi Labs processes a transaction, Corgi Model and Rule Engine add metadata that explains the risk evaluation and the resulting action. The exact metadata keys available depend on your integration flow and payment service provider. This reference lists every metadata key Corgi Labs writes, when it appears, and what it means. Use it to debug transactions, build reporting, or integrate Corgi data into your own systems.


CORGI Model metadata

Corgi Model is managed by Corgi and does not appear as a merchant-configurable rule in the Rule Engine. Corgi Model scores every transaction, including transactions where other risk engines, such as Stripe Radar, make the decision. The exception is Excluded Payment Methods, such as bank-funded Link, which Corgi Model does not score; check corgi_excluded_payment_method. To determine whether a transaction is in Corgi traffic, check corgi_exp_group. To determine what was decided and which system decided it, check corgi_action.

Metadata keyIntegration flowDescription
corgi_scoreAll supported flowsCorgi's payment risk score from 0 to 100. Higher values indicate a higher predicted likelihood of dispute. Corgi Model scores 100% of traffic, so every payment has this key. Corgi Model participates in the payment decision only when corgi_exp_group is corgi. When corgi_exp_group is stripe, the score is for comparison only. Excluded Payment Methods (corgi_excluded_payment_method is true) are not scored and have no corgi_score.
corgi_exp_groupAll supported flowsExperiment group assigned to the payment. Use this key to determine whether a payment is in Corgi traffic or Stripe traffic. corgi means Corgi Model participated in the payment decision. stripe means Stripe Radar evaluated the payment, and Corgi Model generated corgi_score for comparison only. This key does not tell you whether Corgi Model or Rule Engine made the decision; use corgi_action for that. During staged rollout, Corgi may assign 30%, 70%, or 100% of eligible traffic to corgi. Excluded Payment Methods have no corgi_exp_group.
corgi_excluded_payment_methodAll supported flowsWhether the payment uses an Excluded Payment Method that Corgi Model does not cover. true means an Excluded Payment Method; today this is bank-funded Link, which appears in Stripe as card brand link. Corgi Model does not score or decide these payments, so they have no corgi_exp_group or corgi_score, and corgi_action is never a corgi_model_ value. Your Rule Engine rules still run on them, and Stripe Radar's rule that blocks payments at the highest risk level still applies. false means a covered payment. Payments created before November 11, 2026 do not have this key; for those, use the funding type of the Stripe payment method.
corgi_model_versionAll supported flowsVersion of Corgi Model that generated corgi_score for the payment.
corgi_model_thresholdAll supported flowsCorgi Model's blocking threshold when the payment was evaluated, on the same 0 to 100 scale as corgi_score. Compare it with corgi_score to see how Corgi Model viewed a payment, even when another system made the decision.
corgi_actionAll supported flowsThe final risk decision on the payment and which system made it: Corgi Model, Rule Engine, a global rule, or Stripe Radar. When Corgi Model approves the payment, corgi_action is corgi_model_allow. When Corgi Model blocks it, corgi_action is corgi_model_block. When Corgi Model requests 3D Secure, corgi_action is corgi_model_3ds. Possible values: corgi_model_allow, corgi_model_block, corgi_model_3ds, rule_engine_allow, rule_engine_block, rule_engine_review, rule_engine_3ds, global_block, radar_allow, radar_block, rule_engine_block_dry_run, rule_engine_review_dry_run, rule_engine_3ds_dry_run, pending, and error. See Decision values for what each value means.
corgi_pre_auth_decision, corgi_pre_auth_matched_ruleCorgi SDK confirm-payment onlyResult of the Corgi Model and Rule Engine evaluation before payment authorization. When Corgi Model approves the payment, corgi_pre_auth_decision is NONE unless a rule also matched. When Corgi Model blocks the payment, corgi_pre_auth_decision is BLOCK, and corgi_pre_auth_matched_rule is corgi-model-rule-id, CORGI model. Possible values of corgi_pre_auth_decision: ALLOW, BLOCK, REVIEW, REQUEST_3DS, and NONE. This key combines Corgi Model and Rule Engine results; use corgi_action to see which one acted.
corgi_decision, corgi_matched_ruleStripe Checkout for subscriptions onlyResult of the Corgi Model and Rule Engine evaluation. When Corgi Model approves the payment, corgi_decision is NONE unless a rule also matched. When Corgi Model blocks the payment, corgi_decision is BLOCK, and corgi_matched_rule is corgi-model-rule-id, CORGI model. Possible values of corgi_decision: ALLOW, BLOCK, REVIEW, and NONE. This key combines Corgi Model and Rule Engine results; use corgi_action to see which one acted.

corgi-model-rule-id is a reserved, stable identifier that represents the Corgi-managed model rule consistently across integrations.


All transaction metadata by integration type

Corgi SDK confirm-payment for Stripe

Calls to POST /api/v1/corgi-sdk/confirm-payment may be routed through a two-phase evaluation. The Rule Engine evaluates the payment before authorization and, when required, after authorization. Corgi Labs writes the metadata below to the Stripe PaymentIntent it creates and preserves any metadata you supplied in paymentIntentParams.metadata.

Metadata keyType / exampleWhen presentDescription
corgi_actionenum / corgi_model_allow, corgi_model_block, corgi_model_3ds, rule_engine_allow, rule_engine_block, rule_engine_review, rule_engine_3ds, global_block, radar_allow, radar_block, rule_engine_block_dry_run, rule_engine_review_dry_run, rule_engine_3ds_dry_run, pending, or errorAll paymentsThe final risk decision on the payment and which system made it. The prefix names the decider: corgi_model_ for Corgi Model, rule_engine_ for your rules, global_ for a global rule, and radar_ for Stripe Radar. pending means the final decision is not known yet; it is replaced by the final value once the authorization result is known. For all values, see Decision values.
corgi_excluded_payment_methodboolean / true or falsePayments created on or after November 11, 2026true when the payment uses an Excluded Payment Method, such as bank-funded Link (card brand link in Stripe). Corgi Model does not score or decide these payments: corgi_exp_group and corgi_score are absent, and corgi_action is never a corgi_model_ value. false means a covered payment. See CORGI Model metadata.
corgi_pre_auth_decisionenum / ALLOW, BLOCK, REVIEW, REQUEST_3DS, or NONEAfter pre-auth evaluationResult of the Corgi Model and Rule Engine evaluation before payment authorization. NONE means evaluation completed and no model or rule produced an action.
corgi_pre_auth_matched_rulestring / rule_123, Review new customersAfter pre-auth evaluationMatched rule ID and name before authorization, formatted as rule ID, rule name. An empty string means no rule matched.
corgi_post_auth_decisionenum / ALLOW, BLOCK, REVIEW, or NONEAfter post-auth evaluationResult of the Rule Engine evaluation after payment authorization. ALLOW means an allow rule matched; NONE means evaluation completed and no post-authorization rule produced an action. This key is absent when post-authorization evaluation does not run.
corgi_post_auth_matched_rulestring / rule_456, Block high riskAfter post-auth evaluationRule ID and name matched after authorization, formatted as rule ID, rule name. An empty string means no rule matched.
corgi_request_3ds_matched_rulestring / rule_789, Require 3DSWhen a rule requests 3DSRule ID and name that requested 3D Secure, formatted as rule ID, rule name. When present, corgi_pre_auth_decision is REQUEST_3DS and corgi_action is rule_engine_3ds. The authentication result is available on the Stripe PaymentIntent or Charge.
corgi_global_rulestring / 0.1, OFAC Comprehensively Embargoed JurisdictionsWhen a global rule matchesNumber and name of the matched global rule, formatted as number, name. Global rules are Corgi-managed compliance and network-level fraud rules. You cannot configure them, but this metadata identifies the matched rule.
corgi_global_blockboolean / true or falseWhen a global rule matchestrue when the matched global rule produces a block action. When true, corgi_action is global_block.
corgi_capture_methodenum / automatic or manualWhen Rule Engine evaluates the paymentThe capture method requested in paymentIntentParams.capture_method; defaults to automatic. Corgi creates the PaymentIntent with manual capture while evaluating risk, then uses this value to preserve your requested capture behavior. This is separate from the Stripe Payment Element configuration. The ConfirmationToken must be created with captureMethod: "manual" for this flow.
fp_event_idstring / fp_evt_…When supplied by youYour event ID from fingerprint.com, provided through paymentIntentParams.metadata. Corgi copies it to the PaymentIntent and uses the event to evaluate device, browser, IP, and other device signals.

Stripe Checkout for subscriptions

This flow is for subscription businesses using Stripe Checkout. It uses a payment-mode Checkout Session for a temporary manual-capture authorization. After checkout.session.completed, Corgi evaluates the authorized payment, cancels the authorization, and creates a Subscription unless the payment is blocked. Your Checkout Session must use mode: "payment" with payment_intent_data.capture_method: "manual" and setup_future_usage: "off_session".

Metadata keyType / exampleWhen presentDescription
corgi_actionenum / corgi_model_allow, corgi_model_block, corgi_model_3ds, rule_engine_allow, rule_engine_block, rule_engine_review, rule_engine_3ds, global_block, radar_allow, radar_block, rule_engine_block_dry_run, rule_engine_review_dry_run, rule_engine_3ds_dry_run, pending, or errorAfter this Checkout subscription flow is processedThe final risk decision on the payment and which system made it, written to the Checkout Session and related PaymentIntent objects. The prefix names the decider: corgi_model_ for Corgi Model, rule_engine_ for your rules, global_ for a global rule, and radar_ for Stripe Radar. For all values, see Decision values.
corgi_excluded_payment_methodboolean / true or falsePayments created on or after November 11, 2026true when the payment uses an Excluded Payment Method, such as bank-funded Link (card brand link in Stripe). Corgi Model does not score or decide these payments: corgi_exp_group and corgi_score are absent, and corgi_action is never a corgi_model_ value. false means a covered payment. See CORGI Model metadata.
corgi_decisionenum / ALLOW, BLOCK, REVIEW, or NONEAfter this Checkout subscription flow is processedCorgi Model or Rule Engine evaluation result written to the Checkout Session and related PaymentIntent objects. This value records the evaluated action; enforcement may depend on your project's action settings. NONE means no model or rule produced an action, unless corgi_rule_engine_skipped is true.
corgi_subscription_idstring / sub_…When a subscription is createdID of the Subscription created by this Stripe Checkout subscription flow, written to the Checkout Session and related PaymentIntent objects. This key is absent when the payment is blocked or no Subscription is created.
corgi_matched_rulestring / rule_123, Review new customersWhen a rule matchesMatched rule ID and name, formatted as rule ID, rule name, written to the Checkout Session and related PaymentIntent objects.
corgi_rule_engine_skippedboolean / trueWhen rule evaluation is skippedtrue when Corgi intentionally skips rule evaluation for the transaction. Written to the Checkout Session and the created Subscription's PaymentIntent.
corgi_global_rulestring / 0.1, OFAC Comprehensively Embargoed JurisdictionsWhen a global rule matchesNumber and name of the matched global rule, formatted as number, name, written to the Checkout Session and related PaymentIntent objects. Global rules are Corgi-managed compliance and network-level fraud rules. You cannot configure them, but this metadata identifies the matched rule.
corgi_global_blockboolean / true or falseWhen a global rule matchestrue when the matched global rule produces a block action. When true, corgi_action is global_block. Written to the Checkout Session and related PaymentIntent objects.
corgi_decision_atISO 8601 string / 2026-07-28T06:50:21.907ZAfter this Checkout subscription flow is processedISO 8601 timestamp marking completion of this Checkout subscription evaluation, written to the Checkout Session and related PaymentIntent objects.
corgi_checkout_session_idstring / cs_…On the created SubscriptionID of the Checkout Session that originated the Subscription.
corgi_subscription_paramsJSON / {"items":[{"price":"price_…","quantity":1}]}Required for this flowYour Stripe Subscription creation parameters stored on the Checkout Session. The JSON value must contain at least one items entry. When the payment is permitted, Corgi creates the Subscription from these parameters and derives the customer and default payment method from the completed Checkout flow.
fp_event_idstring / fp_evt_…When supplied by youYour event ID from fingerprint.com, provided through paymentIntentParams.metadata. Corgi copies it to the PaymentIntent and uses the event to evaluate device, browser, IP, and other device signals.

Decision values

corgi_action

corgi_action records the final risk decision on the payment and which system made it. Every payment has a value. The prefix names the decider, and the suffix names the action.

ValueDecided byMeaning
corgi_model_allowCorgi ModelCorgi Model approved the payment.
corgi_model_blockCorgi ModelCorgi Model blocked the payment.
corgi_model_3dsCorgi ModelCorgi Model requested 3D Secure. The authentication result is available on the Stripe PaymentIntent or Charge.
rule_engine_allowRule EngineOne of your allow rules matched and approved the payment.
rule_engine_blockRule EngineOne of your rules blocked the payment.
rule_engine_reviewRule EngineOne of your rules sent the payment to the Review Queue.
rule_engine_3dsRule EngineOne of your rules requested 3D Secure. The authentication result is available on the Stripe PaymentIntent or Charge.
global_blockGlobal ruleA Corgi-managed global rule blocked the payment. corgi_global_rule names the rule.
radar_allowStripe RadarStripe Radar let the payment through.
radar_blockStripe RadarStripe Radar blocked the payment.
rule_engine_block_dry_runRule Engine (testing only)A rule would have blocked the payment, but enforcement was disabled, so the payment was not blocked.
rule_engine_review_dry_runRule Engine (testing only)A rule would have sent the payment to review, but enforcement was disabled.
rule_engine_3ds_dry_runRule Engine (testing only)A rule would have requested 3D Secure, but enforcement was disabled.
pendingNot finalThe final decision is not known yet. It is replaced by the final value once the authorization result is known.
errorNot finalEvaluation failed.

🧪 Dry-run values appear only during the testing phase. A value ending in _dry_run means the action was recommended but not applied, so the payment was not affected. You should not see these values once enforcement is live on your account, and they should not drive any payment handling in your systems.

Common checks

QuestionCheck
Was the payment in Corgi traffic?corgi_exp_group is corgi
Is the payment outside Corgi Model coverage, such as bank-funded Link?corgi_excluded_payment_method is true
Did Corgi Model approve it?corgi_action is corgi_model_allow
Did Corgi Model block it?corgi_action is corgi_model_block
Which rule matched?corgi_pre_auth_matched_rule or corgi_post_auth_matched_rule (Corgi SDK), or corgi_matched_rule (Stripe Checkout)
How did Corgi Model view the payment, even if another system decided?Compare corgi_score with corgi_model_threshold

corgi_pre_auth_decision, corgi_post_auth_decision, and corgi_decision

These keys combine Corgi Model and Rule Engine results in one value. To see which system acted, use corgi_action.

ValueMeaning
ALLOWAn allow rule matched.
BLOCKA block rule or the Corgi Model blocked the payment.
REVIEWA review rule matched.
REQUEST_3DS3D Secure was requested. Appears in corgi_pre_auth_decision only.
NONEEvaluation completed and no model or rule produced an action.

Global rules

Global rules are Corgi-managed compliance and network-level fraud rules. You cannot configure them, but Corgi exposes when they match through metadata.

Last updated: 2026-11-12