Created
September 1, 2025 08:33
-
-
Save vvksh/49ec90c2c08449f20e9c88277e78c3da to your computer and use it in GitHub Desktop.
stripe documentation
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "schema": [ | |
| { | |
| "name": "acceptance_reporting_preaggregated_deduplicated_v2", | |
| "tables": [ | |
| { | |
| "name": "acceptance_reporting_preaggregated_deduplicated_v2", | |
| "comment": "Table of pre-aggreated and deduplicated data for auth rate reporting.", | |
| "columns": [ | |
| { | |
| "name": "is_connected_account", | |
| "comment": "Boolean for if the charge comes from a connected account", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created_day", | |
| "comment": "The day of the acceptance flow data.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) upon which the data being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_brand", | |
| "comment": "card brand of data being aggregated upon", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_type", | |
| "comment": "card type of data being aggregated upon", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_input_method", | |
| "comment": "card input method of data being aggregated upon", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_country", | |
| "comment": "Issue country of the card upon which data is being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_type", | |
| "comment": "Outcome type upon which data is being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_reason", | |
| "comment": "Outcome reason upon which data is being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_rule_id", | |
| "comment": "The ID of the Radar rule that matched the payment, if applicable.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "attributable_optimization", | |
| "comment": "Optimization like AA, dunning, etc upon which data is being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_count", | |
| "comment": "Total count of transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_amount", | |
| "comment": "Total amount of transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_amount_in_usd", | |
| "comment": "Total amount of transactions in USD that is fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_count", | |
| "comment": "Total count of accepted transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_amount", | |
| "comment": "Total amount of accepted transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_amount_in_usd", | |
| "comment": "Total amount of accepted transactions in USD that is fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "blocked_by_default_high_risk_rule_count", | |
| "comment": "Total count of blocked_by_default_high_risk_rule transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "blocked_by_radar_rule_count", | |
| "comment": "Total count of blocked_by_radar_rule transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "blocked_by_stripe_count", | |
| "comment": "Total count of blocked_by_stripe transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "OTHER TABLES" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "acceptance_reporting_preaggregated_deduplicated_v3", | |
| "tables": [ | |
| { | |
| "name": "acceptance_reporting_preaggregated_deduplicated_v3", | |
| "comment": "Table of pre-aggreated and deduplicated data for auth rate reporting.", | |
| "columns": [ | |
| { | |
| "name": "is_connected_account", | |
| "comment": "Boolean for if the charge comes from a connected account", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created_day", | |
| "comment": "The day of the acceptance flow data.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) upon which the data being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_brand", | |
| "comment": "card brand of data being aggregated upon", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_type", | |
| "comment": "card type of data being aggregated upon", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cof", | |
| "comment": "CoF of data being aggregated upon", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "used_network_tokens", | |
| "comment": "Boolean for used_network_tokens of data being aggregated upon", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_input_method", | |
| "comment": "card input method of data being aggregated upon", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_country", | |
| "comment": "Issue country of the card upon which data is being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_type", | |
| "comment": "Outcome type upon which data is being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_reason", | |
| "comment": "Outcome reason upon which data is being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_rule_id", | |
| "comment": "The ID of the Radar rule that matched the payment, if applicable.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "attributable_optimization", | |
| "comment": "Optimization like AA, dunning, etc upon which data is being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_count", | |
| "comment": "Total count of transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_amount", | |
| "comment": "Total amount of transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_amount_in_usd", | |
| "comment": "Total amount of transactions in USD that is fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_count", | |
| "comment": "Total count of accepted transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_amount", | |
| "comment": "Total amount of accepted transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_amount_in_usd", | |
| "comment": "Total amount of accepted transactions in USD that is fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "blocked_by_default_high_risk_rule_count", | |
| "comment": "Total count of blocked_by_default_high_risk_rule transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "blocked_by_radar_rule_count", | |
| "comment": "Total count of blocked_by_radar_rule transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "blocked_by_stripe_count", | |
| "comment": "Total count of blocked_by_stripe transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "nsf_count", | |
| "comment": "Total count of transactions declined for insufficient funds fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "OTHER TABLES" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "acceptance_reporting_preaggregated_v2", | |
| "tables": [ | |
| { | |
| "name": "acceptance_reporting_preaggregated_v2", | |
| "comment": "Table of pre-aggreated data for auth rate reporting.", | |
| "columns": [ | |
| { | |
| "name": "is_connected_account", | |
| "comment": "Boolean for if the charge comes from a connected account", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created_day", | |
| "comment": "The day of the acceptance flow data.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) upon which the data being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_brand", | |
| "comment": "card brand of data being aggregated upon", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_type", | |
| "comment": "card type of data being aggregated upon", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_input_method", | |
| "comment": "card input method of data being aggregated upon", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_country", | |
| "comment": "Issue country of the card upon which data is being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_type", | |
| "comment": "Outcome type upon which data is being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_reason", | |
| "comment": "Outcome reason upon which data is being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_rule_id", | |
| "comment": "The ID of the Radar rule that matched the payment, if applicable.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "attributable_optimization", | |
| "comment": "Optimization like AA, dunning, etc upon which data is being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_count", | |
| "comment": "Total count of transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_amount", | |
| "comment": "Total amount of transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_amount_in_usd", | |
| "comment": "Total amount of transactions in USD that is fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_count", | |
| "comment": "Total count of accepted transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_amount", | |
| "comment": "Total amount of accepted transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_amount_in_usd", | |
| "comment": "Total amount of accepted transactions in USD that is fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "blocked_by_default_high_risk_rule_count", | |
| "comment": "Total count of blocked_by_default_high_risk_rule transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "blocked_by_radar_rule_count", | |
| "comment": "Total count of blocked_by_radar_rule transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "blocked_by_stripe_count", | |
| "comment": "Total count of blocked_by_stripe transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "OTHER TABLES" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "acceptance_reporting_preaggregated_v3", | |
| "tables": [ | |
| { | |
| "name": "acceptance_reporting_preaggregated_v3", | |
| "comment": "Table of pre-aggreated data for auth rate reporting.", | |
| "columns": [ | |
| { | |
| "name": "is_connected_account", | |
| "comment": "Boolean for if the charge comes from a connected account", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created_day", | |
| "comment": "The day of the acceptance flow data.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) upon which the data being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_brand", | |
| "comment": "card brand of data being aggregated upon", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_type", | |
| "comment": "card type of data being aggregated upon", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cof", | |
| "comment": "CoF of data being aggregated upon", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "used_network_tokens", | |
| "comment": "Boolean for used_network_tokens of data being aggregated upon", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_input_method", | |
| "comment": "card input method of data being aggregated upon", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_country", | |
| "comment": "Issue country of the card upon which data is being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_type", | |
| "comment": "Outcome type upon which data is being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_reason", | |
| "comment": "Outcome reason upon which data is being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_rule_id", | |
| "comment": "The ID of the Radar rule that matched the payment, if applicable.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "attributable_optimization", | |
| "comment": "Optimization like AA, dunning, etc upon which data is being aggregated", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_count", | |
| "comment": "Total count of transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_amount", | |
| "comment": "Total amount of transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_amount_in_usd", | |
| "comment": "Total amount of transactions in USD that is fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_count", | |
| "comment": "Total count of accepted transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_amount", | |
| "comment": "Total amount of accepted transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_amount_in_usd", | |
| "comment": "Total amount of accepted transactions in USD that is fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "blocked_by_default_high_risk_rule_count", | |
| "comment": "Total count of blocked_by_default_high_risk_rule transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "blocked_by_radar_rule_count", | |
| "comment": "Total count of blocked_by_radar_rule transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "blocked_by_stripe_count", | |
| "comment": "Total count of blocked_by_stripe transactions fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "nsf_count", | |
| "comment": "Total count of transactions declined for insufficient funds fitting the aggregation dimensions", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "OTHER TABLES" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "acceptance_reporting_v3_itemized", | |
| "tables": [ | |
| { | |
| "name": "acceptance_reporting_v3_itemized", | |
| "comment": "Table of itemized transaction details for auth rate reporting.", | |
| "columns": [ | |
| { | |
| "name": "is_connected_account", | |
| "comment": "Boolean for if the charge comes from a connected account", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "ID", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "charge_id", | |
| "comment": "Charge ID", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "charges" | |
| }, | |
| { | |
| "name": "payment_intent_id", | |
| "comment": "Payment Intent ID", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "payment_intents" | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "Invoice ID", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "invoices" | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "The day on which this charge was created", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) in which the amount is denominated.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_in_usd", | |
| "comment": "Amount in usd", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_brand", | |
| "comment": "Card brand of the charge", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_type", | |
| "comment": "Card type of the charge", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_input_method", | |
| "comment": "Card input method of the charge", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_country", | |
| "comment": "Card country of the charge", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_type", | |
| "comment": "Outcome type of the charge", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "blocked_reason", | |
| "comment": "Blocked reason of the charge if charge outcome type is blocked", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "decline_reason", | |
| "comment": "Decline reason of the charge if charge outcome type is issuer_declined", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "attributable_optimization", | |
| "comment": "Attributable optimization of the charge", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "is_final_attempt", | |
| "comment": "A boolean representing if this charge is the final attempt.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "final_charge_id", | |
| "comment": "The charge ID of the final attempt of this group of transactions.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "charges" | |
| }, | |
| { | |
| "name": "used_network_tokens", | |
| "comment": "A boolean representing whether network tokens are used", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cof", | |
| "comment": "A boolean representing a charge is cof", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_initiator", | |
| "comment": "A boolean of transaction initiator", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "gateway_conversation_avs_outcome", | |
| "comment": "Avs outcome from gateway conversation", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "gateway_conversation_cvc_outcome", | |
| "comment": "Cvc outcome from gateway conversation", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tds_triggered", | |
| "comment": "Whether 3DS was triggered", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tds_flow_type", | |
| "comment": "3DS flow type (frictionless, challenge, etc)", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tds_outcome", | |
| "comment": "3DS authentication outcome details (frictionless successful, etc)", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tds_outcome_type", | |
| "comment": "3DS authentication outcome type (successful, failed)", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tds_reason", | |
| "comment": "3DS authentication request reason (by Stripe, by API, etc)", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tds_is_in_sca_scope", | |
| "comment": "Whether a transaction is in SCA scope.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tds_sca_exemption_type", | |
| "comment": "The type of SCA exemption requested for the transaction", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "OTHER TABLES" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "aggregate_non_charge_optimization_details", | |
| "tables": [ | |
| { | |
| "name": "aggregate_optimization_details", | |
| "comment": "Aggregation of optimizations Stripe has performed on non-charge objects.", | |
| "columns": [ | |
| { | |
| "name": "day", | |
| "comment": "Day the optimizations were applied.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "dynamic_validations", | |
| "comment": "Number of validations succeeded due to dynamic validations.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_updates", | |
| "comment": "Number of cards updated via card account updater.", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "analytics" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "analytics_acceptance_itemized", | |
| "tables": [ | |
| { | |
| "name": "analytics_acceptance_itemized", | |
| "comment": "Payments analytics acceptance page itemized data", | |
| "columns": [ | |
| { | |
| "name": "id", | |
| "comment": "ID", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "charge_id", | |
| "comment": "Charge ID", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "charges" | |
| }, | |
| { | |
| "name": "payment_intent_id", | |
| "comment": "Payment Intent ID", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "payment_intents" | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "Invoice ID", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "invoices" | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "The day on which this charge was created", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Currency: Uses 3 letter currency code eg. `usd`, `cad`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Payment amount", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_in_usd", | |
| "comment": "Payment amount in usd", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_brand", | |
| "comment": "Card brand: `visa`, `mastercard`, `amex`, or `discover`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_type", | |
| "comment": "Card type: `credit`, `debit`, or `prepaid`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_input_method", | |
| "comment": "Input method: `apple_pay`, `google`, `card_present`, or `card_not_present`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_country", | |
| "comment": "Card country: uses 2 letter country code eg. `US`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_type", | |
| "comment": "Outcome type: `authentication_failed`, `authorized`, `blocked`, or `issuer_declined`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "failure_reason", | |
| "comment": "Decline reason: `card_not_supported`, `stolen_card`, `offline_pin_required`, `security_violation`, `revocation_of_all_authorizations`, `blocked,service_not_allowed`, `revocation_of_authorization`, `expired_card,Derived reason: Try Again Later`, `restricted_card`, `reenter_transaction`, `card_velocity_exceeded`, `invalid_number`, `invalid_amount_too_large`, `authentication_failed`, `processing_error`, `mobile_device_authentication_required` , `Derived reason: Lost Card`, `lost_card`, `incorrect_number`, `issuer_not_available`, `try_again_later`, `invalid_amount_too_small`, `stop_payment_order`, `call_issuer`, `highest_risk_level`, `invalid_account`, `card_error_invalid_number_length`, `online_or_offline_pin_required`, `invalid_pin`, `currency_not_supported`, `withdrawal_count_limit_exceeded`, `incorrect_cvc`, `invalid_amount`, `invalid_cvc`, `pin_try_exceeded`, `pickup_card`, `transaction_not_allowed`, `generic_decline`, `do_not_honor`, `invalid_expiry_year`, `not_permitted`, `incorrect_address`, `new_account_information_available`, `insufficient_funds`, or `incorrect_pin`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "block_reason", | |
| "comment": "Blocked reason: `blocked_by_radar_rule_post_auth`, `blocked_by_stripe`, `blocked_by_radar_rule_pre_auth`, or `blocked_by_default_high_risk_rule`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "attributable_optimization", | |
| "comment": "Attributable optimization", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "optimization_attribution_rate", | |
| "comment": "Optimization attribution rate", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "is_final_attempt", | |
| "comment": "Whether the charge is a final attempt", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "final_charge_id", | |
| "comment": "Final charge id", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "is_connected_account", | |
| "comment": "is_connected_account", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "locality_zone", | |
| "comment": "Locality zone", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "used_network_tokens", | |
| "comment": "Network token status: `true` maps to Network token and `false` maps to Non-tokenized", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "interaction_type", | |
| "comment": "Interaction type: `one_time`, `unscheduled`, `saved_card`, `recurring_subsequent`, or `recurring_initial`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "retry_status", | |
| "comment": "Retry status: `initial_attempt`or `retry`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "gateway_conversation_avs_outcome", | |
| "comment": "Postal code response: `avs-zip-passed`, `avs-zip-unchecked-no-response`, `avs-zip-not-sent`, or `avs-zip-failed`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "gateway_conversation_cvc_outcome", | |
| "comment": "CVC response: `cvc-unchecked-no-response`, `cvc-not-sent`, `cvc-passed`, or `cvc-failed`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "mcc", | |
| "comment": "mcc", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_bin", | |
| "comment": "Card bin", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_bank", | |
| "comment": "Card bank", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "charge_country", | |
| "comment": "Charge country", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_processor", | |
| "comment": "Payment processor", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "three_d_s_used", | |
| "comment": "Whether 3DS was used", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "three_d_s_challenge_type", | |
| "comment": "3DS challenge type: `no_tds`, `challenge`, or `frictionless`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "three_d_s_outcome", | |
| "comment": "3DS outcome: `not_available`, `frictionless_successful`, `failed`, `no_tds`, `challenge_successful`, or `not_actioned`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "three_d_s_outcome_type", | |
| "comment": "3DS outcome type: `successful`, or `failed`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "three_d_s_reason", | |
| "comment": "3DS reason: `requested_by_bank`, `requested_by_radar`, `requested_by_api`, or `requested_by_stripe`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "three_d_s_is_in_sca_scope", | |
| "comment": "Whether 3DS is in sca scope", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "three_d_s_sca_exemption_type", | |
| "comment": "3DS SCA exemption type: `low_value`, `no_exemption`, `issuer_exemption`, or `low_risk`", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "OTHER TABLES" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "analytics_acceptance_summarized", | |
| "tables": [ | |
| { | |
| "name": "analytics_acceptance_summarized", | |
| "comment": "Payments analytics acceptance page summarized data", | |
| "columns": [ | |
| { | |
| "name": "_viewing_merchant", | |
| "comment": "Account ID of the merchant.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "is_connected_account", | |
| "comment": "is_connected_account", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "used_network_tokens", | |
| "comment": "Network token status: `true` maps to Network token and `false` maps to Non-tokenized", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created_hour", | |
| "comment": "created_hour", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Currency: Uses 3 letter currency code eg. `usd`, `cad`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_brand", | |
| "comment": "Card brand: `visa`, `mastercard`, `amex`, or `discover`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_type", | |
| "comment": "Card type: `credit`, `debit`, or `prepaid`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_input_method", | |
| "comment": "Input method: `apple_pay`, `google`, `card_present`, or `card_not_present`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_country", | |
| "comment": "Card country: uses 2 letter country code eg. `US`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_type", | |
| "comment": "Outcome type: `authentication_failed`, `authorized`, `blocked`, or `issuer_declined`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "failure_reason", | |
| "comment": "Failure reason: `card_not_supported`, `stolen_card`, `offline_pin_required`, `security_violation`, `revocation_of_all_authorizations`, `blocked,service_not_allowed`, `revocation_of_authorization`, `expired_card,Derived reason: Try Again Later`, `restricted_card`, `reenter_transaction`, `card_velocity_exceeded`, `invalid_number`, `invalid_amount_too_large`, `authentication_failed`, `processing_error`, `mobile_device_authentication_required` , `Derived reason: Lost Card`, `lost_card`, `incorrect_number`, `issuer_not_available`, `try_again_later`, `invalid_amount_too_small`, `stop_payment_order`, `call_issuer`, `highest_risk_level`, `invalid_account`, `card_error_invalid_number_length`, `online_or_offline_pin_required`, `invalid_pin`, `currency_not_supported`, `withdrawal_count_limit_exceeded`, `incorrect_cvc`, `invalid_amount`, `invalid_cvc`, `pin_try_exceeded`, `pickup_card`, `transaction_not_allowed`, `generic_decline`, `do_not_honor`, `invalid_expiry_year`, `not_permitted`, `incorrect_address`, `new_account_information_available`, `insufficient_funds`, or `incorrect_pin`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "block_reason", | |
| "comment": "Block reason: `blocked_by_radar_rule_post_auth`, `blocked_by_stripe`, `blocked_by_radar_rule_pre_auth`, or `blocked_by_default_high_risk_rule`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "attributable_optimization", | |
| "comment": "Optimization like AA, CAU, etc upon which this payment is being attributed to if any", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "locality_zone", | |
| "comment": "Locality zone of the request: `DEFAULT` or `INDIA`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "interaction_type", | |
| "comment": "Interaction type: `one_time`, `unscheduled`, `saved_card`, `recurring_subsequent`, or `recurring_initial`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "retry_status", | |
| "comment": "Retry status: `initial_attempt`or `retry`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "gateway_conversation_avs_outcome", | |
| "comment": "Postal code response: `avs-zip-passed`, `avs-zip-unchecked-no-response`, `avs-zip-not-sent`, or `avs-zip-failed`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "gateway_conversation_cvc_outcome", | |
| "comment": "CVC response: `cvc-unchecked-no-response`, `cvc-not-sent`, `cvc-passed`, or `cvc-failed`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_processor", | |
| "comment": "Payment processor", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "three_d_s_used", | |
| "comment": "Whether 3DS was used", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "three_d_s_challenge_type", | |
| "comment": "3DS challenge type: `no_tds`, `challenge`, or `frictionless`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "three_d_s_outcome", | |
| "comment": "3DS outcome: `not_available`, `frictionless_successful`, `failed`, `no_tds`, `challenge_successful`, or `not_actioned`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "three_d_s_outcome_type", | |
| "comment": "3DS outcome type: `successful`, or `failed`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "three_d_s_reason", | |
| "comment": "3DS reason: `requested_by_bank`, `requested_by_radar`, `requested_by_api`, or `requested_by_stripe`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "three_d_s_is_in_sca_scope", | |
| "comment": "Whether 3DS is in sca scope", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "three_d_s_sca_exemption_type", | |
| "comment": "3DS SCA exemption type: `low_value`, `no_exemption`, `issuer_exemption`, or `low_risk`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "is_final_attempt", | |
| "comment": "Whether the charge is a final attempt", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_count", | |
| "comment": "Payment count", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_amount", | |
| "comment": "Payment amount", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_amount_in_usd", | |
| "comment": "Payment amount in usd", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_count", | |
| "comment": "Accepted count", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_amount", | |
| "comment": "Accepted amount", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_amount_in_usd", | |
| "comment": "Accepted amount in usd", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "optimization_attributable_accepted_count", | |
| "comment": "Accepted count that can be attributed to optimizations", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "optimization_attributable_accepted_amount", | |
| "comment": "Accepted amount that can be attributed to optimizations", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "optimization_attributable_accepted_amount_in_usd", | |
| "comment": "Accepted amount in usd that can be attributed to optimizations", | |
| "type": "double", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "OTHER TABLES" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "authentication_report_attempts", | |
| "tables": [ | |
| { | |
| "name": "authentication_report_attempts", | |
| "comment": "Authorization attempts dataset for payments and setups that incorporates 3DS authentication data.", | |
| "columns": [ | |
| { | |
| "name": "attempt_id", | |
| "comment": "Payment/setup attempt id.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Unix timestamp when the attempt was created.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "final_attempt_id", | |
| "comment": "Final payment/setup attempt id.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "is_final_attempt", | |
| "comment": "Was this the final payment/setup attempt?", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "intent_id", | |
| "comment": "Payment/setup intent id.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "intent_type", | |
| "comment": "Type of the intent: `payment` | `setup`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "charge_id", | |
| "comment": "Charge id if the attempt resulted in a charge.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "charges" | |
| }, | |
| { | |
| "name": "charge_outcome", | |
| "comment": "Outcome of the charge if any. Available values are `authorized`, `blocked`, `invalid`, `issuer_declined` and `manual_review`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "charge_outcome_reason", | |
| "comment": "Reason for the charge outcome if any.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "is_in_sca_scope", | |
| "comment": "Is the payment or setup attempt in [SCA scope](https://stripe.com/docs/strong-customer-authentication).", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "is_authenticated_by_digital_wallet", | |
| "comment": "Is the transaction authenticated by the digital wallet?", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sca_exemption_requested", | |
| "comment": "The type of [SCA exemption](https://support.stripe.com/questions/transaction-exemptions-for-strong-customer-authentication-sca) requested. Available values are `low_risk`, `low_value`, `merchant_initiated_transaction` and `moto`. Empty if transaction is not in SCA scope or no exemption was requested by Stripe.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sca_exemption_status", | |
| "comment": "Status of the [SCA exemption](https://support.stripe.com/questions/transaction-exemptions-for-strong-customer-authentication-sca) request if any. The available values are `exempt`, `non_sca_decline`, `authentication_required`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sca_exemption_mechanism", | |
| "comment": "Mechanism used by Stripe to request an exemption, if any. Available values are `authorization` and `threeds`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "is_threeds_triggered", | |
| "comment": "Is [3DS authentication](https://stripe.com/docs/payments/3d-secure) triggered?", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "threeds_outcome_result", | |
| "comment": "Results from [3DS authentication](https://stripe.com/docs/payments/3d-secure) if any. Available values are `attempt_acknowledged`, `authenticated`, `delegated`, `exempted`, `failed`, `incomplete`, `not_attempted`, `not_supported` and `processing_error`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "authentication_flow", | |
| "comment": "The authentication flow, if [3DS authentication](https://stripe.com/docs/payments/3d-secure) was triggered. Available values are `challenge` and `frictionless`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "protocol_version", | |
| "comment": "Version of the 3DS protocol used, if [3DS authentication](https://stripe.com/docs/payments/3d-secure) was triggered. Available 3DS protocols are; `1.0.2`, `2.1.0` and `2.2.0`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "threeds_reason", | |
| "comment": "Reason for [3DS authentication](https://stripe.com/docs/payments/3d-secure) request, if any. The reasons can be `requested_by_radar_rule`, `requested_by_user_via_api`, `requested_by_stripe_exemption_engine`, `requested_by_issuer` or `unknown`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Payment amount.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Currency of the payment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_bin_country", | |
| "comment": "BIN country of the card.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant_country", | |
| "comment": "Merchant's country.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "device_type", | |
| "comment": "Type of device used to collect the card details. Available values are `desktop`, `mobile` and `unknown`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "threeds_outcome_result_reason", | |
| "comment": "When 3DS failed, this field provides the reason of failure.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "analytics" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "billing_analytics_customer_change_events", | |
| "tables": [ | |
| { | |
| "name": "customer_change_events", | |
| "comment": "The customer_change_events table tracks customer changes that affect Monthly Recurring Revenue (MRR). Use this table to calculate customer retention metrics and discover insights into customer history while creating custom metric definitions for retention, churn, and more.", | |
| "columns": [ | |
| { | |
| "name": "active_timestamp", | |
| "comment": "The earliest time a customer is recognized as active. It is populated with the first active timestamp if it exists; otherwise, it uses the current timestamp if the current event is an ACTIVE_START. If the customer has never been active, the field is empty.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://stripe.com/docs/currencies), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "Customer related to this customer change event.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "event_timestamp", | |
| "comment": "Time at which the customer change event occurred in UTC.", | |
| "type": "bigint", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "event_type", | |
| "comment": "The type of event that caused the customer change, either ACTIVE_START, ACTIVE_END, ACTIVE_UPGRADE, ACTIVE_DOWNGRADE, or REACTIVATE.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "mrr_change", | |
| "comment": "The amount that MRR changed in the `currency` (in minor currency units) on the day of the `local_event_timestamp`", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "local_event_timestamp", | |
| "comment": "Time at which the customer change event occurred in the merchant's timezone. Calculated by taking the event_timestamp in milliseconds, converting it from UTC to local time using merchant.settings.timezone, which is then converted to an integer timestamp at second precision.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "billing" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "billing_credits", | |
| "tables": [ | |
| { | |
| "name": "billing_credit_grants", | |
| "comment": "Prepaid or promotional billing credits allocated to a customer.", | |
| "columns": [ | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for this credit grant.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which this credit grant was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "updated", | |
| "comment": "Time at which this credit grant was last updated. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "effective_at", | |
| "comment": "The time when the billing credits become effective - when they’re eligible for use.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "expires_at", | |
| "comment": "The time when the billing credits expire. If not present, the billing credits don’t expire.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "voided_at", | |
| "comment": "The time when this credit grant was voided. If not present, the credit grant hasn’t been voided.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "applicability_config_scope_price_type", | |
| "comment": "The price type that this credit grant can apply to.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_type", | |
| "comment": "The type of the amount for this credit grant.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "monetary_amount_currency", | |
| "comment": "Three-letter ISO currency code, in lowercase, of the monetary amount granted to the customer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "monetary_amount_value", | |
| "comment": "A positive integer representing the monetary amount granted to the customer.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "category", | |
| "comment": "The category of this credit grant. This is for tracking purposes and isn’t displayed to the customer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "The ID of the customer receiving the billing credits.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "name", | |
| "comment": "A descriptive name for this credit grant that is shown in the dashboard.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "billing" | |
| }, | |
| { | |
| "name": "billing_credit_grant_metadata", | |
| "comment": "Key-value pairs that are attached to credit grants. Used for storing additional information about the credit grant.", | |
| "columns": [ | |
| { | |
| "name": "credit_grant_id", | |
| "comment": "The credit grant ID to which this metadata is attached to.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "billing_credit_grants" | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "The metadata key.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "The metadata value.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "billing" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "billing_credits_incremental", | |
| "tables": [ | |
| { | |
| "name": "billing_credit_balance_transactions", | |
| "comment": "Represents credit/debit transactions against an existing credit grant.", | |
| "columns": [ | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for this credit balance transaction.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "credit_grant_id", | |
| "comment": "The credit grant ID associated with this credit balance transaction.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "billing_credit_grants" | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the credit balance transaction was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "The type of the transaction on the credit balance (credit or debit).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "credit_type", | |
| "comment": "The type of the credit transaction applied on the credit balance.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "credit_amount_type", | |
| "comment": "The type of the amount for the credit transaction.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "credit_monetary_amount_currency", | |
| "comment": "Three-letter ISO currency code, in lowercase, of the monetary amount.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "credit_monetary_amount_value", | |
| "comment": "A positive integer representing the monetary amount.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "debit_type", | |
| "comment": "The type of the debit transaction applied on the credit balance.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "debit_amount_type", | |
| "comment": "The type of the amount for the debit transaction.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "debit_monetary_amount_currency", | |
| "comment": "Three-letter ISO currency code, in lowercase, of the monetary amount.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "debit_monetary_amount_value", | |
| "comment": "A positive integer representing the monetary amount.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "For debits, the invoice ID where credits were applied. For credits, the voided invoice ID where reinstated credits were originally applied.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_line_item_id", | |
| "comment": "For debits, the invoice line item ID where credits were applied. For credits, the voided invoice line item ID where reinstated credits were originally applied.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "effective_at", | |
| "comment": "The effective time of this credit balance transaction.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "billing" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "bins", | |
| "tables": [ | |
| { | |
| "name": "iins", | |
| "comment": "Issuer identification numbers", | |
| "columns": [ | |
| { | |
| "name": "id", | |
| "comment": "Issuer identification number of the card.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "bank", | |
| "comment": "Issuer bank name of the card.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "Card description.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "country_code", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "OTHER TABLES" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "cau", | |
| "tables": [ | |
| { | |
| "name": "cau_fees", | |
| "comment": "", | |
| "columns": [ | |
| { | |
| "name": "incurred_at", | |
| "comment": "Time of the event (described by `event_type`) that incurred this fee. Omitted for fees calculated based on activity over a period of time (e.g. Visa FANF), which are instead described by `attribution_start_time` and `attribution_end_time`.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "The ID of the `customer` for whom the card was updated.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "customers" | |
| }, | |
| { | |
| "name": "card_id", | |
| "comment": "The new card that resulted from the update.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "previous_card_id", | |
| "comment": "The previous card that was updated.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "event_type", | |
| "comment": "The event type for the CAU event, either CONTACT or UPDATE.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "fixed_per_item_amount", | |
| "comment": "If applicable, the fixed component of this fee. Expressed in minor units of `fee_currency`.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "fixed_per_item_count", | |
| "comment": "If applicable, the number of items to which the `fixed_per_item_amount` is applied. (Typically 1.)", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subtotal_amount", | |
| "comment": "Total fee amount, excluding any tax and prior to any currency conversion. Expressed in minor currency units of `fee_currency`.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tax_rate", | |
| "comment": "If applicable, the rate of tax assessed on the fee's `subtotal_amount` . Values are between `0.0` and `1.0`.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tax_amount", | |
| "comment": "If applicable, the tax amount calculated as `subtotal_amount * tax_rate`. Expressed in minor currency units of `fee_currency`.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "total_amount", | |
| "comment": "Sum of `subtotal_amount` and `tax_amount` before any currency conversion. Expressed in minor currency units of `fee_currency`.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "fx_rate", | |
| "comment": "If applicable, currency exchange rate used to convert `total_amount` from `fee_currency` into `billing_currency`. Learn about [currency conversion rates](https://stripe.com/docs/currencies/conversions#calculating-foreign-exchange-rates)", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_currency", | |
| "comment": "Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) in which your Stripe balance is debited for this fee.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_amount", | |
| "comment": "Total amount for this fee deducted from your Stripe balance, including taxes and after any currency conversion. Expressed in minor currency units of `billing_currency`; calculated as `total_amount * fx_rate`.", | |
| "type": "double", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "balance_transaction_id", | |
| "comment": "ID of the balance transaction that deducts this fee from your Stripe balance. The balance transaction's amount will be the sum of the `billing_amount` for all fees with this `balance_transaction_id`.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "balance_transactions" | |
| }, | |
| { | |
| "name": "balance_transaction_created_at", | |
| "comment": "Creation time of the balance transaction that deducts this fee from your Stripe balance. Expressed in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "OTHER TABLES" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "charge_groups", | |
| "tables": [ | |
| { | |
| "name": "charge_groups", | |
| "comment": "Charge groups", | |
| "columns": [ | |
| { | |
| "name": "charge_id", | |
| "comment": "Charge ID for this attempt.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "charges" | |
| }, | |
| { | |
| "name": "final_charge_id", | |
| "comment": "Final charge ID of this attempt's charge group.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "charges" | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Timestamp of the charge.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_in_usd", | |
| "comment": "Presentment amount for this charge in USD.", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "OTHER TABLES" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "connect-coreapi", | |
| "tables": [ | |
| { | |
| "name": "connected_account_charges_metadata", | |
| "comment": "Additional metadata fields associated with charges.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "charge_id", | |
| "comment": "The ID of the charge that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "charges" | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_balance_transaction_fee_details", | |
| "comment": "Detailed breakdown of fees (in cents) paid for this transaction.", | |
| "columns": [ | |
| { | |
| "name": "application", | |
| "comment": "ID of the Connect application that earned the fee.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the object. Often useful for displaying to users.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "balance_transaction_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "connected_account_balance_transactions" | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount of the fee, in cents.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "Type of the fee, one of: `application_fee`, `payment_method_passthrough_fee`, `stripe_fee` or `tax`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_balance_transactions", | |
| "comment": "This is an object representing transactions that contributed to your Stripe account balance.", | |
| "columns": [ | |
| { | |
| "name": "available_on", | |
| "comment": "The date that the transaction's net funds become available in the Stripe balance.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the object. Often useful for displaying to users.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "automatic_transfer_id", | |
| "comment": "ID of the automatically created transfer associated with this balance transaction (only set if your account is on an [automatic payout schedule](https://stripe.com/docs/payouts#payout-schedule)).", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_transfers" | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "net", | |
| "comment": "Net impact to a Stripe balance (in cents). A positive value represents incrementing a Stripe balance, and a negative value decrementing a Stripe balance. You can calculate the net impact of a transaction on a balance by `amount` - `fee`", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Gross amount of this transaction (in cents). A positive value represents funds charged to another party, and a negative value represents funds sent to another party.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "The transaction's net funds status in the Stripe balance, which are either `available` or `pending`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "source_id", | |
| "comment": "This transaction relates to the Stripe object.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "reporting_category", | |
| "comment": "A new categorization of balance transactions, meant to improve on the current `type` field. [Learn more](https://stripe.com/docs/reports/reporting-categories). Please let us know what would be most helpful using the **Feedback** link at the bottom of this page.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "Transaction type: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. Learn more about [balance transaction types and what they represent](https://stripe.com/docs/reports/balance-transaction-types). To classify transactions for accounting purposes, consider `reporting_category` instead.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "fee", | |
| "comment": "Fees (in cents) paid for this transaction. Represented as a positive integer when assessed.", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_charges", | |
| "comment": "To charge a credit or a debit card, you create a charge object.", | |
| "columns": [ | |
| { | |
| "name": "card_address_country", | |
| "comment": "Billing address country, if provided when creating card.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_network_decline_code", | |
| "comment": "For charges declined by the network, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "order_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_network", | |
| "comment": "Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "ID of the customer this charge is for if one exists.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "shipping_address_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "captured_at", | |
| "comment": "", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "captured", | |
| "comment": "If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_exp_month", | |
| "comment": "Two-digit number representing the card's expiration month.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the object. Often useful for displaying to users.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_rule_id", | |
| "comment": "The ID of the Radar rule that matched the payment, if applicable.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_radar_rules" | |
| }, | |
| { | |
| "name": "refunded", | |
| "comment": "Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "failure_code", | |
| "comment": "Error code explaining reason for charge failure if available (see [the errors section](/docs/error-codes) for a list of codes).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_state", | |
| "comment": "State, county, province, or region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_address_line1_check", | |
| "comment": "If `address_line1` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_method_id", | |
| "comment": "ID of the payment method used in this charge.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_methods" | |
| }, | |
| { | |
| "name": "card_address_line2", | |
| "comment": "Address line 2 (Apartment/Suite/Unit/Building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_risk_score", | |
| "comment": "", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_fingerprint", | |
| "comment": "Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_brand", | |
| "comment": "Card brand. Can be `American Express`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "dispute_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_disputes" | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_type", | |
| "comment": "Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](/docs/declines) and [Radar reviews](/docs/radar/reviews) for details.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "application_fee_id", | |
| "comment": "The application fee (if any) for the charge. [See the Connect documentation](/docs/connect/direct-charges#collect-fees) for details.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_application_fees" | |
| }, | |
| { | |
| "name": "shipping_address_line1", | |
| "comment": "Address line 1 (e.g., street, PO Box, or company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_address_state", | |
| "comment": "State/County/Province/Region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_address_city", | |
| "comment": "City/District/Suburb/Town/Village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "failure_message", | |
| "comment": "Message to user further explaining reason for charge failure if available.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "balance_transaction_id", | |
| "comment": "ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes).", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_balance_transactions" | |
| }, | |
| { | |
| "name": "receipt_email", | |
| "comment": "This is the email address that the receipt for this charge was sent to.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_risk_level", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_network_advice_code", | |
| "comment": "For charges declined by the network, a 2 digit code which indicates the advice returned by the network on how to proceed with an error.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_address_zip_check", | |
| "comment": "If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_token_type", | |
| "comment": "If the card number is tokenized, this is the token type. For Apple Pay it can be `dpan`, `mpan`. For Google Pay Gateway integration it can be `pan`, `dpan`, `ecommerce_token`, `pan_with_3ds`. For Google Pay legacy integration it can be `fpan`, `dpan_or_ecommerce_token`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "card_address_zip", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transfer_id", | |
| "comment": "ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter).", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_transfers" | |
| }, | |
| { | |
| "name": "receipt_number", | |
| "comment": "This is the transaction number that appears on email receipts sent for this charge. This attribute will be `null` until a receipt has been sent.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "statement_descriptor", | |
| "comment": "For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nFor a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_network_status", | |
| "comment": "Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](/docs/declines#blocked-payments) after bank authorization, and may temporarily appear as \"pending\" on a cardholder's statement.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_tokenization_method", | |
| "comment": "If the card number is tokenized, this is the method that was used. Can be `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_refunded", | |
| "comment": "Amount in cents refunded (can be less than the amount attribute on the charge if a partial refund was issued).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_method_type", | |
| "comment": "The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](/docs/api/payment_methods/object#payment_method_object-type) for the full list of possible types.\nAn additional hash is included on `payment_method_details` with a name matching this value.\nIt contains information specific to the payment method.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_name", | |
| "comment": "Cardholder name.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "paid", | |
| "comment": "`true` if the charge succeeded, or was successfully authorized for later capture.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "destination_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_accounts" | |
| }, | |
| { | |
| "name": "outcome_reason", | |
| "comment": "An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](/docs/declines) for more details.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "The status of the payment is either `succeeded`, `pending`, or `failed`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "on_behalf_of_id", | |
| "comment": "The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](/docs/connect/separate-charges-and-transfers) for details.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_accounts" | |
| }, | |
| { | |
| "name": "card_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_methods" | |
| }, | |
| { | |
| "name": "card_customer_id", | |
| "comment": "The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "shipping_address_city", | |
| "comment": "City, district, suburb, town, or village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "source_transfer_id", | |
| "comment": "The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_transfers" | |
| }, | |
| { | |
| "name": "card_last4", | |
| "comment": "The last four digits of the card.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_seller_message", | |
| "comment": "A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "source_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_sources" | |
| }, | |
| { | |
| "name": "card_cvc_check", | |
| "comment": "If a CVC was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates that CVC was provided but hasn't been checked yet. Checks are typically performed when attaching a card to a Customer object, or when creating a charge. For more details, see [Check if a card is valid without a charge](https://support.stripe.com/questions/check-if-a-card-is-valid-without-a-charge).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_address_line1", | |
| "comment": "Address line 1 (Street address/PO Box/Company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transfer_group", | |
| "comment": "A string that identifies this transaction as part of a group. See the [Connect documentation](/docs/connect/separate-charges-and-transfers#transfer-options) for details.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_currency", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_default_for_currency", | |
| "comment": "Only applicable on payout external account card belonging to merchant (not as payment source customer card in charge).", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_recipient_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "calculated_statement_descriptor", | |
| "comment": "The full statement descriptor that is passed to card networks, and that is displayed on your customers' credit card and bank statements. Allows you to see what the statement descriptor looks like after the static and dynamic portions are combined. This value only exists for card payments.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_country", | |
| "comment": "Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_intent", | |
| "comment": "ID of the PaymentIntent associated with this charge, if one exists.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "ID of the invoice this charge is for if one exists.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_invoices" | |
| }, | |
| { | |
| "name": "card_dynamic_last4", | |
| "comment": "(For tokenized numbers only.) The last four digits of the device account number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "application_id", | |
| "comment": "ID of the Connect application that created the charge.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "outcome_advice_code", | |
| "comment": "An enumerated value providing a more detailed explanation on [how to proceed with an error](/docs/declines#retrying-issuer-declines).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "statement_descriptor_suffix", | |
| "comment": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_funding", | |
| "comment": "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_exp_year", | |
| "comment": "Four-digit number representing the card's expiration year.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_application_fee_refunds", | |
| "comment": "Application Fee Refund objects allow you to refund an application fee that has previously been created but not yet refunded. Funds will be refunded to the Stripe account that the fee was originally collected from.", | |
| "columns": [ | |
| { | |
| "name": "fee_id", | |
| "comment": "ID of the application fee that was refunded.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_application_fees" | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "balance_transaction_id", | |
| "comment": "Balance transaction that describes the impact on your account balance.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_balance_transactions" | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount, in cents.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-fees" | |
| }, | |
| { | |
| "name": "connected_account_application_fee_refunds_metadata", | |
| "comment": "Additional metadata fields associated with application fee refunds.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "application_fee_refund_id", | |
| "comment": "The ID of the application_fee_refund that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "application_fee_refunds" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-fees" | |
| }, | |
| { | |
| "name": "connected_account_application_fees", | |
| "comment": "When you collect a transaction fee on top of a charge made for your user (using Stripe Connect), an application fee object is created in your account.", | |
| "columns": [ | |
| { | |
| "name": "refunded", | |
| "comment": "Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "fee_source_id", | |
| "comment": "Charge or Payout ID that created this application fee", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "balance_transaction_id", | |
| "comment": "Balance transaction that describes the impact of this collected application fee on your account balance (not including refunds).", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_balance_transactions" | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount earned, in cents.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account_id", | |
| "comment": "ID of the Stripe account this fee was taken from.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_accounts" | |
| }, | |
| { | |
| "name": "amount_refunded", | |
| "comment": "Amount in cents refunded (can be less than the amount attribute on the fee if a partial refund was issued)", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "fee_source_type", | |
| "comment": "Type of object that created the application fee, either charge or payout.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "originating_transaction_id", | |
| "comment": "ID of the corresponding charge on the platform account, if this fee was the result of a charge using the `destination` parameter.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_charges" | |
| }, | |
| { | |
| "name": "application_id", | |
| "comment": "ID of the Connect application that earned the fee.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "charge_id", | |
| "comment": "ID of the charge that the application fee was taken from.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_charges" | |
| } | |
| ], | |
| "section": "connect-fees" | |
| }, | |
| { | |
| "name": "connected_account_checkout_custom_fields", | |
| "comment": "This custom fields of a checkout session.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "optional", | |
| "comment": "Whether the customer is required to complete the field before completing the Checkout Session.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "String of your choice that your integration can use to reconcile this field.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Identifier of a custom field, unique to a checkout session", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "The type of the field", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "The value entered for the field", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "checkout_session_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| } | |
| ], | |
| "section": "connect-checkout" | |
| }, | |
| { | |
| "name": "connected_account_checkout_line_items", | |
| "comment": "This object represents a Checkout line item.", | |
| "columns": [ | |
| { | |
| "name": "quantity", | |
| "comment": "The quantity of products being purchased.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the lien item. Defaults to product name.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "price_id", | |
| "comment": "The ID of the price used to generate the line item.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_prices" | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "product_id", | |
| "comment": "The ID of the product associated with the price for the line item.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_products" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "checkout_session_id", | |
| "comment": "The ID of the checkout session for the line item.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_checkout_sessions" | |
| } | |
| ], | |
| "section": "connect-checkout" | |
| }, | |
| { | |
| "name": "connected_account_checkout_sessions", | |
| "comment": "This object represents a Checkout client session.", | |
| "columns": [ | |
| { | |
| "name": "consent_promotions", | |
| "comment": "The value of promotions consent. If opt_in, the customer consents to receiving promotional communications from the merchant about this Checkout Session", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "consent_terms_of_service", | |
| "comment": "The value of terms of service consent. If accepted, the customer in this Checkout Session has agreed to the merchant’s terms of service.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "The ID of the customer for this Session.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "client_reference_id", | |
| "comment": "The client reference id of the payment page", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "The status of the Checkout Session, either complete or expired.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter ISO currency code, in lowercase.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "mode", | |
| "comment": "The mode of the Checkout Session. One of payment, setup, or subscription", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subscription_id", | |
| "comment": "The ID of the subscription for Checkout Sessions in subscription mode", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_subscriptions" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_intent_id", | |
| "comment": "The PaymentIntent ID associated with this Checkout session", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_intents" | |
| }, | |
| { | |
| "name": "payment_link_id", | |
| "comment": "The payment link ID associated with this Checkout sesion", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_links" | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "ID of the invoice created by the Checkout Session, if it exists.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_invoices" | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-checkout" | |
| }, | |
| { | |
| "name": "connected_account_coupons", | |
| "comment": "A coupon contains information about a percent-off or amount-off discount you might want to apply to a customer. Coupons only apply to invoices; they do not apply to one-off charges.", | |
| "columns": [ | |
| { | |
| "name": "duration", | |
| "comment": "One of `forever`, `once`, or `repeating`. Describes how long a customer who applies this coupon will get the discount.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "name", | |
| "comment": "Name of the coupon displayed to customers on for instance invoices or receipts.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "percent_off", | |
| "comment": "Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon. For example, a coupon with percent_off of 50 will make a $100 invoice $50 instead.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "duration_in_months", | |
| "comment": "If `duration` is `repeating`, the number of months the coupon applies. Null if coupon `duration` is `forever` or `once`.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "times_redeemed", | |
| "comment": "Number of times this coupon has been applied to a customer.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "applies_to_products", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "redeem_by", | |
| "comment": "Date after which the coupon can no longer be redeemed.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "valid", | |
| "comment": "Taking account of the above properties, whether this coupon can still be applied to a customer.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "If `amount_off` has been set, the three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the amount to take off.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_off", | |
| "comment": "Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "max_redemptions", | |
| "comment": "Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_coupons_metadata", | |
| "comment": "Additional metadata fields associated with coupons.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "coupon_id", | |
| "comment": "The ID of the coupon that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "coupons" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_credit_note_line_item_tax_amounts", | |
| "comment": "Tax amounts for credit note line items", | |
| "columns": [ | |
| { | |
| "name": "inclusive", | |
| "comment": "Whether this tax amount is inclusive or exclusive.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "The amount, in cents, of the tax.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "credit_note_line_item_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "connected_account_credit_note_line_items" | |
| }, | |
| { | |
| "name": "tax_rate_id", | |
| "comment": "The tax rate that was applied to get this tax amount.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_tax_rates" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_credit_note_line_items", | |
| "comment": "Credit note line items", | |
| "columns": [ | |
| { | |
| "name": "credit_note_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_credit_notes" | |
| }, | |
| { | |
| "name": "quantity", | |
| "comment": "The number of units of product being credited.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "Description of the item being credited.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "The integer amount in cents representing the gross amount being credited for this line item, excluding (exclusive) tax and discounts.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "unit_amount_decimal", | |
| "comment": "Same as `unit_amount`, but contains a decimal value with at most 12 decimal places.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_amount", | |
| "comment": "The integer amount in cents representing the discount being credited for this line item.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "The type of the credit note line item, one of `invoice_line_item` or `custom_line_item`. When the type is `invoice_line_item` there is an additional `invoice_line_item` property on the resource the value of which is the id of the credited line item on the invoice.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_line_item", | |
| "comment": "ID of the invoice line item being credited", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "unit_amount", | |
| "comment": "The cost of each unit of product being credited.", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_credit_note_tax_amounts", | |
| "comment": "Tax amounts for credit notes", | |
| "columns": [ | |
| { | |
| "name": "credit_note_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "connected_account_credit_notes" | |
| }, | |
| { | |
| "name": "inclusive", | |
| "comment": "Whether this tax amount is inclusive or exclusive.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "The amount, in cents, of the tax.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "tax_rate_id", | |
| "comment": "The tax rate that was applied to get this tax amount.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_tax_rates" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_credit_notes", | |
| "comment": "Credit notes are documents that decrease the amount owed on invoices.", | |
| "columns": [ | |
| { | |
| "name": "number", | |
| "comment": "A unique number that identifies this particular credit note and appears on the PDF of the credit note and its associated invoice.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "refund_id", | |
| "comment": "Refund related to this credit note.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_refunds" | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "ID of the customer.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "amount_shipping", | |
| "comment": "This is the sum of all the shipping amounts.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_cost_amount_subtotal", | |
| "comment": "Total shipping cost before any taxes are applied.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "out_of_band_amount", | |
| "comment": "Amount that was credited outside of Stripe.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_cost_amount_tax", | |
| "comment": "Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "reason", | |
| "comment": "Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "The integer amount in cents representing the total amount of the credit note, including tax.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_balance_transaction_id", | |
| "comment": "Customer balance transaction related to this credit note.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customer_balance_transactions" | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Status of this credit note, one of `issued` or `void`. Learn more about [voiding credit notes](/docs/billing/invoices/credit-notes#voiding).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_cost_amount_total", | |
| "comment": "Total shipping cost after taxes are applied.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "Type of this credit note, one of `pre_payment` or `post_payment`. A `pre_payment` credit note means it was issued when the invoice was open. A `post_payment` credit note means it was issued when the invoice was paid.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "effective_at", | |
| "comment": "The date when this credit note is in effect. Same as `created` unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the credit note PDF.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "memo", | |
| "comment": "Customer-facing text that appears on the credit note PDF.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "ID of the invoice.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_invoices" | |
| }, | |
| { | |
| "name": "shipping_cost_shipping_rate_id", | |
| "comment": "The ID of the ShippingRate for this invoice.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "voided_at", | |
| "comment": "The time that the credit note was voided.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_credit_notes_metadata", | |
| "comment": "Additional metadata fields associated with credit notes.", | |
| "columns": [ | |
| { | |
| "name": "credit_note_id", | |
| "comment": "The ID of the credit_note that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "credit_notes" | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_crypto_onramp_sessions", | |
| "comment": "This object represents a session", | |
| "columns": [ | |
| { | |
| "name": "network", | |
| "comment": "The network used for the transaction", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "source_amount", | |
| "comment": "The source amount of the transaction", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "state", | |
| "comment": "The status of the session", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "kyc_level", | |
| "comment": "The level of KYC performed during the session", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "source_currency", | |
| "comment": "The source currency of the transaction", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "destination_amount", | |
| "comment": "The destination amount of the transaction", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "updated", | |
| "comment": "When this record was last updated.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "error_reason", | |
| "comment": "Why the session errored, if applicable", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "destination_currency", | |
| "comment": "The destination currency of the transaction", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "provided_wallet_address", | |
| "comment": "The wallet address provided for the session", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "When this record was created.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-crypto" | |
| }, | |
| { | |
| "name": "connected_account_customer_tax_ids", | |
| "comment": "Customer tax IDs are displayed on invoices and credit notes issued for the customer.\n", | |
| "columns": [ | |
| { | |
| "name": "verification_status", | |
| "comment": "Verification status, one of pending, verified, unverified, or unavailable.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "country", | |
| "comment": "Two-letter ISO code representing the country of the tax ID.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "verification_verified_address", | |
| "comment": "Verified address.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "customer", | |
| "comment": "ID of the customer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "Type of the tax ID. Note that some legacy tax IDs have type unknown.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the tax ID.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "verification_verified_name", | |
| "comment": "Verified name.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-customers" | |
| }, | |
| { | |
| "name": "connected_account_customers", | |
| "comment": "Customer objects allow you to perform recurring charges and track multiple charges that are associated with the same customer.", | |
| "columns": [ | |
| { | |
| "name": "address_city", | |
| "comment": "City, district, suburb, town, or village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_coupon_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_coupons" | |
| }, | |
| { | |
| "name": "invoice_settings_default_payment_method_id", | |
| "comment": "ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_methods" | |
| }, | |
| { | |
| "name": "business_vat_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tax_exempt", | |
| "comment": "Describes the customer's tax exemption status, which is `none`, `exempt`, or `reverse`. When set to `reverse`, invoice and receipt PDFs include the following text: **\"Reverse charge\"**.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "name", | |
| "comment": "The customer's full name or business name.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_subscription", | |
| "comment": "The subscription that this coupon is applied to, if it is applied to a particular subscription.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_start", | |
| "comment": "Date that the coupon was applied.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_invoice", | |
| "comment": "The invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sources_data_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "email", | |
| "comment": "The customer's email address.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_source_id", | |
| "comment": "ID of the default payment source for the customer.\n\nIf you use payment methods created through the PaymentMethods API, see the [invoice_settings.default_payment_method](/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) field instead.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tax_ip_address", | |
| "comment": "A recent IP address of the customer used for tax reporting and tax location inference.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "preferred_locales", | |
| "comment": "The customer's preferred locales (languages), ordered by preference.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the object. Often useful for displaying to users.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_state", | |
| "comment": "State, county, province, or region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "address_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_line1", | |
| "comment": "Address line 1 (e.g., street, PO Box, or company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "balance", | |
| "comment": "The current balance, if any, that's stored on the customer. If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that's added to their next invoice. The balance only considers amounts that Stripe hasn't successfully applied to any invoice. It doesn't reflect unpaid invoices. This balance is only taken into account after invoices finalize. ", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_invoice_item", | |
| "comment": "The invoice item `id` (or invoice line item `id` for invoice line items of type='subscription') that the discount's coupon was applied to, if it was applied directly to a particular invoice item or invoice line item.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tax_info_tax_id", | |
| "comment": "The customer's tax ID number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_subscription_item", | |
| "comment": "The subscription item that this coupon is applied to, if it is applied to a particular subscription item.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "address_state", | |
| "comment": "State, county, province, or region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "invoice_credit_balance", | |
| "comment": "The current multi-currency balances, if any, that's stored on the customer. If positive in a currency, the customer has a credit to apply to their next invoice denominated in that currency. If negative, the customer has an amount owed that's added to their next invoice denominated in that currency. These balances don't apply to unpaid invoices. They solely track amounts that Stripe hasn't successfully applied to any invoice. Stripe only applies a balance in a specific currency to an invoice after that invoice (which is in the same currency) finalizes. ", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "address_country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_name", | |
| "comment": "Customer name.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_city", | |
| "comment": "City, district, suburb, town, or village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_phone", | |
| "comment": "Customer phone (including extension).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tax_info_type", | |
| "comment": "The type of ID number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) the customer can be charged in for recurring billing purposes.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_end", | |
| "comment": "If the coupon has a duration of `repeating`, the date that this discount will end. If the coupon has a duration of `once` or `forever`, this attribute will be null.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "address_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_promotion_code_id", | |
| "comment": "The promotion code applied to create this discount.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_customer_id", | |
| "comment": "The ID of the customer associated with this discount.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "account_balance", | |
| "comment": "This field has been renamed to `balance` and will be removed in a future API version.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "delinquent", | |
| "comment": "Tracks the most recent state change on any invoice belonging to the customer. Paying an invoice or marking it uncollectible via the API will set this field to false. An automatic payment failure or passing the `invoice.due_date` will set this field to `true`.\n\nIf an invoice becomes uncollectible by [dunning](/docs/billing/automatic-collection), `delinquent` doesn't reset to `false`.\n\nIf you care whether the customer has paid their most recent subscription invoice, use `subscription.status` instead. Paying or marking uncollectible any customer invoice regardless of whether it is the latest invoice for a subscription will always set this field to `false`.\n", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "address_line1", | |
| "comment": "Address line 1 (e.g., street, PO Box, or company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "deleted", | |
| "comment": "", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "phone", | |
| "comment": "The customer's phone number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_checkout_session", | |
| "comment": "The Checkout session that this coupon is applied to, if it is applied to a particular session in payment mode. Will not be present for subscription mode.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-customers" | |
| }, | |
| { | |
| "name": "connected_account_customers_metadata", | |
| "comment": "Additional metadata fields associated with customers.", | |
| "columns": [ | |
| { | |
| "name": "customer_id", | |
| "comment": "The ID of the customer that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "customers" | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-customers" | |
| }, | |
| { | |
| "name": "connected_account_disputes", | |
| "comment": "A dispute occurs when a customer questions your charge with their bank or credit card company.", | |
| "columns": [ | |
| { | |
| "name": "evidence_details_has_evidence", | |
| "comment": "Whether evidence has been staged for this dispute.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_cancellation_rebuttal", | |
| "comment": "A justification for why the customer's subscription was not canceled.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_details_past_due", | |
| "comment": "Whether the last evidence submission was submitted past the due date. Defaults to `false` if no evidence submissions have occurred. If `true`, then delivery of the latest evidence is *not* guaranteed.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_refund_policy_id", | |
| "comment": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your refund policy, as shown to the customer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_shipping_carrier", | |
| "comment": "The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. If multiple carriers were used for this purchase, please separate them with commas.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "network_details_visa_rapid_dispute_resolution", | |
| "comment": "Whether this dispute was resolved via Visa's Rapid Dispute Resolution process.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_uncategorized_text", | |
| "comment": "Any additional evidence or statements.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_product_description", | |
| "comment": "A description of the product or service that was sold.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_shipping_address", | |
| "comment": "The address to which a physical product was shipped. You should try to include as complete address information as possible.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_shipping_date", | |
| "comment": "The date on which a physical product began its route to the shipping address, in a clear human-readable format.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_customer_communication_id", | |
| "comment": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any communication with the customer that you feel is relevant to your case. Examples include emails proving that the customer received the product or service, or demonstrating their use of or satisfaction with the product or service.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_billing_address", | |
| "comment": "The billing address provided by the customer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_customer_email_address", | |
| "comment": "The email address of the customer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_refund_policy_disclosure", | |
| "comment": "Documentation demonstrating that the customer was shown your refund policy prior to purchase.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_duplicate_charge_id", | |
| "comment": "The Stripe ID for the prior charge which appears to be a duplicate of the disputed charge.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_charges" | |
| }, | |
| { | |
| "name": "reason", | |
| "comment": "Reason given by cardholder for dispute. Possible values are `bank_cannot_process`, `check_returned`, `credit_not_processed`, `customer_initiated`, `debit_not_authorized`, `duplicate`, `fraudulent`, `general`, `incorrect_account_details`, `insufficient_funds`, `product_not_received`, `product_unacceptable`, `subscription_canceled`, or `unrecognized`. Learn more about [dispute reasons](/docs/disputes/categories).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Disputed amount. Usually the amount of the charge, but it can differ (usually because of currency fluctuation or because only part of the order is disputed).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_duplicate_charge_documentation_id", | |
| "comment": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation for the prior charge that can uniquely identify the charge, such as a receipt, shipping label, work order, etc. This document should be paired with a similar document from the disputed payment that proves the two payments are separate.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_customer_signature_id", | |
| "comment": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A relevant document or contract showing the customer's signature.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_shipping_tracking_number", | |
| "comment": "The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_uncategorized_file_id", | |
| "comment": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any additional evidence or statements.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "evidence_customer_name", | |
| "comment": "The name of the customer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_refund_refusal_explanation", | |
| "comment": "A justification for why the customer is not entitled to a refund.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "is_charge_refundable", | |
| "comment": "If true, it's still possible to refund the disputed payment. After the payment has been fully refunded, no further funds are withdrawn from your Stripe account as a result of this dispute.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_details_submission_count", | |
| "comment": "The number of times evidence has been submitted. Typically, you may only submit evidence once.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_customer_purchase_ip", | |
| "comment": "The IP address that the customer used when making the purchase.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Current status of dispute. Possible values are `warning_needs_response`, `warning_under_review`, `warning_closed`, `needs_response`, `under_review`, `won`, or `lost`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_service_date", | |
| "comment": "The date on which the customer received or began receiving the purchased service, in a clear human-readable format.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_service_documentation_id", | |
| "comment": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation showing proof that a service was provided to the customer. This could include a copy of a signed contract, work order, or other form of written agreement.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_cancellation_policy_disclosure", | |
| "comment": "An explanation of how and when the customer was shown your refund policy prior to purchase.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "network_reason_code", | |
| "comment": "Network-dependent reason code for the dispute.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "network_details_type", | |
| "comment": "The network type for this dispute. There will be a corresponding hash of details keyed by the value of this field.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_access_activity_log", | |
| "comment": "Any server or activity logs showing proof that the customer accessed or downloaded the purchased digital product. This information should include IP addresses, corresponding timestamps, and any detailed recorded activity.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_shipping_documentation_id", | |
| "comment": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation showing proof that a product was shipped to the customer at the same address the customer provided to you. This could include a copy of the shipment receipt, shipping label, etc. It should show the customer's full shipping address, if possible.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_cancellation_policy_id", | |
| "comment": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your subscription cancellation policy, as shown to the customer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_details_due_by", | |
| "comment": "Date by which evidence must be submitted in order to successfully challenge dispute. Will be 0 if the customer's bank or credit card company doesn't allow a response for this particular dispute.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_receipt_id", | |
| "comment": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any receipt or message sent to the customer notifying them of the charge.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "charge_id", | |
| "comment": "ID of the charge that's disputed.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_charges" | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_disputes_enhanced_eligibility", | |
| "comment": "Enhanced eligibility describes the status of disputes with enhanced evidence such as Visa Compelling Evidence 3.0", | |
| "columns": [ | |
| { | |
| "name": "visa_compelling_evidence_3_required_actions", | |
| "comment": "List of actions required to qualify dispute for Visa Compelling Evidence 3.0 evidence submission.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "visa_compelling_evidence_3_status", | |
| "comment": "Visa Compelling Evidence 3.0 eligibility status.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "visa_compliance_status", | |
| "comment": "Visa compliance eligibility status.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "double", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_disputes_metadata", | |
| "comment": "Additional metadata fields associated with disputes.", | |
| "columns": [ | |
| { | |
| "name": "dispute_id", | |
| "comment": "The ID of the dispute that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "disputes" | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_early_fraud_warnings", | |
| "comment": "An early fraud warning indicates that the card issuer has notified us that a charge may be fraudulent.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "fraud_type", | |
| "comment": "The type of fraud labelled by the issuer. One of `card_never_received`, `fraudulent_card_application`, `made_with_counterfeit_card`, `made_with_lost_card`, `made_with_stolen_card`, `misc`, `unauthorized_use_of_card`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "actionable", | |
| "comment": "An EFW is actionable if it has not received a dispute and has not been fully refunded. You may wish to proactively refund a charge that receives an EFW, in order to avoid receiving a dispute later.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "charge_id", | |
| "comment": "ID of the charge this early fraud warning is for, optionally expanded.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_charges" | |
| } | |
| ], | |
| "section": "connect-radar" | |
| }, | |
| { | |
| "name": "connected_account_external_account_bank_accounts", | |
| "comment": "This is an object that represents an external bank account.", | |
| "columns": [ | |
| { | |
| "name": "default_for_currency", | |
| "comment": "Whether this bank account is the default external account for its currency.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "fingerprint", | |
| "comment": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "available_payout_methods", | |
| "comment": "A set of available payout methods for this bank account. Only values from this set should be passed as the `method` when creating a payout.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "country", | |
| "comment": "Two-letter ISO code representing the country the bank account is located in.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account_type", | |
| "comment": "The bank account type. This can only be `checking` or `savings` in most countries. In Japan, this can only be `futsu` or `toza`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "bank_name", | |
| "comment": "Name of the bank associated with the routing number (e.g., `WELLS FARGO`).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "last4", | |
| "comment": "The last four digits of the bank account number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "connected_accounts" | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "For bank accounts, possible values are `new`, `validated`, `verified`, `verification_failed`, or `errored`. A bank account that hasn't had any activity or validation performed is `new`. If Stripe can determine that the bank account exists, its status will be `validated`. Note that there often isn’t enough information to know (e.g., for smaller credit unions), and the validation is not always run. If customer bank account verification has succeeded, the bank account status will be `verified`. If the verification failed for any reason, such as microdeposit failure, the status will be `verification_failed`. If a payout sent to this bank account fails, we'll set the status to `errored` and will not continue to send [scheduled payouts](https://stripe.com/docs/payouts#payout-schedule) until the bank details are updated.\n\nFor external accounts, possible values are `new`, `errored` and `verification_failed`. If a payout fails, the status is set to `errored` and scheduled payouts are stopped until account details are updated. In the US and India, if we can't [verify the owner of the bank account](https://support.stripe.com/questions/bank-account-ownership-verification), we'll set the status to `verification_failed`. Other validations aren't run against external accounts because they're only used for payouts. This means the other statuses don't apply.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO code for the currency](https://stripe.com/docs/payouts) paid out to the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account_holder_type", | |
| "comment": "The type of entity that holds the account. This can be either `individual` or `company`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "routing_number", | |
| "comment": "The routing transit number for the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account_holder_name", | |
| "comment": "The name of the person or business that owns the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_external_account_cards", | |
| "comment": "This is an object that represents an external account card.", | |
| "columns": [ | |
| { | |
| "name": "address_city", | |
| "comment": "City/District/Suburb/Town/Village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_for_currency", | |
| "comment": "Whether this card is the default external account for its currency. This property is only available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "name", | |
| "comment": "Cardholder name.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "fingerprint", | |
| "comment": "Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "tokenization_method", | |
| "comment": "If the card number is tokenized, this is the method that was used. Can be `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "address_zip", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "exp_month", | |
| "comment": "Two-digit number representing the card's expiration month.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "exp_year", | |
| "comment": "Four-digit number representing the card's expiration year.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "country", | |
| "comment": "Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "brand", | |
| "comment": "Card brand. Can be `American Express`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "address_state", | |
| "comment": "State/County/Province/Region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "last4", | |
| "comment": "The last four digits of the card.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "connected_accounts" | |
| }, | |
| { | |
| "name": "address_country", | |
| "comment": "Billing address country, if provided when creating card.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO code for currency](https://www.iso.org/iso-4217-currency-codes.html) in lowercase. Must be a [supported currency](https://docs.stripe.com/currencies). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. This property is only available for accounts where [controller.is_controller](/api/accounts/object#account_object-controller-is_controller) is `true`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "recipient_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "funding", | |
| "comment": "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "address_line2", | |
| "comment": "Address line 2 (Apartment/Suite/Unit/Building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "address_line1", | |
| "comment": "Address line 1 (Street address/PO Box/Company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "dynamic_last4", | |
| "comment": "(For tokenized numbers only.) The last four digits of the device account number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cvc_check", | |
| "comment": "If a CVC was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates that CVC was provided but hasn't been checked yet. Checks are typically performed when attaching a card to a Customer object, or when creating a charge. For more details, see [Check if a card is valid without a charge](https://support.stripe.com/questions/check-if-a-card-is-valid-without-a-charge).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "address_zip_check", | |
| "comment": "If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "address_line1_check", | |
| "comment": "If `address_line1` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_financing_balances", | |
| "comment": "Capital for Platforms financing balances.", | |
| "columns": [ | |
| { | |
| "name": "financing_offer", | |
| "comment": "Financing offer ID to which this transaction corresponds.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique ID of this financing balance.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account_id", | |
| "comment": "ID of the connected account with this active financing.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_connected_accounts" | |
| }, | |
| { | |
| "name": "effective_date_utc", | |
| "comment": "Date on which this balance is effective. Given in milliseconds between unix epoch and 12:00:00 AM UTC of the given date.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Currency of the amounts given, provided as a three-digit lower-cased ISO 4217 currency code (e.g. 'usd', 'gbp', etc.)", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "principal_outstanding_amount", | |
| "comment": "Principal outstanding at this time. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "overdue_payment_amount", | |
| "comment": "Overdue payment amount on this financing. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "pending_payment_amount", | |
| "comment": "Pending payment amount on this financing. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "premium_outstanding_amount", | |
| "comment": "Premium outstanding at this time. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-capital" | |
| }, | |
| { | |
| "name": "connected_account_financing_offers", | |
| "comment": "Capital for Platforms financing offers.", | |
| "columns": [ | |
| { | |
| "name": "is_first_time_offer", | |
| "comment": "Whether this is the first offer created for the connected account.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "revshare_earned_amount", | |
| "comment": "Revshare earned for this financing. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_terms_repayment_interval_configuration_minimum_amount", | |
| "comment": "Minimum amount that needs to be repaid in an interval. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "max_premium_amount", | |
| "comment": "Max premium amount. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_terms_target_payback_days", | |
| "comment": "The estimated number of days to fully repay the financing. Note that this is an estimate based on current payment volume, and the actual number of days to fully repay the financing may differ.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "state", | |
| "comment": "Current state of this financing offer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_withhold_rate", | |
| "comment": "Accepted withhold rate. Given as a decimal value (e.g. .1234 for 12.34%).", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "charged_off_at", | |
| "comment": "Time at which this financing was charged off. Given in milliseconds since unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "offered_terms_repayment_interval_configuration_duration_days", | |
| "comment": "Length of the repayment interval in days.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "offered_terms_repayment_interval_configuration_minimum_amount", | |
| "comment": "Minimum amount that needs to be repaid in an interval. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "paid_out_at", | |
| "comment": "Time at which this financing was paid out. Given in milliseconds since unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "previous_financing_fee_discount_amount", | |
| "comment": "Fee discount amount received for previous financing. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "fully_repaid_at", | |
| "comment": "Time at which this financing was fully repaid. Given in milliseconds since unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "max_advance_amount", | |
| "comment": "Max advance amount offered. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "metadata", | |
| "comment": "A set of key-value pairs that you can attach to a financing offer. Useful for storing additional information about the financing offer in a structured format.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "product_type", | |
| "comment": "Product type (e.g. Standard Offer or Refill Offer).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "offered_terms_target_payback_days", | |
| "comment": "The estimated number of days to fully repay the financing. Note that this is an estimate based on current payment volume, and the actual number of days to fully repay the financing may differ.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_advance_amount", | |
| "comment": "Accepted advance amount. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_at", | |
| "comment": "Time at which this offer was accepted by the merchant. Given in milliseconds since unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "campaign_type", | |
| "comment": "The type of user the offer is being extended to. One of newly_eligible_user | previously_eligible_user | repeat_user", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique ID of this financing offer.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "expires_at", | |
| "comment": "Time at which this offer expires. Given in milliseconds since unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account_id", | |
| "comment": "ID of the connected account with this active financing.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_connected_accounts" | |
| }, | |
| { | |
| "name": "rejected_at", | |
| "comment": "Time at which this offer was rejected by Stripe. Given in milliseconds since unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "financing_type", | |
| "comment": "Financing type (e.g. Flex Loan, Fixed-Term Loan, or Cash Advance).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Currency of the amounts given, provided as a three-digit lower-cased ISO 4217 currency code (e.g. 'usd', 'gbp', etc.)", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "previous_financing_fee_discount_rate", | |
| "comment": "Fee discount percentage received for previous financing. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created_at", | |
| "comment": "Time at which this offer was created. Given in milliseconds since unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_terms_repayment_interval_configuration_maximum_amount", | |
| "comment": "Maximum amount that can be repaid in an interval. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "canceled_at", | |
| "comment": "Time at which this financing was canceled by request of the merchant. Given in milliseconds since unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "max_withhold_rate", | |
| "comment": "Maximum withhold rate. Given as a decimal value (e.g. .1234 for 12.34%).", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_terms_repayment_interval_configuration_duration_days", | |
| "comment": "Length of the repayment interval in days.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "offered_terms_repayment_interval_configuration_maximum_amount", | |
| "comment": "Maximum amount that can be repaid in an interval. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_premium_amount", | |
| "comment": "Accepted premium amount. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "replacement_for", | |
| "comment": "ID of the financing offer this offer replaced.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-capital" | |
| }, | |
| { | |
| "name": "connected_account_financing_transactions", | |
| "comment": "Capital for Platforms financing transactions.", | |
| "columns": [ | |
| { | |
| "name": "legacy_balance_transaction_source", | |
| "comment": "The Capital transaction object that predates the Financing Transactions API (and this table) and corresponds with the balance transaction that was created as a result of this financing transaction.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "advance_amount", | |
| "comment": "The advance amount being repaid, paid out, or reversed. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "fee_amount", | |
| "comment": "The fee amount being repaid, paid out, or reversed. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "A human-friendly description of the financing transaction.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "financing_offer", | |
| "comment": "Financing offer ID to which this transaction corresponds.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "effective_time", | |
| "comment": "Time at which this transaction was created. Given in milliseconds since unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "linked_withholdable_object_type", | |
| "comment": "The type of the object from which this financing transaction was withheld. This field will be populated with `transaction_type = payment`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "reason", | |
| "comment": "The reason for the financing transaction (if applicable).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique ID of this financing transaction.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "reversed_transaction", | |
| "comment": "The reversed transaction. This field only applies to financing transactions of type 'reversal'.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Currency of the amounts given, provided as a three-digit lower-cased ISO 4217 currency code (e.g. 'usd', 'gbp', etc.)", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_type", | |
| "comment": "Type of this transaction (e.g. payment, financing payout, etc.).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "linked_withholdable_object_id", | |
| "comment": "The ID of the object from which this financing transaction was withheld. This field will be populated when `transaction_type = payment`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "total_amount", | |
| "comment": "The advance and fee amount being repaid, paid out, or reversed. A positive integer representing the amount in the smallest currency unit (e.g. $12.34 would be represented as `1234`).", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-capital" | |
| }, | |
| { | |
| "name": "connected_account_invoice_items", | |
| "comment": "Subscription invoice items allow you to add a charge or credit to a customer but only actually charge the customer's card at the end of a regular billing cycle.", | |
| "columns": [ | |
| { | |
| "name": "quantity", | |
| "comment": "Quantity of units for the invoice item. If the invoice item is a proration, the quantity of the subscription that the proration was computed for.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subscription_item", | |
| "comment": "The subscription item that this invoice item has been created for, if any.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "The ID of the customer who will be billed when this invoice item is billed.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the object. Often useful for displaying to users.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "price_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_prices" | |
| }, | |
| { | |
| "name": "discountable", | |
| "comment": "If true, discounts will apply to this invoice item. Always false for prorations.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount (in the `currency` specified) of the invoice item. This should always be equal to `unit_amount * quantity`.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "unit_amount_decimal", | |
| "comment": "Same as `unit_amount`, but contains a decimal value with at most 12 decimal places.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "period_start", | |
| "comment": "The start of the period. This value is inclusive.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "proration", | |
| "comment": "Whether the invoice item was created automatically as a proration adjustment when the customer switched plans.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "plan_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_plans" | |
| }, | |
| { | |
| "name": "period_end", | |
| "comment": "The end of the period, which must be greater than or equal to the start. This value is inclusive.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "date", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discounts", | |
| "comment": "The discounts which apply to the invoice item. Item discounts are applied before invoice discounts.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_" | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subscription_id", | |
| "comment": "The subscription that this invoice item has been created for, if any.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_subscriptions" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "unit_amount", | |
| "comment": "Unit amount (in the `currency` specified) of the invoice item.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "The ID of the invoice this invoice item belongs to.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_invoices" | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_invoice_items_metadata", | |
| "comment": "Additional metadata fields associated with invoice items.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "invoice_item_id", | |
| "comment": "The ID of the invoice_item that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "invoice_items" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_invoice_line_items", | |
| "comment": "Subscription invoice items become invoice line items when they are charged to a customer.", | |
| "columns": [ | |
| { | |
| "name": "quantity", | |
| "comment": "The quantity of the subscription, if the line item is a subscription or a proration.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "proration_details_credited_items_invoice", | |
| "comment": "Invoice containing the credited invoice line items", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "proration_details_credited_items_invoice_line_items", | |
| "comment": "Credited invoice line items", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the object. Often useful for displaying to users.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "price_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_prices" | |
| }, | |
| { | |
| "name": "discountable", | |
| "comment": "If true, discounts will apply to this line item. Always false for prorations.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subscription", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "source_type", | |
| "comment": "A string identifying the type of the source of this line item, either an `invoiceitem` or a `subscription`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "The amount, in cents.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "period_start", | |
| "comment": "The start of the period. This value is inclusive.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "proration", | |
| "comment": "Whether this is a proration.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "plan_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_plans" | |
| }, | |
| { | |
| "name": "period_end", | |
| "comment": "The end of the period, which must be greater than or equal to the start. This value is inclusive.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "The globally unique id for this invoice line item.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_item_id", | |
| "comment": "The ID of the [invoice item](/docs/api/invoiceitems) associated with this line item if any.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_invoice_items" | |
| }, | |
| { | |
| "name": "source_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_invoice_items" | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subscription_item_id", | |
| "comment": "The subscription item that generated this line item. Left empty if the line item is not an explicit result of a subscription.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_subscription_items" | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "connected_account_invoices" | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_invoice_payments", | |
| "comment": "An Invoice Payment tracks the relationship between an invoice and its attached PaymentIntents.", | |
| "columns": [ | |
| { | |
| "name": "is_default", | |
| "comment": "Stripe automatically creates a default InvoicePayment when the invoice is finalized, and keeps it synchronized with the invoice’s `amount_remaining`. The PaymentIntent associated with the default payment can’t be edited or canceled directly.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_requested", | |
| "comment": "Amount intended to be paid toward this invoice", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_overpaid", | |
| "comment": "Excess payment that was received for this invoice and credited to the customer’s `invoice_credit_balance`. This field is null until the payment is `paid`. Overpayment can happen when you attach more than one PaymentIntent to the invoice, and each of them succeeds. To avoid overpayment, cancel any PaymentIntents that you do not need before attaching more.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice", | |
| "comment": "The invoice that was paid.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "The status of the payment, one of `open`, `paid`, or `canceled`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_paid_at", | |
| "comment": "The time that the payment succeeded.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_paid", | |
| "comment": "Amount that was actually paid for this invoice. This field is null until the payment is `paid`. This amount can be less than the `amount_requested` if the PaymentIntent’s `amount_received` is not sufficient to pay all of the invoices that it is attached to.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_canceled_at", | |
| "comment": "The time that the payment was canceled.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_intent", | |
| "comment": "ID of the PaymentIntent associated with this payment. Note: This property is only populated for invoices finalized on or after March 15th, 2019.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_invoices", | |
| "comment": "Invoices are statements of what a customer owes for a particular billing period, including subscriptions, invoice items, and any automatic proration adjustments if necessary.", | |
| "columns": [ | |
| { | |
| "name": "amount_due", | |
| "comment": "Final amount due at this time for this invoice. If the invoice's total is smaller than the minimum charge amount, for example, or if there is account credit that can be applied to the invoice, the `amount_due` may be 0. If there is a positive `starting_balance` for the invoice (the customer owes money), the `amount_due` will also take that into account. The charge that gets generated for the invoice will be for the amount specified in `amount_due`.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ending_balance", | |
| "comment": "", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "number", | |
| "comment": "A unique, identifying string that appears on emails sent to the customer for this invoice. This starts with the customer's unique invoice_prefix if it is specified.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_coupon_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_coupons" | |
| }, | |
| { | |
| "name": "shipping_details_address_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_details_address_city", | |
| "comment": "City, district, suburb, town, or village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_subscription", | |
| "comment": "The subscription that this coupon is applied to, if it is applied to a particular subscription.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_address_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transfer_data_amount", | |
| "comment": "The amount in cents that will be transferred to the destination account when the invoice is paid. By default, the entire amount is transferred to the destination.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_email", | |
| "comment": "The customer's email. Until the invoice is finalized, this field will equal `customer.email`. Once the invoice is finalized, this field will no longer be updated.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "pre_payment_credit_notes_amount", | |
| "comment": "Total amount of all pre-payment credit notes issued for this invoice.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "application_fee", | |
| "comment": "", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_start", | |
| "comment": "Date that the coupon was applied.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_invoice", | |
| "comment": "The invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tax_percent", | |
| "comment": "This percentage of the subtotal has been added to the total amount of the invoice, including invoice line items and discounts. This field is inherited from the subscription's `tax_percent` field, but can be changed before the invoice is paid. This field defaults to null.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "collection_method", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_phone", | |
| "comment": "The customer's phone number. Until the invoice is finalized, this field will equal `customer.phone`. Once the invoice is finalized, this field will no longer be updated.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_address_city", | |
| "comment": "City, district, suburb, town, or village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "The ID of the customer who will be billed.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "customer_name", | |
| "comment": "The customer's name. Until the invoice is finalized, this field will equal `customer.name`. Once the invoice is finalized, this field will no longer be updated.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "starting_balance", | |
| "comment": "Starting customer balance before the invoice is finalized. If the invoice has not been finalized yet, this will be the current customer balance.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_voided_at", | |
| "comment": "The time that the invoice was voided.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tax", | |
| "comment": "The amount of tax on this invoice. This is the sum of all the tax amounts on this invoice.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_shipping", | |
| "comment": "This is the sum of all the shipping amounts.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "quote_id", | |
| "comment": "The quote this invoice was generated from.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_quotes" | |
| }, | |
| { | |
| "name": "customer_shipping_address_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_shipping_address_state", | |
| "comment": "State, county, province, or region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_details_address_state", | |
| "comment": "State, county, province, or region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "automatic_tax_enabled", | |
| "comment": "Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](/docs/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_marked_uncollectible_at", | |
| "comment": "The time that the invoice was marked uncollectible.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_cost_amount_subtotal", | |
| "comment": "Total shipping cost before any taxes are applied.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subscription_proration_date", | |
| "comment": "Only set for upcoming invoices that preview prorations. The time used to calculate prorations.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_payment_method_id", | |
| "comment": "ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_methods" | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_tax_exempt", | |
| "comment": "The customer's tax exempt status. Until the invoice is finalized, this field will equal `customer.tax_exempt`. Once the invoice is finalized, this field will no longer be updated.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "next_payment_attempt", | |
| "comment": "The time at which payment will next be attempted. This value will be `null` for invoices where `collection_method=send_invoice`.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_shipping_address_city", | |
| "comment": "City, district, suburb, town, or village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transfer_data_destination_id", | |
| "comment": "The account where funds from the payment will be transferred to upon payment success.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_accounts" | |
| }, | |
| { | |
| "name": "total", | |
| "comment": "Total after discounts and taxes.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_cost_amount_tax", | |
| "comment": "Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_remaining", | |
| "comment": "The difference between amount_due and amount_paid, in cents.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "period_start", | |
| "comment": "Start of the usage period during which invoice items were added to this invoice. This looks back one period for a subscription invoice. Use the [line item period](/api/invoices/line_item#invoice_line_item_object-period) to get the service period for each price.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_invoice_item", | |
| "comment": "The invoice item `id` (or invoice line item `id` for invoice line items of type='subscription') that the discount's coupon was applied to, if it was applied directly to a particular invoice item or invoice line item.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_subscription_item", | |
| "comment": "The subscription item that this coupon is applied to, if it is applied to a particular subscription item.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_shipping_address_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_shipping_address_country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "period_end", | |
| "comment": "End of the usage period during which invoice items were added to this invoice. This looks back one period for a subscription invoice. Use the [line item period](/api/invoices/line_item#invoice_line_item_object-period) to get the service period for each price.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "attempt_count", | |
| "comment": "Number of payment attempts made for this invoice, from the perspective of the payment retry schedule. Any payment attempt counts as the first attempt, and subsequently only automatic retries increment the attempt count. In other words, manual payment attempts after the first attempt do not affect the retry schedule. If a failure is returned with a non-retryable return code, the invoice can no longer be retried unless a new payment method is obtained. Retries will continue to be scheduled, and attempt_count will continue to increment, but retries will only be executed if a new payment method is obtained.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object. This property is always present unless the invoice is an upcoming invoice. See [Retrieve an upcoming invoice](https://stripe.com/docs/api/invoices/upcoming) for more details.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "customer_address_state", | |
| "comment": "State, county, province, or region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "webhooks_delivered_at", | |
| "comment": "Invoices are automatically paid or sent 1 hour after webhooks are delivered, or until all webhook delivery attempts have [been exhausted](/docs/billing/webhooks#understand). This field tracks the time when webhooks for this invoice were successfully delivered. If the invoice had no webhooks to deliver, this will be set while the invoice is being created.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "receipt_number", | |
| "comment": "This is the transaction number that appears on email receipts sent for this invoice.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "statement_descriptor", | |
| "comment": "Extra information about an invoice for the customer's credit card statement.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_shipping_address_line1", | |
| "comment": "Address line 1 (e.g., street, PO Box, or company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "date", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discounts", | |
| "comment": "The discounts applied to the invoice. Line item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_" | |
| }, | |
| { | |
| "name": "customer_address_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_shipping_phone", | |
| "comment": "Customer phone (including extension).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "paid", | |
| "comment": "Whether payment was successfully collected for this invoice. An invoice can be paid (most commonly) with a charge or with credit from the customer's account balance.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_shipping_name", | |
| "comment": "Customer name.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "The status of the invoice, one of `draft`, `open`, `paid`, `uncollectible`, or `void`. [Learn more](/docs/billing/invoices/workflow#workflow-overview)", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "on_behalf_of_id", | |
| "comment": "The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](/docs/billing/invoices/connect) documentation for details. ", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_accounts" | |
| }, | |
| { | |
| "name": "shipping_details_name", | |
| "comment": "Recipient name.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_cost_amount_total", | |
| "comment": "Total shipping cost after taxes are applied.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_paid_at", | |
| "comment": "The time that the invoice was paid.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "due_date", | |
| "comment": "The date on which payment for this invoice is due. This value will be `null` for invoices where `collection_method=charge_automatically`.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_paid", | |
| "comment": "The amount, in cents, that was paid.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subtotal", | |
| "comment": "Total of all subscriptions, invoice items, and prorations on the invoice before any invoice level discount or exclusive tax is applied. Item discounts are already incorporated", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_details_phone", | |
| "comment": "Recipient phone (including extension).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "attempted", | |
| "comment": "Whether an attempt has been made to pay the invoice. An invoice is not attempted until 1 hour after the `invoice.created` webhook, for example, so you might not want to display that invoice as unpaid to your users.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subscription_id", | |
| "comment": "The subscription that this invoice was prepared for, if any.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_subscriptions" | |
| }, | |
| { | |
| "name": "discount_end", | |
| "comment": "If the coupon has a duration of `repeating`, the date that this discount will end. If the coupon has a duration of `once` or `forever`, this attribute will be null.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_details_address_country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "auto_advance", | |
| "comment": "Controls whether Stripe performs [automatic collection](/docs/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_address_country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_details_address_line1", | |
| "comment": "Address line 1 (e.g., street, PO Box, or company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_address_line1", | |
| "comment": "Address line 1 (e.g., street, PO Box, or company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "automatic_tax_status", | |
| "comment": "The status of the most recent automated tax calculation for this invoice.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "paid_out_of_band", | |
| "comment": "Returns true if the invoice was manually marked paid, returns false if the invoice hasn't been paid yet or was paid on Stripe.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_promotion_code_id", | |
| "comment": "The promotion code applied to create this discount.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "post_payment_credit_notes_amount", | |
| "comment": "Total amount of all post-payment credit notes issued for this invoice.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "effective_at", | |
| "comment": "The date when this invoice is in effect. Same as `finalized_at` unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the invoice PDF and receipt.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_customer_id", | |
| "comment": "The ID of the customer associated with this discount.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "shipping_details_address_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_reason", | |
| "comment": "Indicates the reason why the invoice was created.\n\n* `manual`: Unrelated to a subscription, for example, created via the invoice editor.\n* `subscription`: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.\n* `subscription_create`: A new subscription was created.\n* `subscription_cycle`: A subscription advanced into a new period.\n* `subscription_threshold`: A subscription reached a billing threshold.\n* `subscription_update`: A subscription was updated.\n* `upcoming`: Reserved for simulated invoices, per the upcoming invoice endpoint.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "footer", | |
| "comment": "Footer displayed on the invoice.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_description", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "application_id", | |
| "comment": "ID of the Connect Application that created the invoice.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_cost_shipping_rate_id", | |
| "comment": "The ID of the ShippingRate for this invoice.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_finalized_at", | |
| "comment": "The time that the invoice draft was finalized.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_checkout_session", | |
| "comment": "The Checkout session that this coupon is applied to, if it is applied to a particular session in payment mode. Will not be present for subscription mode.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "charge_id", | |
| "comment": "ID of the latest charge generated for this invoice, if any.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_charges" | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_invoices_metadata", | |
| "comment": "Additional metadata fields associated with invoices.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "The ID of the invoice that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "invoices" | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_issuing_authorizations", | |
| "comment": "This is an object created whenever an issued card is used to make a purchase and must be approved for the purchase to be completed successfully.", | |
| "columns": [ | |
| { | |
| "name": "merchant_currency", | |
| "comment": " The local currency that was presented to the cardholder for the authorization. This currency can be different from the cardholder currency and the `currency` field on this authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant_data_name", | |
| "comment": "Name of the seller", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "authorization_method", | |
| "comment": "How the card details were provided. ", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "verification_data_address_postal_code_check", | |
| "comment": "Whether the cardholder provided a postal code and if it matched the cardholder’s `billing.address.postal_code`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant_data_postal_code", | |
| "comment": "Postal code where the seller is located", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "verification_data_expiry_check", | |
| "comment": "Whether the cardholder provided an expiry date and if it matched Stripe’s record.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "verification_data_postal_code", | |
| "comment": "The postal code submitted as part of the authorization used for postal code verification.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "The total amount that was authorized or rejected. This amount is in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). `amount` should be the same as `merchant_amount`, unless `currency` and `merchant_currency` are different.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "merchant_data_state", | |
| "comment": "State where the seller is located", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "verification_data_address_line1_check", | |
| "comment": "Whether the cardholder provided an address first line and if it matched the cardholder’s `billing.address.line1`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant_data_city", | |
| "comment": "City where the seller is located", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "verification_data_cvc_check", | |
| "comment": "Whether the cardholder provided a CVC and if it matched Stripe’s record.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "The current status of the authorization in its lifecycle.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_issuing_cards" | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "The currency of the cardholder. This currency can be different from the currency presented at authorization and the `merchant_currency` field on this authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant_data_network_id", | |
| "comment": "Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant_data_category", | |
| "comment": "A categorization of the seller's type of business. See our [merchant categories guide](/docs/issuing/merchant-categories) for a list of possible values.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "The type of the authorization, whether it is for a payment or another type.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "approved", | |
| "comment": "Whether the authorization has been approved.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant_data_country", | |
| "comment": "Country where the seller is located", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "wallet", | |
| "comment": "The digital wallet used for this transaction. One of `apple_pay`, `google_pay`, or `samsung_pay`. Will populate as `null` when no digital wallet was utilized.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant_amount", | |
| "comment": "The total amount that was authorized or rejected. This amount is in the `merchant_currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). `merchant_amount` should be the same as `amount`, unless `merchant_currency` and `currency` are different.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-issuing" | |
| }, | |
| { | |
| "name": "connected_account_issuing_authorizations_metadata", | |
| "comment": "Additional metadata fields associated with issuing authorizations.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "issuing_authorization_id", | |
| "comment": "The ID of the issuing_authorization that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "issuing_authorizations" | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-issuing" | |
| }, | |
| { | |
| "name": "connected_account_issuing_cardholders", | |
| "comment": "This is an object representing an individual or business entity who is issued cards.", | |
| "columns": [ | |
| { | |
| "name": "name", | |
| "comment": "The cardholder's name. This will be printed on cards issued to them.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "phone_number", | |
| "comment": "The cardholder's phone number. This is required for all cardholders who will be creating EU cards. See the [3D Secure documentation](/docs/issuing/3d-secure#when-is-3d-secure-applied) for more details.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "email", | |
| "comment": "The cardholder's email address.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_address_city", | |
| "comment": "City, district, suburb, town, or village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_address_line1", | |
| "comment": "Address line 1 (e.g., street, PO Box, or company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "individual_last_name", | |
| "comment": "The last name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "individual_dob_year", | |
| "comment": "The four-digit year of birth.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "individual_verification_document_back_id", | |
| "comment": "The back of a document returned by a [file upload](#create_file) with a `purpose` value of `identity_document`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "individual_verification_document_front_id", | |
| "comment": "The front of a document returned by a [file upload](#create_file) with a `purpose` value of `identity_document`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "individual_dob_month", | |
| "comment": "The month of birth, between 1 and 12.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "individual_first_name", | |
| "comment": "The first name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_address_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Specifies whether to permit authorizations on this cardholder's cards.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "requirements_past_due", | |
| "comment": "Array of fields that need to be collected in order to verify and re-enable the cardholder.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_address_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "individual_dob_day", | |
| "comment": "The day of birth, between 1 and 31.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "One of `individual` or `company`. See [Choose a cardholder type](/docs/issuing/other/choose-cardholder) for more details.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_address_state", | |
| "comment": "State, county, province, or region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_address_country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "company_tax_id_provided", | |
| "comment": "Whether the company's business ID number was provided.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "requirements_disabled_reason", | |
| "comment": "If `disabled_reason` is present, all cards will decline authorizations with `cardholder_verification_required` reason.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-issuing" | |
| }, | |
| { | |
| "name": "connected_account_issuing_cardholders_metadata", | |
| "comment": "Additional metadata fields associated with issuing cardholders.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "issuing_cardholder_id", | |
| "comment": "The ID of the issuing_cardholder that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "issuing_cardholders" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-issuing" | |
| }, | |
| { | |
| "name": "connected_account_issuing_cards", | |
| "comment": "This is an object representing an issued card.", | |
| "columns": [ | |
| { | |
| "name": "cardholder_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_issuing_cardholders" | |
| }, | |
| { | |
| "name": "shipping_type", | |
| "comment": "Packaging options.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_tracking_url", | |
| "comment": "A link to the shipping carrier's site where you can view detailed information about a card shipment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_validation_normalized_address_country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "replaced_by_id", | |
| "comment": "The latest card that replaces this card, if any.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_issuing_cards" | |
| }, | |
| { | |
| "name": "exp_month", | |
| "comment": "The expiration month of the card.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_tracking_number", | |
| "comment": "A tracking number for a card shipment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_state", | |
| "comment": "State, county, province, or region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_eta", | |
| "comment": "A unix timestamp representing a best estimate of when the card will be delivered.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_validation_normalized_address_line1", | |
| "comment": "Address line 1 (e.g., street, PO Box, or company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_validation_normalized_address_city", | |
| "comment": "City, district, suburb, town, or village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_service", | |
| "comment": "Shipment service, such as `standard` or `express`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "exp_year", | |
| "comment": "The expiration year of the card.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_line1", | |
| "comment": "Address line 1 (e.g., street, PO Box, or company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "brand", | |
| "comment": "The brand of the card.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_validation_normalized_address_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "last4", | |
| "comment": "The last 4 digits of the card number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cancellation_reason", | |
| "comment": "The reason why the card was canceled.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_name", | |
| "comment": "Recipient name.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_validation_normalized_address_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to `inactive`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_status", | |
| "comment": "The delivery status of the card.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_city", | |
| "comment": "City, district, suburb, town, or village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "replacement_for_id", | |
| "comment": "The card this card replaces, if any.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_issuing_cards" | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Supported currencies are `usd` in the US, `eur` in the EU, and `gbp` in the UK.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_validation_result", | |
| "comment": "The validation result for the shipping address.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_validation_mode", | |
| "comment": "The address validation capabilities to use.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_carrier", | |
| "comment": "The delivery company that shipped a card.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "The type of the card.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_validation_normalized_address_state", | |
| "comment": "State, county, province, or region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-issuing" | |
| }, | |
| { | |
| "name": "connected_account_issuing_cards_metadata", | |
| "comment": "Additional metadata fields associated with issuing cards.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "issuing_card_id", | |
| "comment": "The ID of the issuing_card that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "issuing_cards" | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-issuing" | |
| }, | |
| { | |
| "name": "connected_account_issuing_disputes", | |
| "comment": "This is an object representing a dispute filed on behalf of a cardholder.", | |
| "columns": [ | |
| { | |
| "name": "evidence_returned_at", | |
| "comment": "Date when the product was returned or attempted to be returned.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_cancellation_policy_provided", | |
| "comment": "Whether the cardholder was provided with a cancellation policy.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "internal_reason", | |
| "comment": "How we represent user-facing reasons internally", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_product_description", | |
| "comment": "Description of the merchandise or service that was purchased.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_return_description", | |
| "comment": "Description of the cardholder’s attempt to return the product.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_cancellation_reason", | |
| "comment": "Reason for canceling the order.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_canceled_at", | |
| "comment": "Date when order was canceled.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "reason", | |
| "comment": "The user-facing reason for filing the dispute.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Disputed amount.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "evidence_cash_receipt", | |
| "comment": "(ID of a file upload) Copy of the receipt showing that the product had been paid for in cash.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "updated", | |
| "comment": "Date dispute was updated.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_received_at", | |
| "comment": "Date when the product was received.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_product_type", | |
| "comment": "Whether the product was a merchandise or service.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Current status of the dispute.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_additional_documentation", | |
| "comment": "(ID of a file upload) Additional documentation supporting the dispute.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Currency of disputed amount.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_expected_at", | |
| "comment": "Date when the cardholder expected to receive the product.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant", | |
| "comment": "Unique identifier for the user.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card", | |
| "comment": "The card object to which the dispute was created under.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_original_transaction", | |
| "comment": "Transaction (e.g., ipi_…) that the disputed transaction is a duplicate of. Of the two or more transactions that are copies of each other, this is original undisputed one.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_explanation", | |
| "comment": "Explanation of why the cardholder is disputing this transaction.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction", | |
| "comment": "The transcation object being disputed.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "loss_reason", | |
| "comment": "The reason why the dispute lost.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_check_image", | |
| "comment": "(ID of a file upload) Image of the front and back of the check that was used to pay for the product.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_card_statement", | |
| "comment": "(ID of a file upload) Copy of the card statement showing that the product had already been paid for.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Date dispute was created.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "evidence_return_status", | |
| "comment": "Result of cardholder’s attempt to return the product.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cardholder", | |
| "comment": "The cardholder object to which the card belongs to.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-issuing" | |
| }, | |
| { | |
| "name": "connected_account_issuing_network_tokens", | |
| "comment": "Representations of network tokens created on a card.", | |
| "columns": [ | |
| { | |
| "name": "network", | |
| "comment": "The token service provider / card network associated with the token.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "device_fingerprint", | |
| "comment": "The hashed ID derived from the device ID from the card network associated with the token.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "wallet_provider", | |
| "comment": "The digital wallet for this token, if one was used.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "last4", | |
| "comment": "The last four digits of the token.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "network_updated_at", | |
| "comment": "Time at which the token was last updated by the card network. Measured in seconds since the Unix epoch.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "The usage state of the token.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant", | |
| "comment": "Unique identifier for the user.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card", | |
| "comment": "Card associated with this token.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "double", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-issuing" | |
| }, | |
| { | |
| "name": "connected_account_issuing_transactions", | |
| "comment": "This is an object representing any use of an issued card that results in funds entering or leaving your Stripe account.", | |
| "columns": [ | |
| { | |
| "name": "merchant_currency", | |
| "comment": "The currency with which the merchant is taking payment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "purchase_details_lodging_nights", | |
| "comment": "The number of nights stayed at the lodging.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cardholder_id", | |
| "comment": "The cardholder to whom this transaction belongs.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_issuing_cardholders" | |
| }, | |
| { | |
| "name": "merchant_data_name", | |
| "comment": "Name of the seller", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "interchange_amount_decimal", | |
| "comment": "Decimal amount of interchange, as provided by the card network, in the [smallest currency unit](/docs/currencies#zero-decimal) with at most 4 decimal places.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "purchase_details_fuel_volume_decimal", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "purchase_details_flight_passenger_name", | |
| "comment": "The name of the passenger.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant_data_postal_code", | |
| "comment": "Postal code where the seller is located", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "purchase_details_lodging_check_in_at", | |
| "comment": "The time of checking into the lodging.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "purchase_details_flight_refundable", | |
| "comment": "Whether the ticket is refundable.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "balance_transaction_id", | |
| "comment": "ID of the [balance transaction](/docs/api/balance_transactions) associated with this transaction.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_balance_transactions" | |
| }, | |
| { | |
| "name": "network_data_authorization_code", | |
| "comment": "A code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter \"S\", followed by a six-digit number. For example, \"S498162\". Please note that the code is not guaranteed to be unique across authorizations.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "The transaction amount, which will be reflected in your balance. This amount is in your currency and in the [smallest currency unit](/docs/currencies#zero-decimal).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "purchase_details_fuel_unit", | |
| "comment": "The units for `quantity_decimal`. One of `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, `liter`, `pound`, `us_gallon`, or `other`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "authorization_id", | |
| "comment": "The `Authorization` object that led to this transaction.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_issuing_authorizations" | |
| }, | |
| { | |
| "name": "purchase_details_fuel_volume", | |
| "comment": "", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "purchase_details_flight_travel_agency", | |
| "comment": "The travel agency that issued the ticket.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "merchant_data_state", | |
| "comment": "State where the seller is located", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant_data_city", | |
| "comment": "City where the seller is located", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_id", | |
| "comment": "The card used to make this transaction.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_issuing_cards" | |
| }, | |
| { | |
| "name": "token_id", | |
| "comment": "[Token](/docs/api/issuing/tokens/object) object used for this transaction. If a network token was not used for this transaction, this field will be null.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_issuing_network_tokens" | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant_data_network_id", | |
| "comment": "Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "network_data_processing_date", | |
| "comment": "The date the transaction was processed by the card network. This can be different from the date the seller recorded the transaction depending on when the acquirer submits the transaction to the network.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "purchase_details_fuel_type", | |
| "comment": "The type of fuel that was purchased. One of `diesel`, `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "purchase_details_fuel_unit_cost", | |
| "comment": "", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant_data_category", | |
| "comment": "A categorization of the seller's type of business. See our [merchant categories guide](/docs/issuing/merchant-categories) for a list of possible values.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "The nature of the transaction.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "purchase_details_flight_departure_at", | |
| "comment": "The time that the flight departed.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant_data_country", | |
| "comment": "Country where the seller is located", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "network_data_transaction_id", | |
| "comment": "Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "purchase_details_fuel_unit_cost_decimal", | |
| "comment": "The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant_amount", | |
| "comment": "The amount that the merchant will receive, denominated in `merchant_currency` and in the [smallest currency unit](/docs/currencies#zero-decimal). It will be different from `amount` if the merchant is taking payment in a different currency.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "purchase_details_reference", | |
| "comment": "A merchant-specific order number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-issuing" | |
| }, | |
| { | |
| "name": "connected_account_issuing_transactions_metadata", | |
| "comment": "Additional metadata fields associated with issuing transactions.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "issuing_transaction_id", | |
| "comment": "The ID of the issuing_transaction that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "issuing_transactions" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-issuing" | |
| }, | |
| { | |
| "name": "connected_account_payment_links", | |
| "comment": "This object represents a payment link, a shareable URL that creates checkout sessions.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "active", | |
| "comment": "Whether the payment link's `url` is active. If `false`, customers visiting the URL will be shown a page saying that the link has been deactivated.", | |
| "type": "boolean", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-checkout" | |
| }, | |
| { | |
| "name": "connected_account_payment_reviews", | |
| "comment": "This object represents a Review associated with a payment, if any.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "reason", | |
| "comment": "The reason the review is currently open or closed", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "open", | |
| "comment": "If the Review is currently open.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_intent_id", | |
| "comment": "The PaymentIntent ID associated with this review, if one exists.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_intents" | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "charge_id", | |
| "comment": "The ID of the charge associated with this Review.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_charges" | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_products", | |
| "comment": "Products may be physical goods or services.", | |
| "columns": [ | |
| { | |
| "name": "name", | |
| "comment": "The product's name, meant to be displayable to the customer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "url", | |
| "comment": "A URL of a publicly-accessible webpage for this product.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "unit_label", | |
| "comment": "A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shippable", | |
| "comment": "Whether this product is shipped (i.e., physical goods).", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "statement_descriptor", | |
| "comment": "Extra information about a product which will appear on your customer's credit card statement. In the case that multiple products are billed at once, the first statement descriptor will be used. Only used for subscription payments.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "caption", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "The type of the product. The product is either of type `good`, which is eligible for use with Orders and SKUs, or `service`, which is eligible for use with Subscriptions and Plans.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "deactivate_on", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "active", | |
| "comment": "Whether the product is currently available for purchase.", | |
| "type": "boolean", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_products_metadata", | |
| "comment": "Additional metadata fields associated with products.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "product_id", | |
| "comment": "The ID of the product that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "products" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_refunds", | |
| "comment": "Refund objects allow you to refund a charge that has previously been created but not yet refunded.", | |
| "columns": [ | |
| { | |
| "name": "failure_reason", | |
| "comment": "Provides the reason for the refund failure. Possible values are: `lost_or_stolen_card`, `expired_or_canceled_card`, `charge_for_pending_refund_disputed`, `insufficient_funds`, `declined`, `merchant_request`, or `unknown`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "refund_description", | |
| "comment": "An arbitrary string attached to the object. You can use this for displaying to users (available on non-card refunds only).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "source_transfer_reversal_id", | |
| "comment": "The transfer reversal that's associated with the refund. Only present if the charge came from another Stripe account.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_transfer_reversals" | |
| }, | |
| { | |
| "name": "balance_transaction_id", | |
| "comment": "Balance transaction that describes the impact on your account balance.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_balance_transactions" | |
| }, | |
| { | |
| "name": "reason", | |
| "comment": "Reason for the refund, which is either user-provided (`duplicate`, `fraudulent`, or `requested_by_customer`) or generated by Stripe internally (`expired_uncaptured_charge`).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount, in cents.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "failure_balance_transaction_id", | |
| "comment": "After the refund fails, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_balance_transactions" | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "receipt_number", | |
| "comment": "This is the transaction number that appears on email receipts sent for this refund.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Status of the refund. This can be `pending`, `requires_action`, `succeeded`, `failed`, or `canceled`. Learn more about [failed refunds](/docs/refunds#failed-refunds).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "refund_transfer_reversal_id", | |
| "comment": "This refers to the transfer reversal object if the accompanying transfer reverses. This is only applicable if the charge was created using the destination parameter.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_transfer_reversals" | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "refund_payment_intent", | |
| "comment": "ID of the PaymentIntent that's refunded.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "charge_id", | |
| "comment": "ID of the charge that's refunded.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_charges" | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_refunds_metadata", | |
| "comment": "Additional metadata fields associated with refunds.", | |
| "columns": [ | |
| { | |
| "name": "refund_id", | |
| "comment": "The ID of the refund that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "refunds" | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_rule_decisions", | |
| "comment": "This table contains the instances when a custom or default Radar rule matched with a transaction.", | |
| "columns": [ | |
| { | |
| "name": "setup_intent_id", | |
| "comment": "The SetupIntent ID associated with this rule decision, if applicable.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_setup_intents" | |
| }, | |
| { | |
| "name": "rule_override_by_allow_rule", | |
| "comment": "This indicates that an allow rule successfully allowed a transaction that would have otherwise been blocked, placed in review, or gone through additional authentication.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "rule_id", | |
| "comment": "The ID of the Radar rule responsible for this rule decision.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_radar_rules" | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_intent_id", | |
| "comment": "The PaymentIntent ID associated with this rule decision, if applicable.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_intents" | |
| }, | |
| { | |
| "name": "action", | |
| "comment": "The action that happened as a result of this rule decision (e.g. \"allow\").", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "charge_id", | |
| "comment": "The ID of the charge associated with this rule decision, if applicable.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_charges" | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_sources", | |
| "comment": "Source objects allow you to accept a variety of payment methods.", | |
| "columns": [ | |
| { | |
| "name": "owner_address_country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "owner_verified_address_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "usage", | |
| "comment": "Either `reusable` or `single_use`. Whether this source should be reusable or not. Some source types may or may not be reusable by construction, while others may leave the option at creation. If an incompatible value is passed, an error will be returned.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "redirect_status", | |
| "comment": "The status of the redirect, either `pending` (ready to be used by your customer to authenticate the transaction), `succeeded` (succesful authentication, cannot be reused) or `not_required` (redirect should not be used) or `failed` (failed authentication, cannot be reused).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "owner_verified_name", | |
| "comment": "Verified owner's full name. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "owner_verified_address_line1", | |
| "comment": "Address line 1 (e.g., street, PO Box, or company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "owner_verified_address_country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "owner_address_city", | |
| "comment": "City, district, suburb, town, or village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "code_verification_attempts_remaining", | |
| "comment": "The number of attempts remaining to authenticate the source object with a verification code.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "owner_address_state", | |
| "comment": "State, county, province, or region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "owner_name", | |
| "comment": "Owner's full name.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "redirect_url", | |
| "comment": "The URL provided to you to redirect a customer to as part of a `redirect` authentication flow.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "owner_verified_phone", | |
| "comment": "Verified owner's phone number (including extension). Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount associated with the source. This is the amount for which the source will be chargeable once ready. Required for `single_use` sources.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "receiver_address", | |
| "comment": "The address of the receiver source. This is the value that should be communicated to the customer to send their funds to.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "owner_verified_address_state", | |
| "comment": "State, county, province, or region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "owner_verified_email", | |
| "comment": "Verified owner's email address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "owner_address_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "flow", | |
| "comment": "The authentication `flow` of the source. `flow` is one of `redirect`, `receiver`, `code_verification`, `none`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "The status of the source, one of `canceled`, `chargeable`, `consumed`, `failed`, or `pending`. Only `chargeable` sources can be used to create a charge.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "owner_verified_address_city", | |
| "comment": "City, district, suburb, town, or village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "owner_phone", | |
| "comment": "Owner's phone number (including extension).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "receiver_amount_charged", | |
| "comment": "The total amount that was moved to your balance. This is almost always equal to the amount charged. In rare cases when customers deposit excess funds and we are unable to refund those, those funds get moved to your balance and show up in amount_charged as well. The amount charged is expressed in the source's currency.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) associated with the source. This is the currency for which the source will be chargeable once ready. Required for `single_use` sources.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "receiver_amount_received", | |
| "comment": "The total amount received by the receiver source. `amount_received = amount_returned + amount_charged` should be true for consumed sources unless customers deposit excess funds. The amount received is expressed in the source's currency.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "owner_address_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "redirect_failure_reason", | |
| "comment": "The failure reason for the redirect, either `user_abort` (the customer aborted or dropped out of the redirect flow), `declined` (the authentication failed or the transaction was declined), or `processing_error` (the redirect failed due to a technical error). Present only if the redirect status is `failed`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "client_secret", | |
| "comment": "The client secret of the source. Used for client-side retrieval using a publishable key.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "code_verification_status", | |
| "comment": "The status of the code verification, either `pending` (awaiting verification, `attempts_remaining` should be greater than 0), `succeeded` (successful verification) or `failed` (failed verification, cannot be verified anymore as `attempts_remaining` should be 0).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "receiver_amount_returned", | |
| "comment": "The total amount that was returned to the customer. The amount returned is expressed in the source's currency.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "The `type` of the source. The `type` is a payment method, one of `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`, `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An additional hash is included on the source with a name matching this value. It contains additional information specific to the [payment method](/docs/sources) used.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "owner_verified_address_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "owner_address_line1", | |
| "comment": "Address line 1 (e.g., street, PO Box, or company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "redirect_return_url", | |
| "comment": "The URL you provide to redirect the customer to after they authenticated their payment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "owner_email", | |
| "comment": "Owner's email address.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_sources_metadata", | |
| "comment": "Additional metadata fields associated with sources.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "source_id", | |
| "comment": "The ID of the source that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "sources" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_subscription_items", | |
| "comment": "Subscription items allow you to create customer subscriptions with more than one price, making it easy to represent complex billing relationships.", | |
| "columns": [ | |
| { | |
| "name": "price_currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "quantity", | |
| "comment": "The [quantity](/docs/subscriptions/quantities) of the plan to which the customer should be subscribed.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "plan_trial_period_days", | |
| "comment": "Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](/docs/api#create_subscription-trial_from_plan).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "price_recurring_trial_period_days", | |
| "comment": "Default number of trial days when subscribing a customer to this price using [`trial_from_plan=true`](/docs/api#create_subscription-trial_from_plan).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "plan_amount", | |
| "comment": "The unit amount in cents to be charged, represented as a whole integer if possible. Only set if `billing_scheme=per_unit`.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "plan_created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "price_recurring_interval", | |
| "comment": "The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "price_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "plan_product_id", | |
| "comment": "The product whose pricing this plan determines.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_products" | |
| }, | |
| { | |
| "name": "subscription", | |
| "comment": "The `subscription` this `subscription_item` belongs to.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "plan_nickname", | |
| "comment": "A brief description of the plan, hidden from customers.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_thresholds_usage_gte", | |
| "comment": "Usage threshold that triggers the subscription to create an invoice", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "plan_currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "price_product_id", | |
| "comment": "The ID of the product this price is associated with.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_products" | |
| }, | |
| { | |
| "name": "plan_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "price_unit_amount", | |
| "comment": "The unit amount in cents to be charged, represented as a whole integer if possible. Only set if `billing_scheme=per_unit`.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "plan_interval_count", | |
| "comment": "The number of intervals (specified in the `interval` attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "price_nickname", | |
| "comment": "A brief description of the price, hidden from customers.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discounts", | |
| "comment": "The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use `expand[]=discounts` to expand each discount.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_" | |
| }, | |
| { | |
| "name": "price_recurring_interval_count", | |
| "comment": "The number of intervals (specified in the `interval` attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subscription_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "connected_account_subscriptions" | |
| }, | |
| { | |
| "name": "plan_interval", | |
| "comment": "The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "price_created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_subscriptions", | |
| "comment": "Subscriptions allow you to charge a customer's card on a recurring basis. A subscription ties a customer to a particular plan.", | |
| "columns": [ | |
| { | |
| "name": "pending_update_trial_end", | |
| "comment": "Unix timestamp representing the end of the trial period the customer will get before being charged for the first time, if the update is applied.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "pending_update_expires_at", | |
| "comment": "The point after which the changes reflected by this update will be discarded and no longer applied.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "trial_start", | |
| "comment": "If the subscription has a trial, the beginning of that trial.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_coupon_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_coupons" | |
| }, | |
| { | |
| "name": "payment_settings_payment_method_options_customer_balance_bank_transfer_eu_bank_transfer_country", | |
| "comment": "The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_settings_payment_method_options_customer_balance_bank_transfer_type", | |
| "comment": "The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_subscription", | |
| "comment": "The subscription that this coupon is applied to, if it is applied to a particular subscription.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "quantity", | |
| "comment": "The quantity of the plan to which the customer is subscribed. For example, if your plan is $10/user/month, and your customer has 5 users, you could pass 5 as the quantity to have the customer charged $50 (5 x $10) monthly. Only set if the subscription contains a single plan.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_start", | |
| "comment": "Date that the coupon was applied.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "application_fee_percent", | |
| "comment": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "start_date", | |
| "comment": "The backdated start date or initial created date.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_invoice", | |
| "comment": "The invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tax_percent", | |
| "comment": "If provided, each invoice created by this subscription will apply the tax rate, increasing the amount billed to the customer.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_settings_payment_method_options_customer_balance_funding_type", | |
| "comment": "The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "ID of the customer who owns the subscription.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "billing_thresholds_amount_gte", | |
| "comment": "Monetary threshold that triggers the subscription to create an invoice", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_source_id", | |
| "comment": "ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](/docs/api/customers/object#customer_object-default_source).", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_sources" | |
| }, | |
| { | |
| "name": "cancellation_reason_text", | |
| "comment": "The customer provided reason for cancelling the subscription.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_settings_payment_method_options_customer_balance_bank_transfer_id_bank_transfer_bank", | |
| "comment": "The bank where the account is held.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cancel_at_period_end", | |
| "comment": "Whether this subscription will (if `status=active`) or did (if `status=canceled`) cancel at the end of the current billing period.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "price_id", | |
| "comment": "Reference to the price the customer is subscribed to. Only set if the subscription contains a single price.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_prices" | |
| }, | |
| { | |
| "name": "payment_settings_save_default_payment_method", | |
| "comment": "Configure whether Stripe updates `subscription.default_payment_method` when payment succeeds. Defaults to `off`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_settings_payment_method_options_card_network", | |
| "comment": "Selected network to process this Subscription on. Depends on the available networks of the card attached to the Subscription. Can be only set confirm-time.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "pending_update_billing_cycle_anchor", | |
| "comment": "If the update is applied, determines the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. The timestamp is in UTC format.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "automatic_tax_enabled", | |
| "comment": "Whether Stripe automatically computes tax on this subscription.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_payment_method_id", | |
| "comment": "ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](/docs/api/customers/object#customer_object-default_source).", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_methods" | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "current_period_start", | |
| "comment": "Start of the current period that the subscription has been invoiced for. This field is deprecated starting on the `2025-03-31.basil` version, please use `current_period_start` on the items[] field instead", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transfer_data_destination_id", | |
| "comment": "The account where funds from the payment will be transferred to upon payment success.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_accounts" | |
| }, | |
| { | |
| "name": "cancellation_details_comment", | |
| "comment": "Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "trial_settings_end_behavior_missing_payment_method", | |
| "comment": "Indicates how the subscription should change when the trial ends if the user did not provide a payment method.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "pending_setup_intent_id", | |
| "comment": "You can use this [SetupIntent](/docs/api/setup_intents) to collect user authentication when creating a subscription without immediate payment or updating a subscription's payment method, allowing you to optimize for off-session payments. Learn more in the [SCA Migration Guide](/docs/billing/migration/strong-customer-authentication#scenario-2).", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_setup_intents" | |
| }, | |
| { | |
| "name": "pause_collection_resumes_at", | |
| "comment": "The time after which the subscription will resume collecting payments.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ended_at", | |
| "comment": "If the subscription has ended, the date the subscription ended.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "pending_update_trial_from_plan", | |
| "comment": "Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. See [Using trial periods on subscriptions](/docs/billing/subscriptions/trials) to learn more.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cancel_at", | |
| "comment": "A date in the future at which the subscription will automatically get canceled", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_invoice_item", | |
| "comment": "The invoice item `id` (or invoice line item `id` for invoice line items of type='subscription') that the discount's coupon was applied to, if it was applied directly to a particular invoice item or invoice line item.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_mode_type", | |
| "comment": "Controls how prorations and invoices for subscriptions are calculated and orchestrated.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "pause_collection_behavior", | |
| "comment": "The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_subscription_item", | |
| "comment": "The subscription item that this coupon is applied to, if it is applied to a particular subscription item.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_settings_payment_method_options_card_mandate_options_amount", | |
| "comment": "Amount to be charged for future payments.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "plan_id", | |
| "comment": "Reference to the plan the customer is subscribed to. Only set if the subscription contains a single plan.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_plans" | |
| }, | |
| { | |
| "name": "pending_invoice_item_interval_count", | |
| "comment": "The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "cancellation_reason", | |
| "comment": "One of the preconfigured cancellation reasons selected by the customer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "schedule_id", | |
| "comment": "The schedule attached to the subscription", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_subscription_schedules" | |
| }, | |
| { | |
| "name": "payment_settings_payment_method_options_bancontact_preferred_language", | |
| "comment": "Preferred language of the Bancontact authorization page that the customer is redirected to.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discounts", | |
| "comment": "The discounts applied to the subscription. Subscription item discounts are applied before subscription discounts. Use `expand[]=discounts` to expand each discount.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_" | |
| }, | |
| { | |
| "name": "payment_settings_payment_method_options_card_mandate_options_description", | |
| "comment": "A description of the mandate or subscription that is meant to be displayed to the customer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Possible values are `incomplete`, `incomplete_expired`, `trialing`, `active`, `past_due`, `canceled`, `unpaid`, or `paused`. \n\nFor `collection_method=charge_automatically` a subscription moves into `incomplete` if the initial payment attempt fails. A subscription in this status can only have metadata and default_source updated. Once the first invoice is paid, the subscription moves into an `active` status. If the first invoice is not paid within 23 hours, the subscription transitions to `incomplete_expired`. This is a terminal status, the open invoice will be voided and no further invoices will be generated. \n\nA subscription that is currently in a trial period is `trialing` and moves to `active` when the trial period is over. \n\nA subscription can only enter a `paused` status [when a trial ends without a payment method](/docs/billing/subscriptions/trials#create-free-trials-without-payment). A `paused` subscription doesn't generate invoices and can be resumed after your customer adds their payment method. The `paused` status is different from [pausing collection](/docs/billing/subscriptions/pause-payment), which still generates invoices and leaves the subscription's status unchanged. \n\nIf subscription `collection_method=charge_automatically`, it becomes `past_due` when payment is required but cannot be paid (due to failed payment or awaiting additional user actions). Once Stripe has exhausted all payment retry attempts, the subscription will become `canceled` or `unpaid` (depending on your subscriptions settings). \n\nIf subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "on_behalf_of_id", | |
| "comment": "The account (if any) the charge was made on behalf of for charges associated with this subscription. See the [Connect documentation](/docs/connect/subscriptions#on-behalf-of) for details.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_accounts" | |
| }, | |
| { | |
| "name": "trial_end", | |
| "comment": "If the subscription has a trial, the end of that trial.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transfer_data_amount_percent", | |
| "comment": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_settings_payment_method_options_card_mandate_options_amount_type", | |
| "comment": "One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "pending_invoice_item_interval", | |
| "comment": "Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "next_pending_invoice_item_invoice", | |
| "comment": "Specifies the approximate timestamp on which any pending invoice items will be billed according to the schedule provided at `pending_invoice_item_interval`.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_mode_updated_at", | |
| "comment": "Details on when the current billing_mode was adopted.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "latest_invoice_id", | |
| "comment": "The most recent invoice this subscription has generated.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_invoices" | |
| }, | |
| { | |
| "name": "discount_end", | |
| "comment": "If the coupon has a duration of `repeating`, the date that this discount will end. If the coupon has a duration of `once` or `forever`, this attribute will be null.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_settings_payment_method_options_us_bank_account_verification_method", | |
| "comment": "Bank account verification method.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing", | |
| "comment": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "start", | |
| "comment": "This keeps track of how long the current plan configuration is active. May be different from start_date. The value of start is updated anytime that trial_end is updated (either to now or a different value that was previously set) even if no trial is being ended.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_settings_payment_method_options_card_request_three_d_secure", | |
| "comment": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on [manually requesting 3D Secure](/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "current_period_end", | |
| "comment": "End of the current period that the subscription has been invoiced for. At the end of this period, a new invoice will be created. This field is deprecated starting on the `2025-03-31.basil` version, please use `current_period_end` on the items[] field instead", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_settings_payment_method_options_acss_debit_verification_method", | |
| "comment": "Bank account verification method.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_promotion_code_id", | |
| "comment": "The promotion code applied to create this discount.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_thresholds_reset_billing_cycle_anchor", | |
| "comment": "Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_customer_id", | |
| "comment": "The ID of the customer associated with this discount.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "payment_settings_payment_method_options_acss_debit_mandate_options_transaction_type", | |
| "comment": "Transaction type of the mandate.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "canceled_at", | |
| "comment": "If the subscription has been canceled, the date of that cancellation. If the subscription was canceled with `cancel_at_period_end`, `canceled_at` will reflect the time of the most recent update request, not the end of the subscription period when the subscription is automatically moved to a canceled state.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cancellation_details_reason", | |
| "comment": "Why this subscription was canceled.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cancellation_details_feedback", | |
| "comment": "The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "application_id", | |
| "comment": "ID of the Connect Application that created the subscription.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_cycle_anchor", | |
| "comment": "The reference point that aligns future [billing cycle](/docs/subscriptions/billing-cycle) dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals. The timestamp is in UTC format.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "days_until_due", | |
| "comment": "Number of days a customer has to pay invoices generated by this subscription. This value will be `null` for subscriptions where `collection_method=charge_automatically`.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount_checkout_session", | |
| "comment": "The Checkout session that this coupon is applied to, if it is applied to a particular session in payment mode. Will not be present for subscription mode.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_subscriptions_metadata", | |
| "comment": "Additional metadata fields associated with subscriptions.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "subscription_id", | |
| "comment": "The ID of the subscription that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "subscriptions" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_tax_form_filing_statuses", | |
| "comment": "A list of tax filing statuses. Note that a filing status will only be included if the form has been filed directly with the jurisdiction’s tax authority.", | |
| "columns": [ | |
| { | |
| "name": "tax_form_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "jurisdiction_level", | |
| "comment": "Indicates the level of the jurisdiction where the form was filed.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "jurisdiction_state", | |
| "comment": "[ISO 3166-2 U.S. state code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix, if any. For example, \"NY\" for New York, United States. Null for non-U.S. forms.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "effective_at", | |
| "comment": "Time when the filing status was updated.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "The current status of the filed form.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "jurisdiction_country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-tax-reporting" | |
| }, | |
| { | |
| "name": "connected_account_tax_forms", | |
| "comment": "Tax forms are legal documents which are delivered to one or more tax authorities for information reporting purposes.", | |
| "columns": [ | |
| { | |
| "name": "us_1099_misc_state_tax_withheld", | |
| "comment": "1099-MISC state income tax withheld", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_k_april_volume", | |
| "comment": "April 1099-K transaction volume", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_k_february_volume", | |
| "comment": "February 1099-K transaction volume", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_misc_crop_insurance_proceeds", | |
| "comment": "1099-MISC crop insurance proceeds", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_misc_excess_golden_parachute_payments", | |
| "comment": "1099-MISC excess golden parachute payments", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_misc_payments_in_lieu_of_dividends_or_interest", | |
| "comment": "1099-MISC payments in lieu of dividends or interest", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_misc_royalties", | |
| "comment": "1099-MISC royalties", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_k_september_volume", | |
| "comment": "September 1099-K transaction volume", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_k_november_volume", | |
| "comment": "November 1099-K transaction volume", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_misc_non_qualified_deferred_compensation", | |
| "comment": "1099-MISC non-qualified deferred compensation", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_misc_payments_to_attorney", | |
| "comment": "1099-MISC payments to attorney", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_misc_federal_income_tax_withheld", | |
| "comment": "1099-MISC federal income tax withheld", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_k_card_not_present_volume", | |
| "comment": "1099-K card not present transaction volume", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_misc_medical_and_health_care_payments", | |
| "comment": "1099-MISC medical \u0026 health care payments", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_k_federal_income_tax_withheld", | |
| "comment": "1099-K federal income tax withheld", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_nec_reporting_year", | |
| "comment": "Year represented by the information reported on the tax form.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_misc_state_income", | |
| "comment": "1099-MISC state income", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_k_july_volume", | |
| "comment": "July 1099-K transaction volume", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_misc_reporting_year", | |
| "comment": "Year represented by the information reported on the tax form.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_k_reporting_year", | |
| "comment": "Year represented by the information reported on the tax form.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_nec_state_income_tax_withheld", | |
| "comment": "1099-NEC state income tax withheld", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_misc_fishing_boat_proceeds", | |
| "comment": "1099-MISC fishing boat proceeds", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_k_january_volume", | |
| "comment": "January 1099-K transaction volume", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_k_state_income_tax_withheld", | |
| "comment": "1099-K state income tax withheld", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_k_may_volume", | |
| "comment": "May 1099-K transaction volume", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_nec_state_income", | |
| "comment": "1099-NEC state income", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_k_august_volume", | |
| "comment": "August 1099-K transaction volume", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_nec_nonemployee_compensation", | |
| "comment": "1099-NEC nonemployee compensation", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "us_1099_k_october_volume", | |
| "comment": "October 1099-K transaction volume", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_misc_rents", | |
| "comment": "1099-MISC rents", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_k_transactions_count", | |
| "comment": "1099-K number of transactions", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payee_type", | |
| "comment": "The payee type. Always `account`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_k_june_volume", | |
| "comment": "May 1099-K transaction volume", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_k_december_volume", | |
| "comment": "December 1099-K transaction volume", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "The type of the tax form.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_misc_other_income", | |
| "comment": "1099-MISC federal income tax withheld", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "livemode", | |
| "comment": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payee_account_id", | |
| "comment": "The payee's Stripe account ID.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_misc_section_409a_deferrals", | |
| "comment": "1099-MISC Section 409A deferrals", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_k_march_volume", | |
| "comment": "March 1099-K transaction volume", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_nec_federal_income_tax_withheld", | |
| "comment": "1099-NEC federal income tax withheld", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_1099_misc_fish_purchased_for_resale", | |
| "comment": "1099-MISC fish purchased for resale", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-tax-reporting" | |
| }, | |
| { | |
| "name": "connected_account_tax_rates", | |
| "comment": "Tax rates applied to invoices and subscriptions", | |
| "columns": [ | |
| { | |
| "name": "jurisdiction", | |
| "comment": "The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "percentage", | |
| "comment": "Tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage includes the statutory tax rate of non-taxable jurisdictions.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "state", | |
| "comment": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, \"NY\" for New York, United States.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "inclusive", | |
| "comment": "This specifies if the tax rate is inclusive or exclusive.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "display_name", | |
| "comment": "The display name of the tax rates as it will appear to your customer on their receipt email, PDF, and the hosted invoice page.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "jurisdiction_level", | |
| "comment": "The level of the jurisdiction that imposes this tax rate. Will be `null` for manually defined tax rates.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "effective_percentage", | |
| "comment": "Actual/effective tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true,\nthis percentage reflects the rate actually used to calculate tax based on the product's taxability\nand whether the user is registered to collect taxes in the corresponding jurisdiction.\n", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tax_type", | |
| "comment": "The high-level tax type, such as `vat` or `sales_tax`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "active", | |
| "comment": "Defaults to `true`. When set to `false`, this tax rate cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set.", | |
| "type": "boolean", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_tax_rates_metadata", | |
| "comment": "Additional metadata fields associated with tax rates.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "tax_rate_id", | |
| "comment": "The ID of the tax_rate that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "tax_rates" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_terminal_hardware_order_items", | |
| "comment": "A TerminalHardwareOrder item represents an item in a order for Terminal hardware, containing information such as the price of the item ordered.", | |
| "columns": [ | |
| { | |
| "name": "quantity", | |
| "comment": "The quantity to be ordered.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "terminal_hardware_order_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "terminal_hardware_sku_amount", | |
| "comment": "The price of this SKU.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "A positive integer that represents the cost of the order in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "terminal_hardware_sku_product_type", | |
| "comment": "The type of product.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "terminal_hardware_sku_country", | |
| "comment": "The country in which this SKU is available.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "terminal_hardware_sku_product_id", | |
| "comment": "ID of the product for this SKU.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "terminal_hardware_sku_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "terminal_hardware_sku_currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-terminal" | |
| }, | |
| { | |
| "name": "connected_account_terminal_hardware_order_metadata", | |
| "comment": "A TerminalHardwareOrder metadata represents the user-added metadata for a order for Terminal hardware.", | |
| "columns": [ | |
| { | |
| "name": "terminal_hardware_order_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-terminal" | |
| }, | |
| { | |
| "name": "connected_account_terminal_hardware_order_shipment_tracking", | |
| "comment": "A TerminalHardwareOrder shipment tracking represents a shipment for a order for Terminal hardware, containing information such as the carrier and tracking number.", | |
| "columns": [ | |
| { | |
| "name": "carrier", | |
| "comment": "The name of the carrier delivering the order.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "terminal_hardware_order_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tracking_number", | |
| "comment": "The number used to identify the shipment with the carrier responsible for delivery.", | |
| "type": "varchar", | |
| "primary_key": true | |
| } | |
| ], | |
| "section": "connect-terminal" | |
| }, | |
| { | |
| "name": "connected_account_terminal_hardware_order_tax_amounts", | |
| "comment": "A TerminalHardwareOrder tax amount represents a tax breakdown for a single type of tax for a order for Terminal hardware, containing information such as the amount and rate.", | |
| "columns": [ | |
| { | |
| "name": "rate_display_name", | |
| "comment": "The display name of the tax rate.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "rate_jurisdiction", | |
| "comment": "Tax jurisdiction.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "inclusive", | |
| "comment": "Whether the tax rate is inclusive or exclusive", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "terminal_hardware_order_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "A positive integer that represents the cost of tax in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "rate_percentage", | |
| "comment": "The percentage associated with the tax rate.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-terminal" | |
| }, | |
| { | |
| "name": "connected_account_terminal_hardware_orders", | |
| "comment": "A TerminalHardwareOrder represents an order for Terminal hardware, containing information such as the price, shipping information and the items ordered.", | |
| "columns": [ | |
| { | |
| "name": "shipping_address_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tax", | |
| "comment": "The amount of tax on this order, summed from all the tax amounts.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_state", | |
| "comment": "State, county, province, or region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_company", | |
| "comment": "Company name.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_line1", | |
| "comment": "Address line 1 (e.g., street, or company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Represents the total cost for the order.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_amount", | |
| "comment": "A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Represents the cost for shippingthe order.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "po_number", | |
| "comment": "The purchase order number will appear on the packing slip, shipping label, and monthly billing invoice.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "payment_type", | |
| "comment": "One of `monthly_invoice`, `payment_intent`, or `none`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "updated", | |
| "comment": "Time at which the object was last updated. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_name", | |
| "comment": "Customer name.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_method_name", | |
| "comment": "The name of the Terminal Hardware Shipping Method.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "The status of the terminal hardware order.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_city", | |
| "comment": "City, district, suburb, town, or village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_phone", | |
| "comment": "Customer phone (including extension).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_email", | |
| "comment": "Customer email. This email will receive Stripe-branded update emails when the status of the order changes.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "livemode", | |
| "comment": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "shipping_address_country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-terminal" | |
| }, | |
| { | |
| "name": "connected_account_coupons_currency_options", | |
| "comment": "Additional currency_option entries for coupons", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "coupon_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_off", | |
| "comment": "Amount that will be taken off the subtotal of any invoices for this customer.", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_credit_note_discount_amounts", | |
| "comment": "The amount of discount calculated per discount for this line item", | |
| "columns": [ | |
| { | |
| "name": "credit_note_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "The amount of the discount", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount", | |
| "comment": "The discount that was applied to get this discount amount.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_credit_note_line_item_discount_amounts", | |
| "comment": "The amount of discount calculated per discount for this line item", | |
| "columns": [ | |
| { | |
| "name": "credit_note_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "The amount of the discount", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "credit_note_line_item_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount", | |
| "comment": "The discount that was applied to get this discount amount.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_customer_balance_transactions", | |
| "comment": "The customer balance transaction object\nrepresents adjustments to the customer balance.\n", | |
| "columns": [ | |
| { | |
| "name": "ending_balance", | |
| "comment": "The ending balance after this transaction in minor units. Negative values are a credit to the customer.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "credit_note_id", | |
| "comment": "The credit note, if any.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_credit_notes" | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "The customer id.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An optional description of the transaction", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "previous", | |
| "comment": "The transaction prior to this one, if not the first transaction for this customer balance.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "The amount of this transaction in minor units. Negative values are a credit to the customer.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account_id", | |
| "comment": "The id of the corresponding customer balance account", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "source_id", | |
| "comment": "When a receiver source has a mispayment and is swept to the merchant balance, a \"credit\" is applied to the customer. The sweep may result in either a SourcePayment or MerchantBalanceAdjustment, and is linked to the customer balance transaction.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "The type of transaction.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "merchant_balance_adjustment_id", | |
| "comment": "When a receiver source has a mispayment and is swept to the merchant balance, a \"credit\" is applied to the customer. The sweep may result in either a SourcePayment or MerchantBalanceAdjustment, and is linked to the customer balance transaction.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "The invoice, if any.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_invoices" | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-customers" | |
| }, | |
| { | |
| "name": "connected_account_customer_balance_transactions_metadata", | |
| "comment": "Additional metadata entries for customer balance transactions", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "customer_balance_transaction_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-customers" | |
| }, | |
| { | |
| "name": "connected_account_customer_cash_balance_transactions", | |
| "comment": "The cash balance transaction object\n represents funds flowing into / out of the customer balance.", | |
| "columns": [ | |
| { | |
| "name": "refund_from", | |
| "comment": "The payment refund back to the customer balance, if this transaction has type=refunded_from_payment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ending_balance", | |
| "comment": "The ending balance after this transaction in major units. Negative values are a credit to the customer.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ending_balance_currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "linked_model_id", | |
| "comment": "The cash balance transaction that brought the customer balance negative, triggering this transaction of type=adjusted_for_overdraft", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "funded_reference", | |
| "comment": "The user-supplied reference field on the bank transfer, if this transaction has type=funded", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "The amount of this transaction in major units. Negative values are a credit to the customer.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "unapplied_from_payment_intent", | |
| "comment": "The payment intent that funds were unapplied from, if this transaction has type=unapplied_from_payment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer", | |
| "comment": "The customer id.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "The type of transaction.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "livemode", | |
| "comment": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "applied_to_payment_intent", | |
| "comment": "The payment intent that funds were applied to, if this transaction has type=applied_to_payment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-customers" | |
| }, | |
| { | |
| "name": "connected_account_discounts", | |
| "comment": "A discount represents the actual application of a coupon or promotion code.\nIt contains information about when the discount began, when it will end, and what it is applied to.\n", | |
| "columns": [ | |
| { | |
| "name": "customer_id", | |
| "comment": "The ID of the customer associated with this discount.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "promotion_code_id", | |
| "comment": "The promotion code applied to create this discount.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_promotion_codes" | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "invoice_item_id", | |
| "comment": "The invoice item `id` (or invoice line item `id` for invoice line items of type='subscription') that the discount's coupon was applied to, if it was applied directly to a particular invoice item or invoice line item.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_invoice_items" | |
| }, | |
| { | |
| "name": "end", | |
| "comment": "If the coupon has a duration of `repeating`, the date that this discount will end. If the coupon has a duration of `once` or `forever`, this attribute will be null.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subscription_id", | |
| "comment": "The subscription that this coupon is applied to, if it is applied to a particular subscription.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_subscriptions" | |
| }, | |
| { | |
| "name": "coupon_id", | |
| "comment": "The ID of the coupon applied to create this discount.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_coupons" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subscription_item_id", | |
| "comment": "The subscription item that this coupon is applied to, if it is applied to a particular subscription item.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_subscription_items" | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "The invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_invoices" | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "checkout_session_id", | |
| "comment": "The Checkout session that this coupon is applied to, if it is applied to a particular session in payment mode. Will not be present for subscription mode.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_checkout_sessions" | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_invoice_custom_fields", | |
| "comment": "Custom fields displayed on the invoice.\n", | |
| "columns": [ | |
| { | |
| "name": "name", | |
| "comment": "The name of the custom field.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "The value of the custom field.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_invoice_customer_tax_ids", | |
| "comment": "The customer’s tax IDs. Until the invoice is finalized,\nthis table will contain the same tax IDs as customer.tax_ids.\nOnce the invoice is finalized, the corresponding row will no longer be updated\n", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "The type of the tax ID", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "The value of the tax ID.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_invoice_line_item_discount_amounts", | |
| "comment": "The amount of discount calculated per discount for this line item", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "The amount of the discount", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "invoice_line_item_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "discount", | |
| "comment": "The discount that was applied to get this discount amount.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_invoice_line_item_tax_amounts", | |
| "comment": "The amount of tax calculated per tax rate for this line item", | |
| "columns": [ | |
| { | |
| "name": "tax_rate", | |
| "comment": "The unique id of the tax rate that was applied to get this tax amount.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "inclusive", | |
| "comment": "Whether this tax amount is inclusive or exclusive.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "The amount of the tax.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "filing_amount", | |
| "comment": "The tax amount in `tax_filing_currency`, if specified.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_line_item_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "taxable_amount", | |
| "comment": "The amount on which tax is calculated", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_invoice_shipping_cost_taxes", | |
| "comment": "The taxes applied to the shipping rate.\n", | |
| "columns": [ | |
| { | |
| "name": "tax_rate", | |
| "comment": "The unique id of the tax rate that was applied to get this tax amount.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "inclusive", | |
| "comment": "Whether this tax amount is inclusive or exclusive.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "The amount of the tax.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "filing_amount", | |
| "comment": "The tax amount in `tax_filing_currency`, if specified.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "taxable_amount", | |
| "comment": "The amount on which tax is calculated", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_issuing_disputes_metadata", | |
| "comment": "Additional/misc information about the dispute.", | |
| "columns": [ | |
| { | |
| "name": "dispute_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-issuing" | |
| }, | |
| { | |
| "name": "connected_account_payment_intents", | |
| "comment": "History of payment attempts.\n", | |
| "columns": [ | |
| { | |
| "name": "review_id", | |
| "comment": "ID of the review associated with this PaymentIntent, if any.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_reviews" | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "ID of the Customer this PaymentIntent belongs to, if one exists.\n\nPayment methods attached to other Customers cannot be used with this PaymentIntent.\n\nIf [setup_future_usage](#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.\n", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "payment_method_types", | |
| "comment": "The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_capturable", | |
| "comment": "Amount that can be captured from this PaymentIntent.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the object. Often useful for displaying to users.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "last_payment_error_charge", | |
| "comment": "For card errors, the ID of the failed charge.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_details_tip_amount", | |
| "comment": "Portion of the amount that corresponds to a tip.\n", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_method_id", | |
| "comment": "ID of the payment method used in this PaymentIntent.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_methods" | |
| }, | |
| { | |
| "name": "amount_details_shipping_from_postal_code", | |
| "comment": "The postal code that represents the shipping source.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_details_order_reference", | |
| "comment": "A unique value assigned by the business to identify the transaction.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_request_three_d_secure", | |
| "comment": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "receipt_email", | |
| "comment": "Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_details_customer_reference", | |
| "comment": "Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "last_payment_error_source", | |
| "comment": "The [source object](/docs/api/sources/object) for errors returned on a request involving a source.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capture_method", | |
| "comment": "Controls when the funds will be captured from the customer's account.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "application_fee_amount", | |
| "comment": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](/docs/payments/connected-accounts).\n", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_details_shipping_amount", | |
| "comment": "Portion of the amount that is for shipping.\n", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_details_discount_amount", | |
| "comment": "The amount an item was discounted for.\n", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "cancellation_reason", | |
| "comment": "Reason for cancellation of this PaymentIntent, either user-provided (`duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`) or generated by Stripe internally (`failed_invoice`, `void_invoice`, `automatic`, or `expired`).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "statement_descriptor", | |
| "comment": "Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nSetting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "confirmation_method", | |
| "comment": "Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Status of this PaymentIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `requires_capture`, `canceled`, or `succeeded`. Read more about each PaymentIntent [status](/docs/payments/intents#intent-statuses).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "on_behalf_of_id", | |
| "comment": "The account (if any) for which the funds of the PaymentIntent are intended. See the PaymentIntents [use case for connected accounts](/docs/payments/connected-accounts) for details.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "last_payment_error_type", | |
| "comment": "The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_details_shipping_to_postal_code", | |
| "comment": "The postal code that represents the shipping destination.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "canceled_at", | |
| "comment": "Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "ID of the invoice that created this PaymentIntent, if it exists.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_invoices" | |
| }, | |
| { | |
| "name": "application_id", | |
| "comment": "ID of the Connect application that created the PaymentIntent.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "statement_descriptor_suffix", | |
| "comment": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_details_tax_total_tax_amount", | |
| "comment": "Total portion of the amount that is for tax.\n", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "setup_future_usage", | |
| "comment": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_payment_intents_metadata", | |
| "comment": "Additional metadata entries for payment_intents", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_intent_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_payment_method_details", | |
| "comment": "Information of payment method used at the time of charge.", | |
| "columns": [ | |
| { | |
| "name": "p24_bank", | |
| "comment": "The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sofort_country", | |
| "comment": "Two-letter ISO code representing the country the bank account is located in.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "acss_debit_institution_number", | |
| "comment": "Institution number of the bank account", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_read_method", | |
| "comment": "How card details were read in this transaction.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "alipay_transaction_id", | |
| "comment": "Transaction ID of this particular Alipay transaction.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "acss_debit_last4", | |
| "comment": "Last four digits of the bank account number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_network", | |
| "comment": "Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "giropay_bic", | |
| "comment": "Bank Identifier Code of the bank associated with the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "konbini_store_chain", | |
| "comment": "The name of the convenience store chain where the payment was completed.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ideal_bank", | |
| "comment": "The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "nz_bank_account_bank_name", | |
| "comment": "The name of the bank.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ach_debit_country", | |
| "comment": "Two-letter ISO code representing the country the bank account is located in.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "swish_payment_reference", | |
| "comment": "Payer bank reference number for the payment", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_exp_month", | |
| "comment": "Two-digit number representing the card's expiration month.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "multibanco_entity", | |
| "comment": "Entity number associated with this Multibanco payment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sofort_bank_name", | |
| "comment": "Name of the bank associated with the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "boleto_number", | |
| "comment": "Boleto Number", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_authorization_code", | |
| "comment": "Authorization code on the charge.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "fpx_account_holder_type", | |
| "comment": "Account holder type, if provided. Can be one of `individual` or `company`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ideal_iban_last4", | |
| "comment": "Last four characters of the IBAN.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_balance_funding_type", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_address_line1_check", | |
| "comment": "If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "bacs_debit_last4", | |
| "comment": "Last four digits of the bank account number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "alipay_fingerprint", | |
| "comment": "Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "eps_verified_name", | |
| "comment": "Owner's verified full name. Values are verified or provided by EPS directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.\nEPS rarely provides this information so the attribute is usually empty.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_wallet_apple_pay_type", | |
| "comment": "Apple Pay type. Can be `apple_pay`, `apple_pay_later` or `unknown`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ideal_generated_sepa_debit_id", | |
| "comment": "The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sofort_verified_name", | |
| "comment": "Owner's verified full name. Values are verified or provided by SOFORT directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_fingerprint", | |
| "comment": "Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_brand", | |
| "comment": "Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "au_becs_debit_fingerprint", | |
| "comment": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_brand_product", | |
| "comment": "The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "acss_debit_transit_number", | |
| "comment": "Transit number of the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "swish_fingerprint", | |
| "comment": "Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_bank_account_fingerprint", | |
| "comment": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_bank_account_bank_name", | |
| "comment": "The name of the bank.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ideal_bic", | |
| "comment": "The Bank Identifier Code of the customer's bank, if the bank was provided.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_generated_card", | |
| "comment": "ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "promptpay_transaction_id", | |
| "comment": "Bill reference generated by PromptPay", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sofort_preferred_language", | |
| "comment": "Preferred language of the SOFORT authorization page that the customer is redirected to.\nCan be one of `de`, `en`, `es`, `fr`, `it`, `nl`, or `pl`\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "fpx_bank", | |
| "comment": "The customer's bank. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ideal_verified_name", | |
| "comment": "Owner's verified full name. Values are verified or provided by iDEAL directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_regulated_status", | |
| "comment": "Status of a card based on the card issuer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "klarna_payment_method_category", | |
| "comment": "The Klarna payment method used for this transaction.\nCan be one of `pay_later`, `pay_now`, `pay_with_financing`, or `pay_in_installments`\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "acss_debit_fingerprint", | |
| "comment": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_iin", | |
| "comment": "Issuer identification number of the card.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "p24_reference", | |
| "comment": "Unique reference for this Przelewy24 payment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_bank_account_account_holder_type", | |
| "comment": "Account holder type: individual or company.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "bacs_debit_fingerprint", | |
| "comment": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "au_becs_debit_bsb_number", | |
| "comment": "Bank-State-Branch number of the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sepa_debit_last4", | |
| "comment": "Last four characters of the IBAN.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "au_becs_debit_mandate_id", | |
| "comment": "ID of the mandate used to make this payment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sepa_debit_bank_code", | |
| "comment": "Bank code of bank associated with the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_bank_account_payment_reference", | |
| "comment": "Reference number to locate ACH payments with customer's bank.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "klarna_payer_details_address_country", | |
| "comment": "The customer's country\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_bank_account_account_type", | |
| "comment": "Account type: checkings or savings. Defaults to checking if omitted.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_bank_account_last4", | |
| "comment": "Last four digits of the bank account number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ach_debit_fingerprint", | |
| "comment": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "paynow_transaction_id", | |
| "comment": "Reference number associated with this PayNow payment", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_mandate", | |
| "comment": "ID of the mandate used to make this payment or created by it.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_balance_bank_transfer_type", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_3ds_succeeded", | |
| "comment": "Whether or not 3D Secure succeeded.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "giropay_verified_name", | |
| "comment": "Owner's verified full name. Values are verified or provided by Giropay directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.\nGiropay rarely provides this information so the attribute is usually empty.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ach_debit_routing_number", | |
| "comment": "Routing transit number of the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sepa_debit_mandate_id", | |
| "comment": "Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](/docs/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](/docs/api/mandates/retrieve).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "nz_bank_account_last4", | |
| "comment": "Last four digits of the bank account number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "au_becs_debit_last4", | |
| "comment": "Last four digits of the bank account number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sofort_bic", | |
| "comment": "Bank Identifier Code of the bank associated with the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_moto", | |
| "comment": "True if this payment was marked as MOTO and out of scope for SCA.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "nz_bank_account_suffix", | |
| "comment": "The suffix of the bank account number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "fpx_transaction_id", | |
| "comment": "Unique transaction id generated by FPX for every request from the merchant", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "bacs_debit_mandate_id", | |
| "comment": "ID of the mandate used to make this payment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_3ds_version", | |
| "comment": "The version of 3D Secure that was used", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "giropay_bank_name", | |
| "comment": "Name of the bank associated with the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_amount_authorized", | |
| "comment": "The authorized amount", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_last4", | |
| "comment": "The last four digits of the card.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cashapp_cashtag", | |
| "comment": "A public identifier for buyers using Cash App.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "bacs_debit_sort_code", | |
| "comment": "Sort code of the bank account. (e.g., `10-20-30`)", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "nz_bank_account_account_holder_name", | |
| "comment": "The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_bank_account_mandate_id", | |
| "comment": "ID of the mandate used to make this payment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_bank_account_routing_number", | |
| "comment": "Routing number of the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "swish_verified_phone_last4", | |
| "comment": "The last four digits of the Swish account phone number", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "oxxo_number", | |
| "comment": "OXXO reference number", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_cvc_check", | |
| "comment": "If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "terminal_location_id", | |
| "comment": "ID of the [location](/docs/api/terminal/locations) that this transaction's reader is assigned to.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "klarna_preferred_locale", | |
| "comment": "Preferred language of the Klarna authorization page that the customer is redirected to.\nCan be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, `en-FR`, `cs-CZ`, `en-CZ`, `ro-RO`, `en-RO`, `el-GR`, `en-GR`, `en-AU`, `en-NZ`, `en-CA`, `fr-CA`, `pl-PL`, `en-PL`, `pt-PT`, `en-PT`, `de-CH`, `fr-CH`, `it-CH`, or `en-CH`\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sepa_debit_country", | |
| "comment": "Two-letter ISO code representing the country the bank account is located in.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_network_transaction_id", | |
| "comment": "This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cashapp_buyer_id", | |
| "comment": "A unique and immutable identifier assigned by Cash App to every buyer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sepa_debit_branch_code", | |
| "comment": "Branch code of bank associated with the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_wallet_type", | |
| "comment": "The type of the card wallet", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_installments_plan_type", | |
| "comment": "Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_address_postal_code_check", | |
| "comment": "If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "boleto_expires_at", | |
| "comment": "Boleto Expiration Timestamp (UTC)", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "acss_debit_mandate_id", | |
| "comment": "ID of the mandate used to make this payment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "terminal_reader_id", | |
| "comment": "ID of the [reader](/docs/api/terminal/readers) this transaction was made on.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "nz_bank_account_bank_code", | |
| "comment": "The numeric code for the bank account's bank.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_installments_plan_interval", | |
| "comment": "For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.\nOne of `month`.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_3ds_authenticated", | |
| "comment": "Whether or not authentication was performed. 3D Secure will succeed without authentication when the card is not enrolled.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_installments_plan_count", | |
| "comment": "For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sepa_debit_fingerprint", | |
| "comment": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "nz_bank_account_branch_code", | |
| "comment": "The numeric code for the bank account's bank branch.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "eps_bank", | |
| "comment": "The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_country", | |
| "comment": "Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "link_country", | |
| "comment": "Link country", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "p24_verified_name", | |
| "comment": "Owner's verified full name. Values are verified or provided by Przelewy24 directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.\nPrzelewy24 rarely provides this information so the attribute is usually empty.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ach_debit_bank_name", | |
| "comment": "Name of the bank associated with the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ideal_generated_sepa_debit_mandate_id", | |
| "comment": "The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "multibanco_reference", | |
| "comment": "Reference number associated with this Multibanco payment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "giropay_bank_code", | |
| "comment": "Bank code of bank associated with the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sofort_bank_code", | |
| "comment": "Bank code of bank associated with the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ach_debit_account_holder_type", | |
| "comment": "Type of entity that holds the account. This can be either `individual` or `company`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_funding", | |
| "comment": "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_exp_year", | |
| "comment": "Four-digit number representing the card's expiration year.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_network_token_used", | |
| "comment": "Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sofort_iban_last4", | |
| "comment": "Last four characters of the IBAN.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ach_debit_last4", | |
| "comment": "Last four digits of the bank account number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "charge_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": true | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_payment_methods", | |
| "comment": "PaymentMethod objects represent your customer's payment instruments.", | |
| "columns": [ | |
| { | |
| "name": "p24_bank", | |
| "comment": "The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "klarna_dob_year", | |
| "comment": "", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sofort_country", | |
| "comment": "Two-letter ISO code representing the country the bank account is located in.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "acss_debit_institution_number", | |
| "comment": "Institution number of the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sepa_debit_generated_from_setup_attempt_id", | |
| "comment": "The ID of the SetupAttempt that generated this PaymentMethod, if any.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "acss_debit_last4", | |
| "comment": "Last four digits of the bank account number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sepa_debit_generated_from_charge_id", | |
| "comment": "The ID of the Charge that generated this PaymentMethod, if any.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "paypal_payer_id", | |
| "comment": "PayPal account PayerID. This identifier uniquely identifies the PayPal customer.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ideal_bank", | |
| "comment": "The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_details_address_state", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "nz_bank_account_bank_name", | |
| "comment": "The name of the bank.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_exp_month", | |
| "comment": "Two-digit number representing the card's expiration month.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_bank_account_linked_account", | |
| "comment": "The ID of the Financial Connections Account used to create the payment method.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_details_email", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "fpx_account_holder_type", | |
| "comment": "Account holder type, if provided. Can be one of `individual` or `company`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_address_line1_check", | |
| "comment": "If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "bacs_debit_last4", | |
| "comment": "Last four digits of the bank account number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "paypal_payer_email", | |
| "comment": "Owner's email. Values are provided by PayPal directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_wallet_apple_pay_type", | |
| "comment": "Apple Pay type. Can be `apple_pay`, `apple_pay_later` or `unknown`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_fingerprint", | |
| "comment": "Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_brand", | |
| "comment": "Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "au_becs_debit_fingerprint", | |
| "comment": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_details_address_line1", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_brand_product", | |
| "comment": "The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "acss_debit_transit_number", | |
| "comment": "Transit number of the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_bank_account_fingerprint", | |
| "comment": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "ideal_bic", | |
| "comment": "The Bank Identifier Code of the customer's bank, if the bank was provided.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "fpx_bank", | |
| "comment": "The customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "klarna_dob_day", | |
| "comment": "", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_regulated_status", | |
| "comment": "Status of a card based on the card issuer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "acss_debit_fingerprint", | |
| "comment": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_iin", | |
| "comment": "Issuer identification number of the card.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_bank_account_account_holder_type", | |
| "comment": "Account holder type: individual or company.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "bacs_debit_fingerprint", | |
| "comment": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "au_becs_debit_bsb_number", | |
| "comment": "Six-digit number identifying bank and branch associated with this bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sepa_debit_last4", | |
| "comment": "Last four characters of the IBAN.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sepa_debit_bank_code", | |
| "comment": "Bank code of bank associated with the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_bank_account_account_type", | |
| "comment": "Account type: checkings or savings. Defaults to checking if omitted.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_bank_account_last4", | |
| "comment": "Last four digits of the bank account number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "link_email", | |
| "comment": "Account owner's email address.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_three_d_secure_supported", | |
| "comment": "Whether 3D Secure is supported on this card.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "klarna_dob_month", | |
| "comment": "", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "card_generated_from_charge_id", | |
| "comment": "The charge that created this object.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_details_address_country", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "nz_bank_account_last4", | |
| "comment": "Last four digits of the bank account number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_details_address_city", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "au_becs_debit_last4", | |
| "comment": "Last four digits of the bank account number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_details_phone", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "nz_bank_account_suffix", | |
| "comment": "The suffix of the bank account number.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_details_address_line2", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_last4", | |
| "comment": "The last four digits of the card.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "boleto_tax_id", | |
| "comment": "Uniquely identifies the customer tax id (CNPJ or CPF)", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cashapp_cashtag", | |
| "comment": "A public identifier for buyers using Cash App.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "bacs_debit_sort_code", | |
| "comment": "Sort code of the bank account. (e.g., `10-20-30`)", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "nz_bank_account_account_holder_name", | |
| "comment": "The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "us_bank_account_routing_number", | |
| "comment": "Routing number of the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_cvc_check", | |
| "comment": "If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sepa_debit_country", | |
| "comment": "Two-letter ISO code representing the country the bank account is located in.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_details_name", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cashapp_buyer_id", | |
| "comment": "A unique and immutable identifier assigned by Cash App to every buyer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_details_address_postal_code", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sepa_debit_branch_code", | |
| "comment": "Branch code of bank associated with the bank account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_wallet_type", | |
| "comment": "The type of the card wallet", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_address_postal_code_check", | |
| "comment": "If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "nz_bank_account_bank_code", | |
| "comment": "The numeric code for the bank account's bank.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "sepa_debit_fingerprint", | |
| "comment": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "nz_bank_account_branch_code", | |
| "comment": "The numeric code for the bank account's bank branch.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "eps_bank", | |
| "comment": "The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_country", | |
| "comment": "Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_funding", | |
| "comment": "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_exp_year", | |
| "comment": "Four-digit number representing the card's expiration year.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_payment_methods_metadata", | |
| "comment": "Additional metadata entries for payment_methods", | |
| "columns": [ | |
| { | |
| "name": "payment_method_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_plans", | |
| "comment": "A subscription plan contains the pricing information for different products and\nfeature levels on your site.\n", | |
| "columns": [ | |
| { | |
| "name": "tiers_mode", | |
| "comment": "Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price. In `graduated` tiering, pricing can change as the quantity grows.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transform_usage_divide_by", | |
| "comment": "Divide usage by this number.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transform_usage_round", | |
| "comment": "After division, either round the result `up` or `down`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "trial_period_days", | |
| "comment": "Default number of trial days when subscribing a customer to this price using trial_from_plan=true.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "The unit amount in cents to be charged, represented as a whole integer if possible. Only set if billing_scheme=per_unit.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "interval", | |
| "comment": "The frequency at which a subscription is billed. One of day, week, month or year.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "The ID of the price object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "unit_amount_decimal", | |
| "comment": "The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places. Only set if `billing_scheme=per_unit`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "usage_type", | |
| "comment": "Configures how the quantity per period should be determined. Can be either `metered` or `licensed`. `licensed` automatically bills the `quantity` set when adding it to a subscription. `metered` aggregates the total usage based on usage records. Defaults to `licensed`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "product_id", | |
| "comment": "The ID of the product this plan is associated with.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_products" | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_scheme", | |
| "comment": "Describes how to compute the price per period. Either `per_unit` or `tiered`. `per_unit` indicates that the fixed amount (specified in `unit_amount` or `unit_amount_decimal`) will be charged per unit in `quantity` (for prices with `usage_type=licensed`), or per unit of total usage (for prices with `usage_type=metered`). `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "interval_count", | |
| "comment": "The number of intervals (specified in the interval attribute) between subscription billings. For example, interval=month and interval_count=3 bills every 3 months.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "aggregate_usage", | |
| "comment": "Specifies a usage aggregation strategy for prices of `usage_type=metered`. Defaults to `sum`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "nickname", | |
| "comment": "A brief description of the price, hidden from customers.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_plans_metadata", | |
| "comment": "Additional metadata entries for plans", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "plan_id", | |
| "comment": "The ID of the price object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_price_tiers", | |
| "comment": "Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`.\n\"See also the documentation for `billing_scheme`.\n", | |
| "columns": [ | |
| { | |
| "name": "price_id", | |
| "comment": "The ID of the price object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "flat_amount_decimal", | |
| "comment": "Same as flat_amount, but contains a decimal value with at most 12 decimal places", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Per unit price for units relevant to the tier.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_decimal", | |
| "comment": "Same as amount, but contains a decimal value with at most 12 decimal places", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "upto", | |
| "comment": "Up to and including to this quantity will be contained in the tier.", | |
| "type": "bigint", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "flat_amount", | |
| "comment": "Price for the entire tier.", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_prices", | |
| "comment": "The price object defines the unit cost (or tiered cost) for both recurring and one-time prices.\nFor example, you might have a $5/month recurring price\nfor access to your product, and a $10 one-time price\nfor setup fees when provisioning your product.\n", | |
| "columns": [ | |
| { | |
| "name": "custom_unit_amount_minimum", | |
| "comment": "The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tiers_mode", | |
| "comment": "Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price. In `graduated` tiering, pricing can change as the quantity grows.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "recurring_interval_count", | |
| "comment": "The number of intervals (specified in the interval attribute) between subscription billings. For example, interval=month and interval_count=3 bills every 3 months.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "recurring_interval", | |
| "comment": "The frequency at which a subscription is billed. One of day, week, month or year.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "lookup_key", | |
| "comment": "A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "recurring_trial_period_days", | |
| "comment": "Default number of trial days when subscribing a customer to this price using trial_from_plan=true.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transform_quantity_round", | |
| "comment": "After division, either round the result `up` or `down`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "custom_unit_amount_default", | |
| "comment": "The starting unit amount which can be updated by the customer.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "recurring_usage_type", | |
| "comment": "Configures how the quantity per period should be determined. Can be either `metered` or `licensed`. `licensed` automatically bills the `quantity` set when adding it to a subscription. `metered` aggregates the total usage based on usage records. Defaults to `licensed`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transform_quantity_divide_by", | |
| "comment": "Divide usage by this number.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "The ID of the price object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "unit_amount_decimal", | |
| "comment": "The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places. Only set if `billing_scheme=per_unit`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "recurring_meter_id", | |
| "comment": "The meter tracking the usage of a metered price", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_billing_meters" | |
| }, | |
| { | |
| "name": "product_id", | |
| "comment": "The ID of the product this price is associated with.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_products" | |
| }, | |
| { | |
| "name": "tax_behavior", | |
| "comment": "Only required if a [default tax behavior](/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "custom_unit_amount_maximum", | |
| "comment": "The maximum unit amount the customer can specify for this item.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_scheme", | |
| "comment": "Describes how to compute the price per period. Either `per_unit` or `tiered`. `per_unit` indicates that the fixed amount (specified in `unit_amount` or `unit_amount_decimal`) will be charged per unit in `quantity` (for prices with `usage_type=licensed`), or per unit of total usage (for prices with `usage_type=metered`). `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "recurring_aggregate_usage", | |
| "comment": "Specifies a usage aggregation strategy for prices of `usage_type=metered`. Defaults to `sum`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "unit_amount", | |
| "comment": "The unit amount in cents to be charged, represented as a whole integer if possible. Only set if billing_scheme=per_unit.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "active", | |
| "comment": "Whether the price can be used for new purchases.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "nickname", | |
| "comment": "A brief description of the price, hidden from customers.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_prices_currency_options", | |
| "comment": "Additional currency_option entries for prices", | |
| "columns": [ | |
| { | |
| "name": "price_id", | |
| "comment": "The ID of the price object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "unit_amount_decimal", | |
| "comment": "The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places. Only set if `billing_scheme=per_unit`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "unit_amount", | |
| "comment": "The unit amount in cents to be charged, represented as a whole integer if possible. Only set if billing_scheme=per_unit.", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_prices_metadata", | |
| "comment": "Additional metadata entries for prices", | |
| "columns": [ | |
| { | |
| "name": "price_id", | |
| "comment": "The ID of the price object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_promotion_codes", | |
| "comment": "A Promotion Code represents a customer-redeemable code for a coupon. It can be used to create multiple codes for a single coupon.\n", | |
| "columns": [ | |
| { | |
| "name": "restrictions_minium_amount_currency", | |
| "comment": "Three-letter [ISO code](https://stripe.com/docs/currencies) for minimum_amount", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "The customer that this promotion code can be used by.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "restrictions_first_time_transaction", | |
| "comment": "A Boolean indicating if the Promotion Code should only be redeemed for Customers without any successful payments or invoices", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "times_redeemed", | |
| "comment": "Number of times this promotion code has been used.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "coupon_id", | |
| "comment": "The coupon for this promotion code.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_coupon" | |
| }, | |
| { | |
| "name": "code", | |
| "comment": "The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for each customer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "expires_at", | |
| "comment": "Date at which the promotion code can no longer be redeemed.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "restrictions_minium_amount", | |
| "comment": "Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "max_redemptions", | |
| "comment": "Maximum number of times this promotion code can be redeemed.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "active", | |
| "comment": "Whether the promotion code is currently active. A promotion code is only active if the coupon is also valid.", | |
| "type": "boolean", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_quote_metadata", | |
| "comment": "Additional metadata entries for quotes", | |
| "columns": [ | |
| { | |
| "name": "quote_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_quotes", | |
| "comment": "A Quote is a way to model prices that you’d like to provide to a customer. Once accepted, it will automatically create an invoice, subscription or subscription schedule..\n", | |
| "columns": [ | |
| { | |
| "name": "recurring_line_item_group", | |
| "comment": "The ID of the recurring line items associated with this quote", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "number", | |
| "comment": "A unique number that identifies this particular quote. This number is assigned once the quote is finalized.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transfer_data_amount", | |
| "comment": "The amount in cents that will be transferred to the destination account when the invoice is paid. By default, the entire amount is transferred to the destination.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "application_fee_percent", | |
| "comment": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. Only applicable if there are line items with recurring prices on the quote.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "collection_method", | |
| "comment": "Either charge_automatically, or send_invoice. When charging automatically, Stripe will attempt to pay invoices at the end of the subscription cycle or on finalization using the default payment method attached to the subscription or customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as active. Defaults to charge_automatically.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "The customer which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "A description that will be displayed on the quote PDF.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cloned_from", | |
| "comment": "The quote that was cloned.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "finalized_at", | |
| "comment": "The time that the quote was finalized", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "automatic_tax_enabled", | |
| "comment": "Automatically calculate taxes", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transfer_data_destination_id", | |
| "comment": "The account where funds from the payment will be transferred to upon payment success.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_accounts" | |
| }, | |
| { | |
| "name": "subscription_data_effective_date", | |
| "comment": "When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. This date is ignored if it is in the past when the quote is accepted.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "accepted_at", | |
| "comment": "The time that the quote was accepted", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "is_revision", | |
| "comment": "Whether this quote is a revision of a different quote.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subscription_data_description", | |
| "comment": "The subscription’s description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "application_fee_amount", | |
| "comment": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. Only applicable if there are no line items with recurring prices on the quote.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "expires_at", | |
| "comment": "The date on which the quote will be canceled if in open or draft status.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "line_item_group", | |
| "comment": "The ID of the line items associated with this quote", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "The status of the quote.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "on_behalf_of_id", | |
| "comment": "The account on behalf of which to charge. See the Connect documentation for details.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_connected_accounts" | |
| }, | |
| { | |
| "name": "amount_total", | |
| "comment": "Total after discounts and taxes are applied.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_tax_rates", | |
| "comment": "The tax rates applied to this quote.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "upcoming_line_item_group", | |
| "comment": "The ID of the upcoming line items", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter ISO currency code, in lowercase. Must be a supported currency.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "header", | |
| "comment": "A header that will be displayed on the quote PDF.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_settings_days_until_due", | |
| "comment": "Number of days within which a customer must pay invoices generated by this quote.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transfer_data_destination_amount_percent", | |
| "comment": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount will be transferred to the destination.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subscription_id", | |
| "comment": "The subscription that was created or updated from this quote.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_subscriptions" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "automatic_tax_status", | |
| "comment": "The status of the most recent automated tax calculation for this quote.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "canceled_at", | |
| "comment": "The time that the quote was canceled", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "footer", | |
| "comment": "A footer that will be displayed on the quote PDF.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subscription_data_trial_period_days", | |
| "comment": "Integer representing the number of trial period days before the customer is charged for the first time.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_id", | |
| "comment": "The invoice that was created from this quote.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_invoices" | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount_subtotal", | |
| "comment": "Total before any discounts or taxes are applied.", | |
| "type": "bigint", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_setup_attempts", | |
| "comment": "History of setup attempts.\n", | |
| "columns": [ | |
| { | |
| "name": "setup_intent_id", | |
| "comment": "ID of the SetupIntent that this attempt belongs to.\n", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_setup_intents" | |
| }, | |
| { | |
| "name": "setup_error_network_advice_code", | |
| "comment": "For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "setup_error_message", | |
| "comment": "A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "setup_error_param", | |
| "comment": "If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "The value of [customer](/docs/api/setup_intents/object#setup_intent_object-customer) on the SetupIntent at the time of this confirmation.\n", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "setup_error_doc_url", | |
| "comment": "A URL to more information about the [error code](/docs/error-codes) reported.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "usage", | |
| "comment": "The value of [usage](/docs/api/setup_intents/object#setup_intent_object-usage) on the SetupIntent at the time of this confirmation, one of `off_session` or `on_session`.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "setup_error_decline_code", | |
| "comment": "For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](/docs/declines#issuer-declines) if they provide one.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payment_method_id", | |
| "comment": "ID of the payment method used with this SetupAttempt.\n", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_methods" | |
| }, | |
| { | |
| "name": "setup_error_advice_code", | |
| "comment": "For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](/docs/declines#retrying-issuer-declines) if they provide one.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "setup_error_code", | |
| "comment": "For some errors that could be handled programmatically, a short string indicating the [error code](/docs/error-codes) reported.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "setup_error_payment_method_id", | |
| "comment": "The [PaymentMethod object](/docs/api/payment_methods/object) for errors returned on a request involving a PaymentMethod.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_methods" | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "setup_error_type", | |
| "comment": "The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Status of this SetupAttempt, one of `requires_confirmation`, `requires_action`, `processing`, `succeeded`, `failed`, or `abandoned`.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "on_behalf_of_id", | |
| "comment": "The value of [on_behalf_of](/docs/api/setup_intents/object#setup_intent_object-on_behalf_of) on the SetupIntent at the time of this confirmation.\n", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_connected_accounts" | |
| }, | |
| { | |
| "name": "setup_error_network_decline_code", | |
| "comment": "For card errors resulting from a card issuer decline, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "flow_directions", | |
| "comment": "Indicates the directions of money movement for which this payment method is intended to be used.\n\nInclude `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "application_id", | |
| "comment": "The value of [application](/docs/api/setup_intents/object#setup_intent_object-application) on the SetupIntent at the time of this confirmation.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_setup_intents", | |
| "comment": "History of setup intents.\n", | |
| "columns": [ | |
| { | |
| "name": "last_setup_error_message", | |
| "comment": "For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](/docs/declines#issuer-declines) if they provide one.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "ID of the Customer this SetupIntent belongs to, if one exists.\n\nIf present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.\n", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "payment_method_types", | |
| "comment": "The list of payment method types (e.g. card) that this SetupIntent is allowed to set up.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "last_setup_error_code", | |
| "comment": "For some errors that could be handled programmatically, a short string indicating the [error code](/docs/error-codes) reported.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the object. Often useful for displaying to users.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "usage", | |
| "comment": "Indicates how the payment method is intended to be used in the future. If not provided, this value defaults to `off_session`.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "last_setup_error_advice_code", | |
| "comment": "For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](/docs/declines#retrying-issuer-declines) if they provide one.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "last_setup_error_payment_method_id", | |
| "comment": "The [PaymentMethod object](/docs/api/payment_methods/object) for errors returned on a request involving a PaymentMethod.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_methods" | |
| }, | |
| { | |
| "name": "payment_method_id", | |
| "comment": "ID of the payment method used with this SetupIntent. If the payment method is `card_present` and isn't a digital wallet, then the [generated_card](https://docs.stripe.com/api/setup_attempts/object#setup_attempt_object-payment_method_details-card_present-generated_card) associated with the `latest_attempt` is attached to the Customer instead.\n", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_methods" | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "card_request_three_d_secure", | |
| "comment": "We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "last_setup_error_param", | |
| "comment": "If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "last_setup_error_doc_url", | |
| "comment": "A URL to more information about the [error code](/docs/error-codes) reported.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "last_setup_error_network_advice_code", | |
| "comment": "For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "last_setup_error_network_decline_code", | |
| "comment": "For card errors resulting from a card issuer decline, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "last_setup_error_type", | |
| "comment": "The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "cancellation_reason", | |
| "comment": "Reason for cancellation of this SetupIntent, one of `abandoned`, `requested_by_customer`, or `duplicate`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "[Status](/docs/payments/intents#intent-statuses) of this SetupIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `canceled`, or `succeeded`. ", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "on_behalf_of_id", | |
| "comment": "The account (if any) for which the setup is intended.\n", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_connected_accounts" | |
| }, | |
| { | |
| "name": "mandate_id", | |
| "comment": "ID of the multi use Mandate generated by the SetupIntent.\n", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_mandates" | |
| }, | |
| { | |
| "name": "single_use_mandate_id", | |
| "comment": "ID of the single_use Mandate generated by the SetupIntent.\n", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_mandates" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "latest_attempt_id", | |
| "comment": "The most recent SetupAttempt for this SetupIntent.\n", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_setup_attempts" | |
| }, | |
| { | |
| "name": "flow_directions", | |
| "comment": "Indicates the directions of money movement for which this payment method is intended to be used.\n\nInclude `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "application_id", | |
| "comment": "ID of the Connect application that created the SetupIntent.\n", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "last_setup_error_decline_code", | |
| "comment": "For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](/docs/declines#issuer-declines) if they provide one.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_setup_intents_metadata", | |
| "comment": "Additional metadata entries for setup_intents", | |
| "columns": [ | |
| { | |
| "name": "setup_intent_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-payments" | |
| }, | |
| { | |
| "name": "connected_account_subscription_items_metadata", | |
| "comment": "Additional metadata entries for subscription_items", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "subscription_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subscription_item_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_subscription_schedule_phase_add_invoice_items", | |
| "comment": "A list of prices and quantities that will generate invoice items appended to the next invoice for this phase.", | |
| "columns": [ | |
| { | |
| "name": "quantity", | |
| "comment": "Quantity of the plan to which the customer should be subscribed.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "phase_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "period_start_type", | |
| "comment": "Select how to calculate the start of the invoice item period.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "price", | |
| "comment": "The ID of the price object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "schedule_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "period_end_timestamp", | |
| "comment": "A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "period_start_timestamp", | |
| "comment": "A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "period_end_type", | |
| "comment": "Select how to calculate the end of the invoice item period.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_subscription_schedule_phase_configuration_items", | |
| "comment": "Subscription items to configure the subscription to during this phase of the subscription schedule.", | |
| "columns": [ | |
| { | |
| "name": "quantity", | |
| "comment": "Quantity of the plan to which the customer should be subscribed.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "phase_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "price", | |
| "comment": "The ID of the price object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_thresholds_usage_gte", | |
| "comment": "Usage threshold that triggers the subscription to create an invoice", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "schedule_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_subscription_schedule_phases", | |
| "comment": "Configuration for the subscription schedule's phases.", | |
| "columns": [ | |
| { | |
| "name": "application_fee_percent", | |
| "comment": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account during this phase of the schedule.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "start_date", | |
| "comment": "The start of this phase of the subscription schedule.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "collection_method", | |
| "comment": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_thresholds_amount_gte", | |
| "comment": "Monetary threshold that triggers the subscription to create an invoice.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "automatic_tax_enabled", | |
| "comment": "Default settings for automatic tax computation.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "schedule_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "on_behalf_of", | |
| "comment": "The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "end_date", | |
| "comment": "The end of this phase of the subscription schedule.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "trial_end", | |
| "comment": "When the trial ends within the phase.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transfer_data_amount_percent", | |
| "comment": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transfer_data_destination", | |
| "comment": "The account where funds from the payment will be transferred to upon payment success.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "invoice_settings_days_until_due", | |
| "comment": "The number of days from when the invoice is created until it is due.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "coupon_id", | |
| "comment": "ID of the coupon to use during this phase of the subscription schedule.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_coupons" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_payment_method", | |
| "comment": "ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_thresholds_reset_billing_cycle_anchor", | |
| "comment": "Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "proration_behavior", | |
| "comment": "If the subscription schedule will prorate when transitioning to this phase. Possible values are `create_prorations` and `none`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "billing_cycle_anchor", | |
| "comment": "Possible values are `phase_start` or `automatic`. If `phase_start` then billing cycle anchor of the subscription is set to the start of the phase when entering the phase. If `automatic` then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle [documentation](/docs/billing/subscriptions/billing-cycle).", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_subscription_schedule_phases_metadata", | |
| "comment": "Additional metadata entries for subscription_schedule_phases", | |
| "columns": [ | |
| { | |
| "name": "phase_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "schedule_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_subscription_schedules", | |
| "comment": "A subscription schedule allows you to create and manage the lifecycle of a subscription by predefining expected changes.\n", | |
| "columns": [ | |
| { | |
| "name": "default_settings_description", | |
| "comment": "Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_settings_invoice_settings_days_until_due", | |
| "comment": "The number of days from when the invoice is created until it is due.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_settings_transfer_data_destination", | |
| "comment": "The account where funds from the payment will be transferred to upon payment success.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_settings_automatic_tax_enabled", | |
| "comment": "Default settings for automatic tax computation.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_settings_collection_method", | |
| "comment": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_settings_default_payment_method", | |
| "comment": "ID of the default payment method for the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "completed_at", | |
| "comment": "Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "renewal_interval", | |
| "comment": "Interval at which to renew the subscription schedule for when it ends.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_settings_application_fee_percent", | |
| "comment": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account during this phase of the schedule.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subscription", | |
| "comment": "ID of the subscription managed by the subscription schedule.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "renewal_interval_length", | |
| "comment": "Number of intervals to renew the subscription schedule for when it ends.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_settings_billing_cycle_anchor", | |
| "comment": "Possible values are `phase_start` or `automatic`. If `phase_start` then billing cycle anchor of the subscription is set to the start of the phase when entering the phase. If `automatic` then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle [documentation](/docs/billing/subscriptions/billing-cycle).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "released_at", | |
| "comment": "Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_settings_on_behalf_of", | |
| "comment": "The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "end_behavior", | |
| "comment": "Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription. ", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer", | |
| "comment": "ID of the customer who owns the subscription schedule.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_settings_transfer_data_amount_percent", | |
| "comment": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.", | |
| "type": "double", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "canceled_at", | |
| "comment": "Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "application_id", | |
| "comment": "ID of the Connect Application that created the schedule.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "default_settings_default_source", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "released_subscription", | |
| "comment": "ID of the subscription once managed by the subscription schedule (if it is released).", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_subscription_schedules_metadata", | |
| "comment": "Additional metadata entries for subscription_schedules", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "schedule_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_account_transfer_reversals", | |
| "comment": "A previously created transfer can be reversed if it has not yet been paid out. Funds and fees will be refunded to your available balance.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "balance_transaction_id", | |
| "comment": "Balance transaction that describes the impact on your account balance.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_balance_transactions" | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount, in cents.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "source_refund_id", | |
| "comment": "ID of the refund responsible for the transfer reversal.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_refunds" | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "transfer_id", | |
| "comment": "ID of the transfer that was reversed.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_transfers" | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "destination_payment_refund_id", | |
| "comment": "Linked payment refund for the transfer reversal.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_refunds" | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-transfers" | |
| }, | |
| { | |
| "name": "connected_account_transfer_reversals_metadata", | |
| "comment": "Additional metadata fields associated with transfer reversals.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "transfer_reversal_id", | |
| "comment": "The ID of the transfer_reversal that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "transfer_reversals" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-transfers" | |
| }, | |
| { | |
| "name": "connected_account_transfers", | |
| "comment": "A transfer object is created when you receive funds from Stripe or you initiate a transfer to either a bank account or debit card of a connected Stripe account.", | |
| "columns": [ | |
| { | |
| "name": "automatic", | |
| "comment": "Returns `true` if the payout was created by an [automated payout schedule](/docs/payouts#payout-schedule), and `false` if it was [requested manually](https://stripe.com/docs/payouts#manual-payouts).", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "source_transaction_id", | |
| "comment": "ID of the charge (or other transaction) that was used to fund the transfer. If null, the transfer was funded from the available balance.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_charges" | |
| }, | |
| { | |
| "name": "trace_id_status", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "trace_id", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "failure_code", | |
| "comment": "Error code explaining reason for transfer failure if available. See [Types of transfer failures](/docs/api#transfer_failures) for a list of failure codes.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transfer_instruction", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "application_fee_id", | |
| "comment": "The application fee (if any). [See the Connect documentation](/docs/connect/direct-charges#collect-fees) for details.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_application_fees" | |
| }, | |
| { | |
| "name": "amount_reversed", | |
| "comment": "Amount in cents reversed (can be less than the amount attribute on the transfer if a partial reversal was issued).", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "source_type", | |
| "comment": "The source balance this transfer came from. One of `card`, `fpx`, or `bank_account`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "failure_message", | |
| "comment": "Message to user further explaining reason for transfer failure if available.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "balance_transaction_id", | |
| "comment": "Balance transaction that describes the impact of this transfer on your account balance.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_balance_transactions" | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount (in cents) to be transferred to your bank account.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "application_fee_amount", | |
| "comment": "The amount of the application fee (if any) requested for the payout.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "statement_descriptor", | |
| "comment": "Extra information about a transfer to be displayed on the user's bank statement.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "date", | |
| "comment": "Date the transfer is scheduled to arrive in the bank. This factors in delays like weekends or bank holidays.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "destination_id", | |
| "comment": "ID of the bank account, card, or Stripe account the transfer was sent to.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_accounts" | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transfer_group", | |
| "comment": "A string that identifies this transaction as part of a group. See the [Connect documentation](/docs/connect/separate-charges-and-transfers#transfer-options) for details.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "kind", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "Can be `card`, `bank_account`, or `stripe_account`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "reversed", | |
| "comment": "Whether the transfer has been fully reversed. If the transfer is only partially reversed, this attribute will still be false.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "destination_payment_id", | |
| "comment": "If the destination is a Stripe account, this will be the ID of the payment that the destination account received for the transfer.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_charges" | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-transfers" | |
| }, | |
| { | |
| "name": "connected_account_transfers_metadata", | |
| "comment": "Additional metadata fields associated with transfers.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "transfer_id", | |
| "comment": "The ID of the transfer that this metadata entry is associated with.", | |
| "type": "varchar", | |
| "primary_key": true, | |
| "foreign_key": "transfers" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "Account with which this metadata is associated", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-transfers" | |
| }, | |
| { | |
| "name": "connected_account_treasury_credit_reversals", | |
| "comment": "You can reverse some ReceivedCredits depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal.", | |
| "columns": [ | |
| { | |
| "name": "network", | |
| "comment": "The rails used to reverse the funds.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_posted_at", | |
| "comment": "Timestamp describing when the CreditReversal changed status to posted", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "received_credit_id", | |
| "comment": "The ReceivedCredit being reversed.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_received_credits" | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount (in cents) transferred", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_id", | |
| "comment": "The Transaction associated with this object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_transactions" | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Status of the CreditReversal", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "financial_account_id", | |
| "comment": "The FinancialAccount to reverse funds from.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_financial_accounts" | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-treasury" | |
| }, | |
| { | |
| "name": "connected_account_treasury_credit_reversals_metadata", | |
| "comment": "Additional metadata entries for CreditReversals", | |
| "columns": [ | |
| { | |
| "name": "credit_reversal_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-treasury" | |
| }, | |
| { | |
| "name": "connected_account_treasury_debit_reversals", | |
| "comment": "You can reverse some ReceivedDebits depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal.", | |
| "columns": [ | |
| { | |
| "name": "network", | |
| "comment": "The rails used to reverse the funds.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "received_debit_id", | |
| "comment": "The ReceivedDebit being reversed.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_received_debits" | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "linked_flows_issuing_dispute_id", | |
| "comment": "Set if the DebitReversal is associated with an Issuing Dispute.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_issuing_disputes" | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount (in cents) transferred", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_id", | |
| "comment": "The Transaction associated with this object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_transactions" | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Status of the DebitReversal", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "financial_account_id", | |
| "comment": "The FinancialAccount to reverse funds from.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_financial_accounts" | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_completed_at", | |
| "comment": "Timestamp describing when the DebitReversal changed status to completed.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-treasury" | |
| }, | |
| { | |
| "name": "connected_account_treasury_debit_reversals_metadata", | |
| "comment": "Additional metadata entries for DebitReversals", | |
| "columns": [ | |
| { | |
| "name": "debit_reversal_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-treasury" | |
| }, | |
| { | |
| "name": "connected_account_treasury_financial_accounts", | |
| "comment": "FinancialAccount data", | |
| "columns": [ | |
| { | |
| "name": "status_details_closed_reasons", | |
| "comment": "The array that contains reasons for a FinancialAccount closure.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "The enum specifying what state the account is in.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-treasury" | |
| }, | |
| { | |
| "name": "connected_account_treasury_financial_accounts_metadata", | |
| "comment": "Additional metadata entries for FinancialAccounts", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "financial_account_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-treasury" | |
| }, | |
| { | |
| "name": "connected_account_treasury_inbound_transfers", | |
| "comment": "Use InboundTransfers to add funds to your FinancialAccount via a PaymentMethod that is owned by you.", | |
| "columns": [ | |
| { | |
| "name": "status_transitions_succeeded_at", | |
| "comment": "Timestamp describing when an InboundTransfer changed status to succeeded.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the object. Often useful for displaying to users.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount (in cents) transferred.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "returned", | |
| "comment": "Returns true if the funds for an InboundTransfer were returned after the InboundTransfer went to the succeeded state.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_failed_at", | |
| "comment": "Timestamp describing when an InboundTransfer changed status to failed.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_id", | |
| "comment": "The Transaction associated with this object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_transactions" | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "statement_descriptor", | |
| "comment": "Statement descriptor shown when funds are debited from the source. Not all payment networks support statement_descriptor.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Status of the InboundTransfer: processing, succeeded, failed, and canceled", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "linked_flows_received_debit_id", | |
| "comment": "If funds for this flow were returned after the flow went to the succeeded state, this field contains a reference to the ReceivedDebit return.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_received_debits" | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_canceled_at", | |
| "comment": "Timestamp describing when an InboundTransfer changed status to canceled.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "failure_details_code", | |
| "comment": "Reason for this InboundTransfer's failure", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "financial_account_id", | |
| "comment": "The FinancialAccount associated with this object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_financial_accounts" | |
| }, | |
| { | |
| "name": "origin_payment_method_id", | |
| "comment": "The origin payment method to be debited for an InboundTransfer.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_methods" | |
| }, | |
| { | |
| "name": "cancelable", | |
| "comment": "true if the object can be canceled, and false otherwise.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "origin_payment_method_details_us_bank_account_network", | |
| "comment": "The network rails used.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-treasury" | |
| }, | |
| { | |
| "name": "connected_account_treasury_inbound_transfers_metadata", | |
| "comment": "Additional metadata entries for InboundTransfers", | |
| "columns": [ | |
| { | |
| "name": "inbound_transfer_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-treasury" | |
| }, | |
| { | |
| "name": "connected_account_treasury_outbound_payments", | |
| "comment": "OutboundPayments representings sending funds to another party’s external bank account or FinancialAccount.", | |
| "columns": [ | |
| { | |
| "name": "tracking_details_us_domestic_wire_imad", | |
| "comment": "IMAD of the OutboundPayment for payments sent over the us_domestic_wire network.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_posted_at", | |
| "comment": "Timestamp describing when an OutboundPayment changed status to posted.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "customer_id", | |
| "comment": "ID of the customer to whom an OutboundPayment is sent.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_customers" | |
| }, | |
| { | |
| "name": "tracking_details_us_domestic_wire_omad", | |
| "comment": "OMAD of the OutboundPayment for payments sent over the us_domestic_wire network.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the object. Often useful for displaying to users.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "destination_payment_method_details_type", | |
| "comment": "The type of the payment method used in the OutboundPayment.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "returned_details_code", | |
| "comment": "Reason for the return.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "returned_details_transaction_id", | |
| "comment": "The Transaction associated with returned OutboundPayment.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_transactions" | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount (in cents) transferred.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_failed_at", | |
| "comment": "Timestamp describing when an OutboundPayment changed status to failed.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_id", | |
| "comment": "The Transaction associated with this object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_transactions" | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "statement_descriptor", | |
| "comment": "Information about the OutboundPayments to be sent to the recipient account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "destination_payment_method_details_us_bank_account_network", | |
| "comment": "The network rails used.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Current status of the OutboundPayment: processing, failed, canceled, posted, returned.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "destination_payment_method_id", | |
| "comment": "The PaymentMethod used as the payment instrument for an OutboundPayment.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_methods" | |
| }, | |
| { | |
| "name": "expected_arrival_date", | |
| "comment": "The date when funds are expected to arrive in the destination account.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_canceled_at", | |
| "comment": "Timestamp describing when an OutboundPayment changed status to canceled.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "end_user_details_present", | |
| "comment": "The network rails used.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "financial_account_id", | |
| "comment": "The FinancialAccount associated with this object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_financial_accounts" | |
| }, | |
| { | |
| "name": "end_user_details_ip_address", | |
| "comment": "The network rails used.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tracking_details_ach_trace_id", | |
| "comment": "ACH trace ID of the OutboundPayment for payments sent over the ach network.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_returned_at", | |
| "comment": "Timestamp describing when an OutboundPayment changed status to returned.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cancelable", | |
| "comment": "true if the object can be canceled, and false otherwise.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-treasury" | |
| }, | |
| { | |
| "name": "connected_account_treasury_outbound_payments_metadata", | |
| "comment": "Additional metadata entries for OutboundPayments", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "outbound_payment_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-treasury" | |
| }, | |
| { | |
| "name": "connected_account_treasury_outbound_transfers", | |
| "comment": "OutboundTransfers represent a funds transfer from a FinancialAccount to a PaymentMethod belonging to the same entity", | |
| "columns": [ | |
| { | |
| "name": "tracking_details_us_domestic_wire_imad", | |
| "comment": "IMAD of the OutboundTransfer for transfers sent over the us_domestic_wire network.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_posted_at", | |
| "comment": "Timestamp describing when an OutboundTransfer changed status to posted.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tracking_details_us_domestic_wire_omad", | |
| "comment": "OMAD of the OutboundTransfer for transfers sent over the us_domestic_wire network.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the object. Often useful for displaying to users.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "destination_payment_method_details_type", | |
| "comment": "The type of the payment method used in the OutboundTransfer.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "returned_details_code", | |
| "comment": "Reason for the return.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "returned_details_transaction_id", | |
| "comment": "The Transaction associated with returned OutboundTransfer.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_transactions" | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount (in cents) transferred.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "destination_payment_method_details_us_bank_account_ach_submission", | |
| "comment": "The ACH submission type used.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_failed_at", | |
| "comment": "Timestamp describing when an OutboundTransfer changed status to failed.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_id", | |
| "comment": "The Transaction associated with this object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_transactions" | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "statement_descriptor", | |
| "comment": "Information about the OutboundTransfer to be sent to the recipient account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "destination_payment_method_details_us_bank_account_network", | |
| "comment": "The network rails used.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Current status of the OutboundTransfer: processing, failed, canceled, posted, returned.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "destination_payment_method_id", | |
| "comment": "The PaymentMethod used as the payment instrument for an OutboundTransfer.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_payment_methods" | |
| }, | |
| { | |
| "name": "expected_arrival_date", | |
| "comment": "The date when funds are expected to arrive in the destination account.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_canceled_at", | |
| "comment": "Timestamp describing when an OutboundTransfer changed status to canceled.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "financial_account_id", | |
| "comment": "The FinancialAccount associated with this object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_financial_accounts" | |
| }, | |
| { | |
| "name": "tracking_details_ach_trace_id", | |
| "comment": "ACH trace ID of the OutboundTransfer for transfers sent over the ach network.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_returned_at", | |
| "comment": "Timestamp describing when an OutboundTransfer changed status to returned.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "cancelable", | |
| "comment": "true if the object can be canceled, and false otherwise.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-treasury" | |
| }, | |
| { | |
| "name": "connected_account_treasury_outbound_transfers_metadata", | |
| "comment": "Additional metadata entries for OutboundTransfers", | |
| "columns": [ | |
| { | |
| "name": "outbound_transfer_id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "key", | |
| "comment": "Name of the metadata key", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "value", | |
| "comment": "Value of the metadata", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-treasury" | |
| }, | |
| { | |
| "name": "connected_account_treasury_received_credits", | |
| "comment": "ReceivedCredits represent funds sent to a FinancialAccount (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount.", | |
| "columns": [ | |
| { | |
| "name": "network", | |
| "comment": "The rails used to send the funds.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "reversal_details_deadline", | |
| "comment": "Details describing when a ReceivedCredit may be reversed. Time before which a ReceivedCredit can be reversed.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the object. Often useful for displaying to users.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "initiating_payment_method_details_issuing_card_id", | |
| "comment": "Set when initiating payment method type is issuing_card. This is an Issuing Card ID.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_issuing_cards" | |
| }, | |
| { | |
| "name": "failure_code", | |
| "comment": "Reason for the failure. A ReceivedCredit might fail because the receiving FinancialAccount is closed or frozen.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "linked_flows_credit_reversal_id", | |
| "comment": "The CreditReversal created as a result of this ReceivedCredit being reversed.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_credit_reversals" | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount (in cents) transferred.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "initiating_payment_method_details_financial_account_id", | |
| "comment": "FinancialAccount that initiated the ReceivedCredit", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_financial_accounts" | |
| }, | |
| { | |
| "name": "transaction_id", | |
| "comment": "The Transaction associated with this object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_transactions" | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Status of the ReceivedCredit. ReceivedCredits are created either succeeded (approved) or failed (declined). If a ReceivedCredit is declined, the failure reason can be found in the failure_code field.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "linked_flows_issuing_transaction_id", | |
| "comment": "Set if the ReceivedCredit is also viewable as an Issuing transaction object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_issuing_transactions" | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "initiating_payment_method_details_us_bank_account_routing_number", | |
| "comment": "The routing number for the bank account that initiated the ReceivedCredit.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "linked_flows_issuing_authorization_id", | |
| "comment": "Set if the ReceivedCredit was created due to an Issuing Authorization object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_issuing_authorizations" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "financial_account_id", | |
| "comment": "The FinancialAccount associated with this object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_financial_accounts" | |
| }, | |
| { | |
| "name": "initiating_payment_method_details_type", | |
| "comment": "Polymorphic type matching the originating money movement’s source. This can be an external account, a Stripe balance, or a FinancialAccount.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "linked_flows_source_flow_type", | |
| "comment": "The type of flow that originated the ReceivedCredit (for example, outbound_payment).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "linked_flows_source_flow_id", | |
| "comment": "ID of the source flow. Set if network is stripe and the source flow is visible to the user. Examples of source flows include OutboundPayments, payouts, or CreditReversals.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "initiating_payment_method_details_us_bank_account_last_4", | |
| "comment": "The last four digits of the bank account number that initiated the ReceivedCredit", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "reversal_details_restricted_reason", | |
| "comment": "Details describing when a ReceivedCredit may be reversed. Set if a ReceivedCredit cannot be reversed.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-treasury" | |
| }, | |
| { | |
| "name": "connected_account_treasury_received_debits", | |
| "comment": "ReceivedDebits represent funds pulled from a FinancialAccount. These are not initiated from the FinancialAccount.", | |
| "columns": [ | |
| { | |
| "name": "network", | |
| "comment": "The rails used for the ReceivedDebit.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "reversal_details_deadline", | |
| "comment": "Details describing when a ReceivedDebit may be reversed. Time before which a ReceivedDebit can be reversed.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the object. Often useful for displaying to users.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "initiating_payment_method_details_issuing_card_id", | |
| "comment": "Set when initiating payment method type is issuing_card. This is an Issuing Card ID.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_issuing_cards" | |
| }, | |
| { | |
| "name": "failure_code", | |
| "comment": "Reason for the failure. A ReceivedDebit might fail because the receiving FinancialAccount is closed or frozen.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "linked_flows_debit_reversal_id", | |
| "comment": "The DebitReversal created as a result of this ReceivedCredit being reversed.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_debit_reversals" | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount (in cents) transferred.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "initiating_payment_method_details_financial_account_id", | |
| "comment": "FinancialAccount that initiated the ReceivedDebit", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_financial_accounts" | |
| }, | |
| { | |
| "name": "transaction_id", | |
| "comment": "The Transaction associated with this object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_transactions" | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Status of the ReceivedDebit. ReceivedDebits are created either succeeded (approved) or failed (declined). If a ReceivedDebit is declined, the failure reason can be found in the failure_code field.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "linked_flows_issuing_transaction_id", | |
| "comment": "Set if the ReceivedDebit is also viewable as an Issuing transaction object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_issuing_transactions" | |
| }, | |
| { | |
| "name": "linked_flows_inbound_transfer_id", | |
| "comment": "Set if the ReceivedDebit is associated with an InboundTransfer’s return of funds.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_inbound_transfers" | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "initiating_payment_method_details_us_bank_account_routing_number", | |
| "comment": "The routing number for the bank account that initiated the ReceivedDebit.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "linked_flows_payout_id", | |
| "comment": "Set if the ReceivedDebit was created due to a Payout object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_transfers" | |
| }, | |
| { | |
| "name": "linked_flows_issuing_authorization_id", | |
| "comment": "Set if the ReceivedDebit was created due to an Issuing Authorization object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_issuing_authorizations" | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "financial_account_id", | |
| "comment": "The FinancialAccount that funds were pulled from.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_financial_accounts" | |
| }, | |
| { | |
| "name": "initiating_payment_method_details_type", | |
| "comment": "Polymorphic type matching the originating money movement’s source. This can be an external account, a Stripe balance, or a FinancialAccount.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "initiating_payment_method_details_us_bank_account_last_4", | |
| "comment": "The last four digits of the bank account number that initiated the ReceivedCredit", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "reversal_details_restricted_reason", | |
| "comment": "Details describing when a ReceivedDebit may be reversed. Set if a ReceivedDebit cannot be reversed.", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-treasury" | |
| }, | |
| { | |
| "name": "connected_account_treasury_transaction_entries", | |
| "comment": "TransactionEntries represent individual units of money movements within a single Transaction.", | |
| "columns": [ | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "transaction_id", | |
| "comment": "The Transaction associated with this object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_transactions" | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "balance_impact_outbound_pending", | |
| "comment": "The change made to funds in the account, but not spendable because they are being held for pending outbound flows.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "balance_impact_inbound_pending", | |
| "comment": "The change made to funds that are not spendable yet, but will become available at a later time.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "financial_account_id", | |
| "comment": "The FinancialAccount associated with this object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_financial_accounts" | |
| }, | |
| { | |
| "name": "flow_id", | |
| "comment": "ID of the flow that created the TransactionEntry.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "type", | |
| "comment": "The specific money movement that generated the TransactionEntry.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "flow_type", | |
| "comment": "Type of the flow that created the TransactionEntry.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "effective_at", | |
| "comment": "When the TransactionEntry will impact the FinancialAccount’s balance.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "balance_impact_cash", | |
| "comment": "The change made to funds the user can spend right now.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-treasury" | |
| }, | |
| { | |
| "name": "connected_account_treasury_transactions", | |
| "comment": "Treasury Transaction data representing changes to a FinancialAccount's balance.", | |
| "columns": [ | |
| { | |
| "name": "status_transitions_posted_at", | |
| "comment": "Timestamp describing when the Transaction changed status to posted.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "description", | |
| "comment": "An arbitrary string attached to the object. Often useful for displaying to users.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status_transitions_void_at", | |
| "comment": "Timestamp describing when the Transaction changed status to void.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "amount", | |
| "comment": "Amount (in cents) transferred", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "balance_impact_outbound_pending", | |
| "comment": "The change made to funds in the account, but not spendable because they are being held for pending outbound flows.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "status", | |
| "comment": "Status of the Transaction.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "balance_impact_inbound_pending", | |
| "comment": "The change made to funds that are not spendable yet, but will become available at a later time.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "currency", | |
| "comment": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "financial_account_id", | |
| "comment": "The FinancialAccount associated with this object.", | |
| "type": "varchar", | |
| "primary_key": false, | |
| "foreign_key": "connected_account_treasury_financial_accounts" | |
| }, | |
| { | |
| "name": "flow_id", | |
| "comment": "ID of the flow that created the Transaction.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "flow_type", | |
| "comment": "Type of the flow that created the Transaction.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "balance_impact_cash", | |
| "comment": "The change made to funds the user can spend right now.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "created", | |
| "comment": "Time at which the object was created. Measured in seconds since the Unix epoch.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-treasury" | |
| }, | |
| { | |
| "name": "connected_account_usage_records", | |
| "comment": "Usage records allow you to report customer usage and metrics to Stripe for metered billing of subscription plans.", | |
| "columns": [ | |
| { | |
| "name": "quantity", | |
| "comment": "The usage quantity for the specified date.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "subscription_item", | |
| "comment": "The ID of the subscription item this usage record contains data for.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "timestamp", | |
| "comment": "The timestamp when this usage occurred.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "account", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| } | |
| ], | |
| "section": "connect-billing" | |
| }, | |
| { | |
| "name": "connected_accounts", | |
| "comment": "This is an object that represents a Stripe account.", | |
| "columns": [ | |
| { | |
| "name": "support_email", | |
| "comment": "A publicly shareable support email address for the business.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_address_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_au_becs_debit_payments", | |
| "comment": "The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_address_state", | |
| "comment": "State, county, province, or region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_zip_payments", | |
| "comment": "The status of the Zip capability of the account, or whether the account can directly process Zip charges.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_address_kanji_line1", | |
| "comment": "Address line 1 (e.g., street, PO Box, or company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payout_schedule_delay_days", | |
| "comment": "The number of days charges for the account will be held before being paid out.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "decline_charge_on_cvc_failure", | |
| "comment": "Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_us_bank_account_ach_payments", | |
| "comment": "The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_personal_address_kanji_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_first_name", | |
| "comment": "The first name of the individual responsible for the account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_p24_payments", | |
| "comment": "The status of the P24 payments capability of the account, or whether the account can directly process P24 charges.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_eps_payments", | |
| "comment": "The status of the EPS payments capability of the account, or whether the account can directly process EPS charges.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "debit_negative_balances", | |
| "comment": "A Boolean indicating if Stripe should try to reclaim negative balances from an attached bank account. See our [Understanding Connect Account Balances](/docs/connect/account-balances) documentation for details.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_revolut_pay_payments", | |
| "comment": "The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "business_name", | |
| "comment": "The publicly visible name of the business.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_maiden_name", | |
| "comment": "The maiden name of the individual responsible for the account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_personal_address_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payout_schedule_weekly_anchor", | |
| "comment": "The day of the week funds will be paid out, of the style 'monday', 'tuesday', etc. Only shown if `interval` is weekly.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_cashapp_payments", | |
| "comment": "The status of the Cash App Pay capability of the account, or whether the account can directly process Cash App Pay payments.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_sofort_payments", | |
| "comment": "The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "controller_fees_payer", | |
| "comment": "A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_cartes_bancaires_payments", | |
| "comment": "The status of the Cartes Bancaires payments capability of the account, or whether the account can directly process Cartes Bancaires card charges in EUR currency.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_tax_reporting_us_1099_k", | |
| "comment": "The status of the tax reporting 1099-K (US) capability of the account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "details_submitted", | |
| "comment": "Whether account details have been submitted. Accounts with Stripe Dashboard access, which includes Standard accounts, cannot receive payouts before this is true. Accounts where this is false should be directed to [an onboarding flow](/connect/onboarding) to finish submitting account details.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "email", | |
| "comment": "An email address associated with the account. It's not used for authentication and Stripe doesn't market to this field without explicit approval from the platform.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_ssn_last_4_provided", | |
| "comment": "Whether the last 4 ssn digits of the individual responsible for the account have been provided.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_amazon_pay_payments", | |
| "comment": "The status of the AmazonPay capability of the account, or whether the account can directly process AmazonPay payments.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_address_kana_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_personal_address_kanji_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_boleto_payments", | |
| "comment": "The status of the boleto payments capability of the account, or whether the account can directly process boleto charges.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tos_acceptance_date", | |
| "comment": "The Unix timestamp marking when the account representative accepted their service agreement", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tos_acceptance_user_agent", | |
| "comment": "The user agent of the browser from which the account representative accepted their service agreement", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "product_description", | |
| "comment": "", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "charges_enabled", | |
| "comment": "Whether the account can process charges.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_fpx_payments", | |
| "comment": "The status of the FPX payments capability of the account, or whether the account can directly process FPX charges.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_first_name_kanji", | |
| "comment": "The Kanji variation of the first name of the individual responsible for the account (Japan only).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_business_name_kana", | |
| "comment": "The Kana variation of the company's legal name (Japan only).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_personal_address_kanji_line1", | |
| "comment": "Address line 1 (e.g., street, PO Box, or company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "controller_requirement_collection", | |
| "comment": "A value indicating responsibility for collecting requirements on this account. Only returned when the Connect application retrieving the resource controls the account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_personal_address_kana_line1", | |
| "comment": "Address line 1 (e.g., street, PO Box, or company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "payout_schedule_interval", | |
| "comment": "How frequently funds will be paid out. One of `manual` (payouts only created via API call), `daily`, `weekly`, or `monthly`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_personal_address_kana_state", | |
| "comment": "State, county, province, or region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "future_requirements_eventually_due", | |
| "comment": "Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_personal_address_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "timezone", | |
| "comment": "The timezone used in the Stripe Dashboard for this account. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_klarna_payments", | |
| "comment": "The status of the Klarna payments capability of the account, or whether the account can directly process Klarna charges.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_verification_details", | |
| "comment": "A user-displayable string describing the verification state for the person. For example, this may say \"Provided identity information could not be verified\".", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "display_name", | |
| "comment": "The display name for this account. This is used on the Stripe Dashboard to differentiate between accounts.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_dob_month", | |
| "comment": "The month of birth, between 1 and 12.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_link_payments", | |
| "comment": "The status of the link_payments capability of the account, or whether the account can directly process Link charges.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_business_name", | |
| "comment": "The company's legal name.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "controller_losses_payments", | |
| "comment": "A value indicating who is liable when this account can't pay back negative balances from payments.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_gender", | |
| "comment": "The gender of the individual responsible for the account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_address_kana_line1", | |
| "comment": "Address line 1 (e.g., street, PO Box, or company name).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "batch_timestamp", | |
| "comment": "The time in epoch format at which updates to the object were processed through the [Stripe Data Pipeline](https://stripe.com/docs/stripe-data/access-data-in-warehouse). If the object hasn't changed, the time remains unchanged. This field isn't available in Sigma. It's only available for core API tables, including Connect versions, exported through the Stripe Data Pipeline.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "controller_stripe_dashboard_type", | |
| "comment": "A value indicating the Stripe dashboard this account has access to independent of the Connect application.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_address_kanji_city", | |
| "comment": "City, district, suburb, town, or village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_verification_status", | |
| "comment": "The state of verification for the person. Possible values are `unverified`, `pending`, or `verified`. Please refer [guide](/docs/connect/handling-api-verification) to handle verification updates.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_legacy_payments", | |
| "comment": "The status of the legacy payments capability of the account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "business_profile_mcc", | |
| "comment": "[The merchant category code for the account](https://stripe.com/docs/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "verification_due_by", | |
| "comment": "By what time the `fields_needed` must be provided. If this date is in the past, the account is already in bad standing, and providing `fields_needed` is necessary to re-enable payouts and prevent other consequences. If this date is in the future, `fields_needed` must be provided to ensure the account remains in good standing.", | |
| "type": "timestamp", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_konbini_payments", | |
| "comment": "The status of the konbini payments capability of the account, or whether the account can directly process konbini charges.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_blik_payments", | |
| "comment": "The status of the blik payments capability of the account, or whether the account can directly process blik charges.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "requirements_currently_due", | |
| "comment": "Fields that need to be collected to keep the account enabled. If not collected by `current_deadline`, these fields appear in `past_due` as well, and the account is disabled.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_first_name_kana", | |
| "comment": "The Kana variation of the first name of the individual responsible for the account (Japan only).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_personal_address_kanji_country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "country", | |
| "comment": "The account's country.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_address_kanji_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_ideal_payments", | |
| "comment": "The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_personal_address_kana_postal_code", | |
| "comment": "ZIP or postal code.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_personal_address_kanji_state", | |
| "comment": "State, county, province, or region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_dob_day", | |
| "comment": "The day of birth, between 1 and 31.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_personal_address_state", | |
| "comment": "State, county, province, or region.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "tos_acceptance_ip", | |
| "comment": "The IP address from which the account representative accepted their service agreement", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "decline_charge_on_avs_failure", | |
| "comment": "Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_address_kanji_country", | |
| "comment": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_bancontact_payments", | |
| "comment": "The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_tax_id_registrar", | |
| "comment": "The jurisdiction in which the `business_tax_id` is registered (Germany-based companies only).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_personal_address_kanji_city", | |
| "comment": "City, district, suburb, town, or village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_address_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_dob_year", | |
| "comment": "The four-digit year of birth.", | |
| "type": "bigint", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "id", | |
| "comment": "Unique identifier for the object.", | |
| "type": "varchar", | |
| "primary_key": true | |
| }, | |
| { | |
| "name": "default_currency", | |
| "comment": "Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://stripe.com/docs/payouts).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_personal_id_number_provided", | |
| "comment": "Whether the personal ID number of the individual responsible for the account was provided.", | |
| "type": "boolean", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_sepa_debit_payments", | |
| "comment": "The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_address_kana_line2", | |
| "comment": "Address line 2 (e.g., apartment, suite, unit, or building).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "statement_descriptor", | |
| "comment": "The default text that appears on credit card statements when a charge is made [directly on the account](/docs/connect/direct-charges).", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "capabilities_card_payments", | |
| "comment": "The status of the card payments capability of the account, or whether the account can directly process credit and debit card charges.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_verification_details_code", | |
| "comment": "A machine-readable code specifying the verification state for this legal entity. One of `scan_corrupt`, `scan_not_readable`, `scan_failed_greyscale`, `scan_not_uploaded`, `scan_id_type_not_supported`, `scan_id_country_not_supported`, `scan_failed_other`, or `scan_failed_test_mode`.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "requirements_past_due", | |
| "comment": "Fields that weren't collected by `current_deadline`. These fields need to be collected to enable the account.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_personal_address_kana_city", | |
| "comment": "City, district, suburb, town, or village.", | |
| "type": "varchar", | |
| "primary_key": false | |
| }, | |
| { | |
| "name": "legal_entity_verification_document_id", | |
| "comment": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A photo (jp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment