- Docs
- Corgi Model
- 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 key | Integration flow | Description |
|---|---|---|
corgi_score | All supported flows | Corgi'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_group | All supported flows | Experiment 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_method | All supported flows | Whether 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_version | All supported flows | Version of Corgi Model that generated corgi_score for the payment. |
corgi_model_threshold | All supported flows | Corgi 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_action | All supported flows | The 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_rule | Corgi SDK confirm-payment only | Result 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_rule | Stripe Checkout for subscriptions only | Result 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 key | Type / example | When present | Description |
|---|---|---|---|
corgi_action | enum / 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 error | All payments | The 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_method | boolean / true or false | Payments created on or after November 11, 2026 | true 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_decision | enum / ALLOW, BLOCK, REVIEW, REQUEST_3DS, or NONE | After pre-auth evaluation | Result 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_rule | string / rule_123, Review new customers | After pre-auth evaluation | Matched rule ID and name before authorization, formatted as rule ID, rule name. An empty string means no rule matched. |
corgi_post_auth_decision | enum / ALLOW, BLOCK, REVIEW, or NONE | After post-auth evaluation | Result 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_rule | string / rule_456, Block high risk | After post-auth evaluation | Rule ID and name matched after authorization, formatted as rule ID, rule name. An empty string means no rule matched. |
corgi_request_3ds_matched_rule | string / rule_789, Require 3DS | When a rule requests 3DS | Rule 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_rule | string / 0.1, OFAC Comprehensively Embargoed Jurisdictions | When a global rule matches | Number 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_block | boolean / true or false | When a global rule matches | true when the matched global rule produces a block action. When true, corgi_action is global_block. |
corgi_capture_method | enum / automatic or manual | When Rule Engine evaluates the payment | The 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_id | string / fp_evt_… | When supplied by you | Your 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 key | Type / example | When present | Description |
|---|---|---|---|
corgi_action | enum / 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 error | After this Checkout subscription flow is processed | The 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_method | boolean / true or false | Payments created on or after November 11, 2026 | true 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_decision | enum / ALLOW, BLOCK, REVIEW, or NONE | After this Checkout subscription flow is processed | Corgi 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_id | string / sub_… | When a subscription is created | ID 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_rule | string / rule_123, Review new customers | When a rule matches | Matched rule ID and name, formatted as rule ID, rule name, written to the Checkout Session and related PaymentIntent objects. |
corgi_rule_engine_skipped | boolean / true | When rule evaluation is skipped | true when Corgi intentionally skips rule evaluation for the transaction. Written to the Checkout Session and the created Subscription's PaymentIntent. |
corgi_global_rule | string / 0.1, OFAC Comprehensively Embargoed Jurisdictions | When a global rule matches | Number 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_block | boolean / true or false | When a global rule matches | true 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_at | ISO 8601 string / 2026-07-28T06:50:21.907Z | After this Checkout subscription flow is processed | ISO 8601 timestamp marking completion of this Checkout subscription evaluation, written to the Checkout Session and related PaymentIntent objects. |
corgi_checkout_session_id | string / cs_… | On the created Subscription | ID of the Checkout Session that originated the Subscription. |
corgi_subscription_params | JSON / {"items":[{"price":"price_…","quantity":1}]} | Required for this flow | Your 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_id | string / fp_evt_… | When supplied by you | Your 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.
| Value | Decided by | Meaning |
|---|---|---|
corgi_model_allow | Corgi Model | Corgi Model approved the payment. |
corgi_model_block | Corgi Model | Corgi Model blocked the payment. |
corgi_model_3ds | Corgi Model | Corgi Model requested 3D Secure. The authentication result is available on the Stripe PaymentIntent or Charge. |
rule_engine_allow | Rule Engine | One of your allow rules matched and approved the payment. |
rule_engine_block | Rule Engine | One of your rules blocked the payment. |
rule_engine_review | Rule Engine | One of your rules sent the payment to the Review Queue. |
rule_engine_3ds | Rule Engine | One of your rules requested 3D Secure. The authentication result is available on the Stripe PaymentIntent or Charge. |
global_block | Global rule | A Corgi-managed global rule blocked the payment. corgi_global_rule names the rule. |
radar_allow | Stripe Radar | Stripe Radar let the payment through. |
radar_block | Stripe Radar | Stripe Radar blocked the payment. |
rule_engine_block_dry_run | Rule Engine (testing only) | A rule would have blocked the payment, but enforcement was disabled, so the payment was not blocked. |
rule_engine_review_dry_run | Rule Engine (testing only) | A rule would have sent the payment to review, but enforcement was disabled. |
rule_engine_3ds_dry_run | Rule Engine (testing only) | A rule would have requested 3D Secure, but enforcement was disabled. |
pending | Not final | The final decision is not known yet. It is replaced by the final value once the authorization result is known. |
error | Not final | Evaluation failed. |
🧪 Dry-run values appear only during the testing phase. A value ending in
_dry_runmeans 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
| Question | Check |
|---|---|
| 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.
| Value | Meaning |
|---|---|
ALLOW | An allow rule matched. |
BLOCK | A block rule or the Corgi Model blocked the payment. |
REVIEW | A review rule matched. |
REQUEST_3DS | 3D Secure was requested. Appears in corgi_pre_auth_decision only. |
NONE | Evaluation 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