Intempt Docs

Stripe event taxonomy

Every attribute on every Stripe event collection, with its type, an example value and what it means.

Overview

Synced from a connected Stripe account.

One section per group of Stripe events, one row per attribute. A group lists the event collections it covers, and every event in it carries the same fields. Payload fields sit under data, and customer fields under userAttributes (Products use productAttributes). The main identifier of each event, such as chargeId, is also on the top level. Types are the wire types the platform stores, and examples come from the schema itself. An attribute marked (hidden) arrives on the event but is not offered in the console attribute pickers. A very long example value is shortened with an ellipsis.

Cash balance

Events: funds_available.

AttributeTypeExampleDescription
data.changeTypeString
data.livemodeBoolean
data.settings.reconciliationModeStringautomaticHow incoming bank transfers are reconciled against open invoices: 'automatic' or 'manual'.
data.settings.usingMerchantDefaultBooleantrueTrue when this customer inherits the merchant-level reconciliation setting.
userAttributes.customerIdStringcus_NffrFeUfNV2HibCustomer that owns this cash balance.
userAttributes.cashBalanceArray of cashBalanceUserAttributesItem[{"currency": "USD", "amount": 5000}]Per-currency balances available to this customer in the smallest currency unit.
userAttributes.cashBalance[].currencyString
userAttributes.cashBalance[].amountDecimal

Charges

Events: charge_succeeded, charge_failed, charge_refunded. Each carries the fields below.

AttributeTypeExampleDescription
data.changeTypeString
data.chargeIdStringch_3NxxxxUnique Stripe charge identifier.
data.paymentIntentIdStringpi_3NxxxxLinked PaymentIntent. Use as the join key to dedupe revenue against payment_intent.succeeded.
data.invoiceIdStringin_1NxxxxLinked invoice if this charge paid a recurring invoice.
data.disputeIdStringdp_1NxxxxLinked dispute record if this charge has been disputed.
data.statusStringsucceededCharge status: 'succeeded', 'pending', or 'failed'.
data.amountDecimal5000Total charge amount in the smallest currency unit (e.g. cents).
data.amountCapturedDecimal5000Amount actually captured from the authorized amount.
data.amountRefundedDecimal1000Total refunded so far (sum of all refunds against this charge).
data.currencyStringUSDThree-letter ISO currency code.
data.paidBooleantrueTrue when the charge succeeded or was authorized for a later capture.
data.capturedBooleantrueTrue when the charge has been captured.
data.refundedBooleanfalseTrue when the full charge has been refunded.
data.disputedBooleanfalseTrue when a dispute has been opened on this charge.
data.createdLong (timestamp-millis)1720217400000Time the charge was created.
data.descriptionStringMonthly subscriptionFree-text description of the charge. Visible to the customer on receipts.
data.statementDescriptorStringACME * SUBSCRIPTIONText appearing on the customer's bank/card statement.
data.receiptUrlStringhttps://pay.stripe.com/receipts/...Hosted Stripe URL for the receipt. Use in email templates.
data.receiptNumberString1234-5678Stripe-generated human-readable receipt number.
data.failureCodeStringcard_declinedMachine-readable failure code (e.g. card_declined, expired_card). Used for recovery journey personalization.
data.failureMessageStringYour card was declined.Human-readable failure message.
data.paymentMethodStringpm_1NxxxxID of the Payment Method used for this charge.
data.paymentMethodDetails.typeStringcardThe type of payment method used (e.g. card, sepa_debit, us_bank_account).
data.paymentMethodDetails.cardBrandStringvisaCard brand: 'visa', 'mastercard', 'amex', 'discover', etc.
data.paymentMethodDetails.cardLast4String4242Last four digits of the card.
data.paymentMethodDetails.cardCountryStringUSTwo-letter ISO country code where the card was issued.
data.paymentMethodDetails.cardFundingStringcreditCard funding type: 'credit', 'debit', 'prepaid', or 'unknown'.
data.paymentMethodDetails.cardExpMonthInteger12Two-digit card expiration month (1-12).
data.paymentMethodDetails.cardExpYearInteger2027Four-digit card expiration year.
data.paymentMethodDetails.cardNetworkStringvisaCard network used for processing (visa, mastercard, etc.).
data.paymentMethodDetails.cardWalletStringapple_payWallet type if the card was tokenized through one (apple_pay, google_pay, etc.).
data.outcome.networkStatusStringapproved_by_networkCard network's response status: 'approved_by_network', 'declined_by_network', etc.
data.outcome.reasonStringelevated_risk_levelReason code returned by Stripe Radar.
data.outcome.riskLevelStringnormalStripe Radar risk classification: 'normal', 'elevated', 'highest', 'not_assessed', or 'unknown'.
data.outcome.riskScoreInteger12Numeric Stripe Radar risk score (0-100). Higher means riskier.
data.outcome.sellerMessageStringPayment complete.Human-readable explanation of the outcome for the seller.
data.outcome.typeStringauthorizedOutcome type: 'authorized', 'manual_review', 'issuer_declined', 'blocked', or 'invalid'.
data.outcome.ruleStringblock_if_risk_level_above_75Stripe Radar rule that triggered this outcome (if any).
data.fraudDetails.stripeReportStringfraudulentStripe's classification of this charge as fraudulent: 'fraudulent' or empty.
data.fraudDetails.userReportStringsafeMerchant's classification of this charge: 'fraudulent', 'safe', or empty.
data.refundsArray of chargesRefundItemRefunds taken against this charge. One item per refund, listed below.
data.refunds[].refundIdString
data.refunds[].amountDecimal
data.refunds[].currencyString
data.refunds[].reasonString
data.refunds[].statusString
data.refunds[].createdLong (timestamp-millis)
data.livemodeBooleanfalseTrue for live-mode charges, false for test mode.
userAttributes.customerIdStringcus_NffrFeUfNV2HibStripe customer this charge belongs to.
userAttributes.receiptEmailStringbuyer@example.comEmail address the receipt was sent to (may differ from customer email).
userAttributes.billingNameStringJane DoeName on the billing details captured at charge time.
userAttributes.billingEmailStringjane.doe@example.comEmail on the billing details captured at charge time.
userAttributes.billingPhoneString+15555550123Phone on the billing details captured at charge time.
userAttributes.billingAddressLine1String123 Apple St.Line 1 of the billing address at charge time.
userAttributes.billingAddressLine2StringSuite 200Line 2 of the billing address at charge time.
userAttributes.billingAddressCityStringNew YorkBilling address city.
userAttributes.billingAddressStateStringNYBilling address state.
userAttributes.billingAddressPostalCodeString10001Billing address postal code.
userAttributes.billingAddressCountryStringUSBilling address two-letter country code.
userAttributes.nameStringJane DoeName of the customer.
userAttributes.emailStringjane.doe@example.comEmail of the customer.

Checkout sessions

Events: checkout_completed, checkout_abandoned, async_payment_succeeded, async_payment_failed. Each carries the fields below.

AttributeTypeExampleDescription
data.changeTypeString
data.checkoutSessionIdStringcs_test_a1xxxxUnique Stripe Checkout Session identifier.
data.paymentIntentIdStringpi_3NxxxxPaymentIntent created by this checkout session.
data.subscriptionIdStringsub_1NxxxxSubscription created by this checkout session (mode = subscription).
data.invoiceIdStringin_1NxxxxInvoice created by this checkout session.
data.paymentLinkIdStringplink_1NxxxxStripe Payment Link this checkout session was opened from (if any).
data.recoveredFromIdStringcs_test_b2yyyyIf this session was created to recover an expired session, the ID of the original session.
data.clientReferenceIdStringintempt_user_42Merchant-supplied attribution ID. Commonly the Intempt user ID or session ID.
data.modeStringsubscriptionCheckout mode: 'payment', 'setup', or 'subscription'.
data.statusStringcompleteSession state: 'open', 'complete', or 'expired'.
data.paymentStatusStringpaid'paid', 'unpaid', or 'no_payment_required'. Async methods can be complete-but-unpaid.
data.currencyStringUSDThree-letter ISO currency code.
data.amountTotalDecimal5000Total amount in the smallest currency unit, including tax and shipping.
data.amountSubtotalDecimal4500Subtotal amount before tax, discounts, and shipping.
data.urlStringhttps://checkout.stripe.com/c/pay/cs_test_a1xxxxHosted Stripe Checkout URL.
data.successUrlStringhttps://example.com/success?session_id={CHECKOUT_SESSION_ID}URL the customer is redirected to after successful payment.
data.cancelUrlStringhttps://example.com/cancelURL the customer is redirected to if they cancel checkout.
data.createdLong (timestamp-millis)1720217400000Time the session was created.
data.expiresAtLong (timestamp-millis)1720303800000Time after which an unpaid session expires (for abandoned-checkout journeys).
data.paymentMethodTypesArray of String["card", "klarna"]Payment method types offered in this checkout session.
data.paymentMethodCollectionStringalwaysHow payment methods are collected: 'always' or 'if_required'.
data.discountsArray of checkoutSessionsDiscount
data.discounts[].couponIdString
data.discounts[].promotionCodeIdString
data.totalDetails.amountDiscountDecimal500Total discount applied across the session.
data.totalDetails.amountShippingDecimal1000Total shipping amount.
data.totalDetails.amountTaxDecimal400Total tax amount.
data.shippingCost.amountSubtotalDecimal900Shipping cost before tax.
data.shippingCost.amountTaxDecimal100Tax portion of the shipping cost.
data.shippingCost.amountTotalDecimal1000Total shipping cost in the smallest currency unit.
data.consent.promotionsStringopt_inCustomer's marketing consent: 'opt_in' or 'opt_out'. Important for journey eligibility.
data.consent.termsOfServiceStringacceptedCustomer's acceptance of terms of service: 'accepted' or null.
data.livemodeBoolean
userAttributes.customerIdStringcus_NffrFeUfNV2HibStripe customer for this session. May be null for guest checkouts (fall back to customerEmail).
userAttributes.emailStringguest@example.comEmail captured at checkout (used for guest checkouts).
userAttributes.nameStringJane DoeName captured at checkout.
userAttributes.phoneString+15555550123Phone number captured at checkout.
userAttributes.businessNameStringAcme CorpBusiness name captured at checkout.
userAttributes.taxExemptStringnoneTax exemption captured at checkout: 'none', 'exempt', or 'reverse'.
userAttributes.addressLine1String123 Apple St.Billing address line 1 captured at checkout.
userAttributes.addressLine2StringSuite 200Billing address line 2 captured at checkout.
userAttributes.cityStringNew YorkBilling city captured at checkout.
userAttributes.stateStringNYBilling state captured at checkout.
userAttributes.postalCodeString10001Billing postal code captured at checkout.
userAttributes.countryStringUSBilling country captured at checkout.
userAttributes.localeStringenCustomer's preferred language captured at checkout.
userAttributes.customerTaxIdsArray of checkoutSessionsUserTaxId
userAttributes.customerTaxIds[].typeString
userAttributes.customerTaxIds[].valueString
userAttributes.shippingNameStringJane DoeShipping recipient name captured at checkout.
userAttributes.shippingPhoneString+15555550123Shipping phone captured at checkout.
userAttributes.shippingAddressLine1String456 Banana Ave.Shipping line 1 captured at checkout.
userAttributes.shippingAddressLine2StringApt 3BShipping line 2 captured at checkout.
userAttributes.shippingAddressCityStringBrooklynShipping city captured at checkout.
userAttributes.shippingAddressStateStringNYShipping state captured at checkout.
userAttributes.shippingAddressPostalCodeString11201Shipping postal code captured at checkout.
userAttributes.shippingAddressCountryStringUSShipping country captured at checkout.

Customer cash balance transactions

Events: cash_balance_transaction.

AttributeTypeExampleDescription
data.changeTypeString
data.transactionIdStringccsbtxn_1NxxxxUnique cash balance transaction identifier.
data.typeStringfundedTransaction type: 'funded', 'applied_to_payment', 'refunded_from_payment', 'unapplied_from_payment', 'adjusted_for_overdraft', etc.
data.netAmountDecimal5000Net amount of this transaction in the smallest currency unit (positive deposit, negative outflow).
data.endingBalanceDecimal5000Cash balance after this transaction was applied.
data.currencyStringUSDThree-letter ISO currency code.
data.createdLong (timestamp-millis)1720217400000Time the transaction posted to the cash balance.
data.funded.referenceStringINV-1024Free-text reference the customer included with the bank transfer.
data.funded.fundingTypeStringbank_transferHow the funds were sent: 'bank_transfer', 'wire', 'ach_credit', 'sepa_credit', or 'multibanco'.
data.funded.bankNameStringChaseBank that originated the transfer.
data.funded.bankCountryStringUSTwo-letter ISO country code of the originating bank.
data.funded.last4String6789Last 4 digits of the originating bank account.
data.funded.senderNameStringAcme CorpName of the sender on the bank transfer.
data.appliedToPaymentIdStringpi_3NxxxxPayment this transaction was applied to (when the type is 'applied_to_payment').
data.appliedToInvoiceIdStringin_1NxxxxInvoice this transaction was applied to.
data.refundedFromPaymentIdStringpi_3NxxxxPayment this transaction was refunded from.
data.livemodeBoolean
userAttributes.customerIdStringcus_NffrFeUfNV2HibCustomer this cash balance transaction belongs to.

Customer tax IDs

Events: tax_id_added, tax_id_updated. Each carries the fields below.

AttributeTypeExampleDescription
data.changeTypeString
data.taxIdIdStringtxi_1NxxxxStripe Tax ID object identifier (e.g. txi_xxx). Used to dedupe and address an individual tax record on update/delete.
data.createdLong (timestamp-millis)1720217400000Time at which the tax ID record was added to the customer.
data.livemodeBoolean
userAttributes.customerIdStringcus_NffrFeUfNV2HibStripe customer this tax ID belongs to.
userAttributes.taxIdStringDE123456789The actual tax identifier value (VAT number, EIN, GST, etc.).
userAttributes.taxIdTypeStringeu_vatTax identifier type (e.g. eu_vat, us_ein, gb_vat). See Stripe Tax ID types.
userAttributes.taxIdCountryStringDETwo-letter ISO country code the tax ID is registered in.
userAttributes.taxIdVerificationStatusStringverifiedStripe verification status: 'pending', 'verified', 'unverified', or 'unavailable'.
userAttributes.taxIdVerifiedNameStringAcme GmbHLegal name returned by the tax authority's verification.
userAttributes.taxIdVerifiedAddressStringHauptstrasse 1, BerlinAddress returned by the tax authority's verification.

Customers

Events: user_created, user_updated, user_deleted. Each carries the fields below.

AttributeTypeExampleDescription
userAttributes.customerIdStringcus_NffrFeUfNV2HibUnique Stripe customer identifier (e.g. cus_Nxxxx). Primary join key across Stripe objects.
userAttributes.emailStringjane.doe@example.comThe customer's email address. Primary contact for email journeys.
userAttributes.nameStringJane DoeThe customer's full name or business name. Used for personalization in journeys.
userAttributes.phoneString+15555550123The customer's phone number. Used for SMS journeys.
userAttributes.descriptionStringAcme Corp — enterprise planFree-text note. Useful for B2B account identification.
userAttributes.createdLong (timestamp-millis)1720217400000Time at which the customer was created. Used for cohort analysis and tenure segmentation.
userAttributes.currencyStringUSDThree-letter ISO code for the currency the customer is billed in.
userAttributes.balanceDecimal-500Customer's account credit balance in the smallest currency unit (e.g. cents). Can influence churn-risk scoring.
userAttributes.delinquentBooleanfalseTrue when the customer has past-due invoices. Strong churn signal.
userAttributes.taxExemptStringnoneTax exemption status: 'none', 'exempt', or 'reverse'. Useful for B2B segmentation.
userAttributes.preferredLocalesArray of String["en-US", "es-MX"]Customer's preferred languages, ordered by preference. Used for localized email/SMS content.
userAttributes.defaultSourceStringcard_1NxxxxReference to the customer's default payment source (legacy).
userAttributes.defaultPaymentMethodStringpm_1NxxxxReference to the customer's default Payment Method.
userAttributes.livemodeBooleantrueTrue when the customer record is in Stripe live mode (vs test mode).
userAttributes.deletedBooleanfalseTrue when the customer has been deleted in Stripe. Used for GDPR suppression.
userAttributes.addressLine1String123 Apple St.Billing address line 1 (street, PO Box, or company name).
userAttributes.addressLine2StringSuite 200Billing address line 2 (apartment, suite, unit, or building).
userAttributes.cityStringNew YorkBilling address city, district, suburb, town, or village.
userAttributes.stateStringNYBilling address state, county, province, or region.
userAttributes.postalCodeString10001Billing address ZIP or postal code.
userAttributes.countryStringUSBilling address two-letter country code (ISO 3166-1 alpha-2).
userAttributes.shipping.nameStringJane DoeName on the shipping address.
userAttributes.shipping.phoneString+15555550123Phone number on the shipping address.
userAttributes.shipping.address.line1String456 Banana Ave.Shipping address line 1.
userAttributes.shipping.address.line2StringApt 3BShipping address line 2.
userAttributes.shipping.address.cityStringBrooklynShipping address city.
userAttributes.shipping.address.stateStringNYShipping address state.
userAttributes.shipping.address.postalCodeString11201Shipping address postal code.
userAttributes.shipping.address.countryStringUSShipping address two-letter country code.
userAttributes.discountString
userAttributes.discountsArray of String

Discounts

Events: discount_applied, discount_removed. Each carries the fields below.

AttributeTypeExampleDescription
data.changeTypeString
data.discountIdStringdi_1NxxxxUnique Stripe discount identifier.
data.subscriptionIdStringsub_1NxxxxSubscription this discount is applied to (if any).
data.invoiceIdStringin_1NxxxxInvoice this discount is applied to (if any).
data.promotionCodeIdStringpromo_1NxxxxPromotion code that was redeemed (if any).
data.startLong (timestamp-millis)1720217400000Time the discount became active.
data.endLong (timestamp-millis)1728166200000Time the discount expires (null if forever).
data.coupon.couponIdStringWELCOME20Identifier of the coupon backing this discount.
data.coupon.nameStringWelcome 20% offHuman-readable coupon name.
data.coupon.amountOffDecimal500Fixed-amount discount in the smallest currency unit.
data.coupon.percentOffDecimal20.0Percentage discount.
data.coupon.currencyStringUSDCurrency for fixed-amount discounts.
data.coupon.durationStringrepeatingHow long the coupon applies: 'once', 'forever', or 'repeating'.
data.coupon.durationInMonthsInteger3For 'repeating' coupons, the number of months the discount lasts.
data.coupon.maxRedemptionsInteger1000Maximum number of times the coupon can be redeemed.
data.coupon.timesRedeemedInteger42Number of times the coupon has been redeemed so far.
data.coupon.redeemByLong (timestamp-millis)1735689599000Latest time the coupon can be redeemed.
data.coupon.validBooleantrueTrue when the coupon can still be applied (within window and under max redemptions).
data.coupon.createdLong (timestamp-millis)1704067200000Time the coupon was created.
userAttributes.customerIdStringcus_NffrFeUfNV2HibStripe customer this discount applies to.

Disputes

Events: dispute_opened, dispute_closed. Each carries the fields below.

AttributeTypeExampleDescription
data.changeTypeString
data.disputeIdStringdp_1NxxxxUnique Stripe dispute identifier.
data.chargeIdStringch_3NxxxxCharge being disputed.
data.paymentIntentIdStringpi_3NxxxxPaymentIntent associated with the disputed charge.
data.amountDecimal5000Disputed amount in the smallest currency unit.
data.currencyStringUSDThree-letter ISO currency code.
data.statusStringneeds_responseDispute status: 'warning_needs_response', 'warning_under_review', 'warning_closed', 'needs_response', 'under_review', 'won', or 'lost'.
data.reasonStringfraudulentReason for the dispute (fraudulent, product_not_received, duplicate, etc.).
data.isChargeRefundableBooleanfalseTrue if the charge can still be refunded.
data.createdLong (timestamp-millis)1720612800000Time the dispute was opened.
data.evidenceDueByLong (timestamp-millis)1721951999000Deadline for submitting evidence to contest the dispute.
data.networkReasonCodeString10.4Card network's reason code for the dispute.
data.livemodeBoolean

Early fraud warnings

Events: fraud_warning_received.

AttributeTypeExampleDescription
data.changeTypeString
data.earlyFraudWarningIdStringissfr_1NxxxxUnique Stripe Radar Early Fraud Warning identifier.
data.chargeIdStringch_3NxxxxCharge that received the fraud warning.
data.paymentIntentIdStringpi_3NxxxxPaymentIntent for the flagged charge.
data.fraudTypeStringmade_with_stolen_cardType of fraud the card network reported (made_with_stolen_card, misc, etc.).
data.actionableBooleantrueTrue when the warning is actionable (you can refund to avoid a chargeback).
data.createdLong (timestamp-millis)1720612800000Time the warning was issued.
data.livemodeBoolean

Invoices

Events: invoice_created, invoice_updated, invoice_upcoming, invoice_finalized, invoice_paid, invoice_payment_failed, invoice_action_required, invoice_voided, invoice_uncollectible. Each carries the fields below.

AttributeTypeExampleDescription
data.changeTypeString
data.invoiceIdStringin_1NxxxxUnique Stripe invoice identifier.
data.subscriptionIdStringsub_1NxxxxSubscription this invoice belongs to (null for one-off invoices).
data.paymentIntentIdStringpi_3NxxxxPaymentIntent created to pay this invoice.
data.chargeIdStringch_3NxxxxCharge that paid this invoice (legacy / direct-charge flows).
data.defaultPaymentMethodIdStringpm_1NxxxxPayment method to be used for this invoice.
data.defaultSourceIdStringcard_1NxxxxLegacy source to be used for this invoice.
data.numberStringINV-1024Human-readable invoice number for customer-facing comms.
data.receiptNumberString1234-5678Stripe-generated receipt number once paid.
data.statusStringpaidInvoice status: 'draft', 'open', 'paid', 'uncollectible', or 'void'. Drives the dunning state machine.
data.billingReasonStringsubscription_cycleWhy the invoice was created: 'subscription_cycle', 'subscription_create', 'subscription_update', 'manual', 'upcoming', etc.
data.collectionMethodStringcharge_automatically'charge_automatically' or 'send_invoice'.
data.currencyStringUSDThree-letter ISO currency code.
data.totalDecimal5500Final invoice total in the smallest currency unit, including tax and shipping.
data.subtotalDecimal5000Subtotal before tax, discounts, and shipping.
data.taxDecimal500Total tax amount.
data.amountDueDecimal0Amount the customer still owes.
data.amountPaidDecimal5500Amount the customer has paid so far.
data.amountRemainingDecimal0Amount remaining to be paid.
data.amountShippingDecimal1000Total shipping amount on the invoice.
data.amountOverpaidDecimal0Amount paid in excess of the amount due.
data.paidBooleantrueTrue when the invoice is fully paid.
data.paidOutOfBandBooleanfalseTrue when the invoice was marked paid externally (not via Stripe).
data.attemptedBooleantrueTrue when Stripe has attempted to collect on this invoice.
data.attemptCountInteger1Number of payment attempts. Drives recovery journey timing.
data.nextPaymentAttemptLong (timestamp-millis)1720476600000Scheduled time of the next automatic retry.
data.createdLong (timestamp-millis)1720217400000Time the invoice was created.
data.finalizedAtLong (timestamp-millis)1720217460000Time the invoice was finalized.
data.dueDateLong (timestamp-millis)1721081400000When the invoice is due to be paid.
data.effectiveAtLong (timestamp-millis)1720217400000Effective date for the invoice.
data.periodStartLong (timestamp-millis)1720217400000Start of the service period this invoice covers. Essential for revenue recognition.
data.periodEndLong (timestamp-millis)1722895800000End of the service period this invoice covers.
data.hostedInvoiceUrlStringhttps://invoice.stripe.com/i/acct_xxx/test_xxxStripe-hosted page where the customer can view and pay the invoice. Use in email/SMS templates.
data.invoicePdfStringhttps://pay.stripe.com/invoice/.../pdfURL to a PDF version of the invoice.
data.discount.discountIdStringdi_1NxxxxActive discount on this invoice.
data.discount.couponIdStringWELCOME20Coupon backing the active discount.
data.discount.couponNameStringWelcome 20% offHuman-readable coupon name.
data.discount.amountOffDecimal500Fixed-amount discount.
data.discount.percentOffDecimal20.0Percentage discount.
data.discount.durationStringonce'once', 'forever', or 'repeating'.
data.discount.currencyStringUSDCurrency for fixed-amount discounts.
data.discountsArray of String
data.totalDiscountAmountsArray of invoicesTotalDiscountAmount
data.totalDiscountAmounts[].amountDecimal
data.totalDiscountAmounts[].discountIdString
data.lastFinalizationError.codeStringinvoice_no_payment_method_typesStripe error code from invoice finalization failure.
data.lastFinalizationError.messageStringNo payment method types are configured.Human-readable finalization error message.
data.lastFinalizationError.paramString
data.lastFinalizationError.docUrlString
data.lastFinalizationError.typeStringinvalid_request_errorError type returned by Stripe (e.g. invalid_request_error).
data.lastPaymentError.codeStringcard_declinedStripe error code from the most recent payment attempt failure.
data.lastPaymentError.declineCodeStringinsufficient_fundsCard-network decline code (e.g. insufficient_funds).
data.lastPaymentError.messageStringYour card was declined.Human-readable failure message. Use for dunning journey personalization.
data.lastPaymentError.paymentMethodTypeStringcardType of payment method that failed.
data.lastPaymentError.cardBrandStringvisaCard brand that was declined (visa, mastercard, etc.).
data.lastPaymentError.cardLast4String4242Last 4 digits of the declined card.
data.linesArray of invoicesLineItem
data.lines[].lineItemIdString
data.lines[].subscriptionIdString
data.lines[].subscriptionItemIdString
data.lines[].priceIdString
data.lines[].productIdString
data.lines[].quantityDecimal
data.lines[].amountDecimal
data.lines[].unitAmountDecimal
data.lines[].unitAmountDecimalString
data.lines[].currencyString
data.lines[].descriptionString
data.lines[].discountableBoolean
data.lines[].discountsArray of String
data.lines[].prorationBoolean
data.lines[].typeString
data.lines[].periodStartLong (timestamp-millis)
data.lines[].periodEndLong (timestamp-millis)
data.lines[].priceNicknameString
data.lines[].priceTypeString
data.lines[].recurringIntervalString
data.lines[].recurringIntervalCountInteger
data.lines[].recurringUsageTypeString
data.lines[].billingSchemeString
data.lines[].productNameString
data.lines[].productActiveBoolean
data.livemodeBoolean
userAttributes.customerIdStringcus_NffrFeUfNV2HibStripe customer billed on this invoice.
userAttributes.emailStringjane.doe@example.comCustomer email captured at invoice time. Preserved for historical accuracy.
userAttributes.nameStringJane DoeCustomer name at invoice time.
userAttributes.phoneString+15555550123Customer phone at invoice time.
userAttributes.addressLine1String123 Apple St.Customer address line 1 at invoice time.
userAttributes.addressLine2StringSuite 200Customer address line 2 at invoice time.
userAttributes.cityStringNew YorkCustomer city at invoice time.
userAttributes.stateStringNYCustomer state at invoice time.
userAttributes.postalCodeString10001Customer postal code at invoice time.
userAttributes.countryStringUSCustomer country at invoice time.

Payment intents

Events: payment_succeeded, payment_failed. Each carries the fields below.

AttributeTypeExampleDescription
data.changeTypeString
data.paymentIntentIdStringpi_3NxxxxUnique Stripe PaymentIntent identifier.
data.invoiceIdStringin_1NxxxxLinked invoice if this PaymentIntent was created for an invoice.
data.latestChargeIdStringch_3NxxxxCharge that represents the completed payment for this PaymentIntent. Use for revenue dedup against charges.
data.paymentMethodIdStringpm_1NxxxxPayment Method used for this PaymentIntent.
data.statusStringsucceededPaymentIntent status: 'requires_payment_method', 'requires_confirmation', 'requires_action', 'processing', 'requires_capture', 'canceled', or 'succeeded'.
data.amountDecimal5000Authorized amount in the smallest currency unit.
data.amountReceivedDecimal5000Amount actually received after capture.
data.amountCapturableDecimal0Amount remaining that can still be captured (for two-step authorize/capture).
data.currencyStringUSDThree-letter ISO currency code.
data.createdLong (timestamp-millis)1720217400000Time the PaymentIntent was created.
data.canceledAtLong (timestamp-millis)1720217700000Time the PaymentIntent was canceled.
data.cancellationReasonStringrequested_by_customerReason for cancellation: 'duplicate', 'fraudulent', 'requested_by_customer', 'abandoned', 'failed_invoice', 'void_invoice', or 'automatic'.
data.descriptionStringOrder #1234Free-text description of the PaymentIntent.
data.statementDescriptorStringACME * ORDERText appearing on the customer's bank/card statement.
data.statementDescriptorSuffixStringORDER1234Suffix appended to the merchant's default statement descriptor.
data.setupFutureUsageStringoff_sessionIndicates whether the payment method can be saved for future charges: 'on_session' or 'off_session'.
data.paymentMethodTypesArray of String["card", "sepa_debit"]Payment method types this PaymentIntent accepts.
data.lastPaymentError.codeStringcard_declinedStripe error code from the most recent failed payment attempt.
data.lastPaymentError.declineCodeStringinsufficient_fundsCard network decline code from the most recent failed attempt.
data.lastPaymentError.messageStringYour card was declined.Human-readable error message. Use for recovery journey personalization.
data.lastPaymentError.paramString
data.lastPaymentError.docUrlString
data.lastPaymentError.chargeIdString
data.lastPaymentError.paymentMethodIdString
data.lastPaymentError.paymentMethodTypeStringcardPayment method type that failed.
data.livemodeBoolean
userAttributes.customerIdStringcus_NffrFeUfNV2HibStripe customer this PaymentIntent belongs to.
userAttributes.receiptEmailStringbuyer@example.comEmail address the receipt is sent to.
userAttributes.shippingNameStringJane DoeRecipient name on the shipping address.
userAttributes.shippingPhoneString+15555550123Phone number on the shipping address.
userAttributes.shippingCarrierStringUPSShipping carrier name.
userAttributes.shippingTrackingNumberString1Z999AA10123456784Tracking number for the shipment.
userAttributes.shippingAddressLine1String456 Banana Ave.Line 1 of the shipping address.
userAttributes.shippingAddressLine2StringApt 3BLine 2 of the shipping address.
userAttributes.shippingAddressCityStringBrooklynShipping address city.
userAttributes.shippingAddressStateStringNYShipping address state.
userAttributes.shippingAddressPostalCodeString11201Shipping address postal code.
userAttributes.shippingAddressCountryStringUSShipping address two-letter country code.

Payment methods

Events: payment_method_added, payment_method_removed, payment_method_auto_updated, card_expiring_soon. Each carries the fields below.

AttributeTypeExampleDescription
data.changeTypeString
data.paymentMethodIdStringpm_1NxxxxUnique Stripe Payment Method identifier.
data.typeStringcardPayment method type: 'card', 'sepa_debit', 'us_bank_account', 'apple_pay', etc.
data.createdLong (timestamp-millis)1720217400000Time the payment method was attached.
data.card.brandStringvisaCard brand: 'visa', 'mastercard', 'amex', 'discover', etc.
data.card.last4String4242Last four digits of the card. Used in 'your Visa ending 4242' templates.
data.card.expMonthInteger12Two-digit card expiration month (1-12). Used to derive expiring-card journeys.
data.card.expYearInteger2027Four-digit card expiration year.
data.card.countryStringUSTwo-letter ISO country code where the card was issued.
data.card.fundingStringcredit'credit', 'debit', 'prepaid', or 'unknown'.
data.card.walletStringapple_payWallet type if tokenized through one (apple_pay, google_pay, etc.).
data.card.networkStringvisaCard network used for processing.
data.sepaDebit.last4String3000Last 4 digits of the SEPA bank account.
data.sepaDebit.countryStringDETwo-letter ISO country code of the SEPA bank.
data.sepaDebit.bankCodeString37040044Bank code of the SEPA debit account.
data.sepaDebit.branchCodeString0000Branch code of the SEPA debit account.
data.usBankAccount.last4String6789Last 4 digits of the US bank account.
data.usBankAccount.bankNameStringChaseBank name for the US bank account.
data.usBankAccount.accountTypeStringchecking'checking' or 'savings'.
data.usBankAccount.accountHolderTypeStringindividual'individual' or 'company'.
data.livemodeBoolean
userAttributes.customerIdStringcus_NffrFeUfNV2HibCustomer this payment method is attached to.
userAttributes.billingNameStringJane DoeName on the payment method's billing details.
userAttributes.billingEmailStringjane.doe@example.comEmail on the payment method's billing details.
userAttributes.billingPhoneString+15555550123Phone on the payment method's billing details.
userAttributes.billingAddressLine1String123 Apple St.Line 1 of the billing address.
userAttributes.billingAddressLine2StringSuite 200Line 2 of the billing address.
userAttributes.billingAddressCityStringNew YorkBilling city.
userAttributes.billingAddressStateStringNYBilling state.
userAttributes.billingAddressPostalCodeString10001Billing postal code.
userAttributes.billingAddressCountryStringUSBilling two-letter country code.

Products

Events: product_created, product_updated, product_deleted. Each carries the fields below.

AttributeTypeExampleDescription
productAttributes.changeTypeString
productAttributes.productIdStringprod_NxxxxUnique Stripe product identifier.
productAttributes.defaultPriceIdStringprice_1NxxxxConvenience pointer to the canonical price for this product.
productAttributes.nameStringPro PlanHuman-readable product name.
productAttributes.descriptionStringUnlimited seats with priority support.Marketing copy for the product. Useful in journey templates.
productAttributes.activeBooleantrueSoft-delete flag. Filter inactive products from catalog views.
productAttributes.typeStringservice'service' or 'good'. Distinguishes physical vs digital products.
productAttributes.taxCodeStringtxcd_10000000Stripe Tax classification code.
productAttributes.urlStringhttps://example.com/pro-planMarketing page URL for the product. Useful in journey CTAs.
productAttributes.imagesArray of String["https://files.stripe.com/products/prod_xxx_1.png"]URLs of product images. Use in rich emails and journey templates.
productAttributes.createdLong (timestamp-millis)1704067200000Time the product was created.
productAttributes.updatedLong (timestamp-millis)1720217400000Time the product was last updated.
productAttributes.livemodeBoolean

Refunds

Events: refund_created, refund_updated, refund_failed. Each carries the fields below.

AttributeTypeExampleDescription
data.changeTypeString
data.refundIdStringre_3NxxxxUnique Stripe refund identifier.
data.chargeIdStringch_3NxxxxCharge that was refunded.
data.paymentIntentIdStringpi_3NxxxxPaymentIntent associated with the refunded charge.
data.balanceTransactionIdStringtxn_1NxxxxStripe balance transaction representing the refund's impact on your Stripe balance.
data.amountDecimal1000Refund amount in the smallest currency unit. Negative revenue signal.
data.currencyStringUSDThree-letter ISO currency code.
data.statusStringsucceededRefund status: 'pending', 'requires_action', 'succeeded', 'failed', or 'canceled'.
data.reasonStringrequested_by_customerReason for the refund: 'duplicate', 'fraudulent', or 'requested_by_customer'.
data.failureReasonStringexpired_or_canceled_cardIf the refund failed, the reason it failed (lost_or_stolen_card, expired_or_canceled_card, etc.).
data.receiptNumberString1234-5678Stripe-generated receipt number for the refund.
data.descriptionStringCustomer requested refund — order #1234Free-text description of the refund.
data.createdLong (timestamp-millis)1720612800000Time the refund was created.
data.livemodeBooleanfalseTrue for live-mode refunds, false for test mode.

Reviews

Events: payment_review_opened, payment_review_closed. Each carries the fields below.

AttributeTypeExampleDescription
data.changeTypeString
data.reviewIdStringprv_1NxxxxUnique Stripe Radar review identifier.
data.chargeIdStringch_3NxxxxCharge under review.
data.paymentIntentIdStringpi_3NxxxxPaymentIntent for the reviewed charge.
data.reasonStringruleWhy the review was opened (rule, manual, etc.).
data.openedReasonStringruleReason the review was originally opened.
data.closedReasonStringapprovedHow the review was closed: 'approved', 'refunded', 'refunded_as_fraud', 'disputed', or 'redacted'.
data.openBooleantrueTrue while the review is still open.
data.createdLong (timestamp-millis)1720612800000Time the review was opened.
data.livemodeBoolean

Subscription schedules

Events: schedule_created, schedule_updated, schedule_completed, schedule_canceled, schedule_released, schedule_aborted, schedule_expiring. Each carries the fields below.

AttributeTypeExampleDescription
data.changeTypeString
data.scheduleIdStringsub_sched_1NxxxxUnique Stripe Subscription Schedule identifier.
data.subscriptionIdStringsub_1NxxxxSubscription currently driven by this schedule.
data.releasedSubscriptionIdStringsub_1NxxxxSubscription that was detached when the schedule was released.
data.statusStringactiveSchedule status: 'not_started', 'active', 'completed', 'released', or 'canceled'.
data.endBehaviorStringreleaseWhat happens when the schedule ends: 'release', 'cancel', or 'none'.
data.createdLong (timestamp-millis)1720217400000Time the schedule was created.
data.canceledAtLong (timestamp-millis)1720612800000Time the schedule was canceled.
data.completedAtLong (timestamp-millis)1751753400000Time all phases finished executing.
data.releasedAtLong (timestamp-millis)1733011200000Time the schedule was released (subscription detached).
data.expiresAtLong (timestamp-millis)1751753400000Time the schedule will expire.
data.currentPhase.startDateLong (timestamp-millis)1720217400000Start of the currently active phase.
data.currentPhase.endDateLong (timestamp-millis)1728166200000End of the currently active phase.
data.phasesArray of subscriptionSchedulePhase
data.phases[].startDateLong (timestamp-millis)
data.phases[].endDateLong (timestamp-millis)
data.phases[].trialEndLong (timestamp-millis)
data.phases[].currencyString
data.phases[].collectionMethodString
data.phases[].prorationBehaviorString
data.phases[].descriptionString
data.phases[].couponIdString
data.phases[].defaultPaymentMethodIdString
data.phases[].itemsArray of subscriptionSchedulePhaseItem
data.phases[].items[].priceIdString
data.phases[].items[].productIdString
data.phases[].items[].quantityDecimal
data.phases[].items[].unitAmountDecimal
data.phases[].items[].amountDecimal
data.phases[].items[].currencyString
data.defaultSettings.collectionMethodStringcharge_automaticallyDefault 'charge_automatically' or 'send_invoice' for the schedule.
data.defaultSettings.billingCycleAnchorStringautomaticWhen the billing cycle anchors: 'automatic', 'phase_start', etc.
data.defaultSettings.defaultPaymentMethodIdStringpm_1NxxxxDefault payment method for invoices created from this schedule.
data.defaultSettings.onBehalfOfStringacct_1NxxxxConnected account on behalf of which charges will be made.
data.defaultSettings.descriptionStringAnnual contract — Q3 2024Default description for invoices.
data.livemodeBoolean
userAttributes.customerIdStringcus_NffrFeUfNV2HibCustomer this schedule belongs to.

Subscriptions

Events: subscription_started, subscription_updated, subscription_canceled, subscription_paused, subscription_resumed, trial_ending_soon. Each carries the fields below.

AttributeTypeExampleDescription
data.changeTypeString
data.subscriptionIdStringsub_1NxxxxUnique Stripe subscription identifier.
data.latestInvoiceIdStringin_1NxxxxMost recent invoice for this subscription.
data.scheduleIdStringsub_sched_1NxxxxStripe Subscription Schedule driving this subscription (if any).
data.defaultPaymentMethodIdStringpm_1NxxxxPayment method used for this subscription's invoices (overrides customer-level default).
data.statusStringactiveSubscription status: 'active', 'trialing', 'past_due', 'canceled', 'unpaid', 'incomplete', 'incomplete_expired', or 'paused'.
data.collectionMethodStringcharge_automatically'charge_automatically' or 'send_invoice'. Distinguishes self-serve from sales-led billing.
data.currencyStringUSDThree-letter ISO currency code.
data.amountDecimal5000Total amount charged per billing period in the smallest currency unit. Sum of items[].amount.
data.mrrDecimal5000Monthly recurring revenue in the smallest currency unit, normalized regardless of billing interval.
data.arrDecimal60000Annual recurring revenue in the smallest currency unit (mrr * 12).
data.createdLong (timestamp-millis)1720217400000Time the subscription was created.
data.currentPeriodStartLong (timestamp-millis)1720217400000Start of the current billing period.
data.currentPeriodEndLong (timestamp-millis)1722895800000End of the current billing period. Subscription renews immediately after this.
data.trialStartLong (timestamp-millis)1720217400000Start of the trial period.
data.trialEndLong (timestamp-millis)1721427000000End of the trial period. Drives 'Trial Ending Soon' logic.
data.cancelAtLong (timestamp-millis)1722895800000Scheduled cancellation time (set when cancelling at period end).
data.canceledAtLong (timestamp-millis)1722895800000Time the subscription was actually canceled.
data.endedAtLong (timestamp-millis)1722895800000Time the subscription fully ended (after any cancel-at-period-end window).
data.cancelAtPeriodEndBooleanfalseTrue if the subscription will cancel at the end of the current billing period. Pre-cancellation churn signal.
data.cancellationDetails.reasonStringcancellation_requestedCancellation classification: 'cancellation_requested', 'payment_disputed', or 'payment_failed'.
data.cancellationDetails.feedbackStringtoo_expensiveCustomer's structured feedback (too_expensive, missing_features, switched_service, etc.).
data.cancellationDetails.commentStringFound a cheaper alternative.Free-text comment provided by the customer when canceling.
data.previousAttributes.previousStatusStringtrialingStatus before the most recent update. Used to derive trial-to-paid conversions.
data.previousAttributes.previousQuantityDecimal5Quantity before the most recent update. Used to detect seat expansions/contractions.
data.previousAttributes.previousPriceIdStringprice_1NxxxxPrice ID before the most recent update. Used to derive plan upgrades/downgrades.
data.previousAttributes.previousProductIdStringprod_NxxxxProduct ID before the most recent update.
data.previousAttributes.previousUnitAmountDecimal1000Per-unit price before the most recent update.
data.previousAttributes.previousCurrencyStringUSDCurrency before the most recent update.
data.previousAttributes.previousIntervalStringmonthBilling interval before the most recent update (month, year, etc.).
data.previousAttributes.previousCancelAtPeriodEndBooleantrueCancel-at-period-end flag value before the most recent update.
data.previousAttributes.previousTrialEndLong (timestamp-millis)1721427000000Trial end before the most recent update.
data.itemsArray of subscriptionsItem
data.items[].subscriptionItemIdString
data.items[].priceIdString
data.items[].productIdString
data.items[].quantityDecimal
data.items[].amountDecimal
data.items[].unitAmountDecimal
data.items[].unitAmountDecimalString
data.items[].currencyString
data.items[].recurringIntervalString
data.items[].recurringIntervalCountInteger
data.items[].recurringUsageTypeString
data.items[].billingSchemeString
data.items[].priceNicknameString
data.items[].nameString
data.items[].activeBoolean
data.discount.discountIdStringdi_1NxxxxActive discount applied to the subscription.
data.discount.couponIdStringWELCOME20Coupon backing the active discount.
data.discount.couponNameStringWelcome 20% offHuman-readable coupon name.
data.discount.amountOffDecimal500Fixed amount discount in the smallest currency unit.
data.discount.percentOffDecimal20.0Percentage discount.
data.discount.durationStringrepeatingHow long the discount applies: 'once', 'forever', or 'repeating'.
data.discount.currencyStringUSDCurrency for fixed-amount discounts.
data.discountsArray of String
data.livemodeBoolean
userAttributes.customerIdStringcus_NffrFeUfNV2HibStripe customer this subscription belongs to.
userAttributes.subscriptionStatusStringactiveMirrored subscription status on the user profile for real-time segmentation.
userAttributes.currentPriceIdStringprice_1NxxxxActive price ID on the user profile.
userAttributes.currentProductIdStringprod_NxxxxActive product ID on the user profile.
userAttributes.mrrDecimal5000Customer's monthly recurring revenue in the smallest currency unit.
userAttributes.arrDecimal60000Customer's annual recurring revenue in the smallest currency unit.

On this page