從 Stripe 實體中讀取
先決條件
-
您要從中讀取的 Stripe 物件。
支援的實體
| 實體 | 可以篩選 | 支援限制 | 支援排序依據 | 支援選取 * | 支援分區 |
|---|---|---|---|---|---|
| 餘額 | 否 | 否 | 否 | 是 | 否 |
| 餘額交易 | 是 | 是 | 否 | 是 | 是 |
| 費用 | 是 | 是 | 否 | 是 | 是 |
| 爭論 | 是 | 是 | 否 | 是 | 是 |
| 檔案連結 | 是 | 是 | 否 | 是 | 是 |
| PaymentIntents | 是 | 是 | 否 | 是 | 是 |
| SetupIntents | 是 | 是 | 否 | 是 | 是 |
| 支出 | 是 | 是 | 否 | 是 | 是 |
| 退款 | 是 | 是 | 否 | 是 | 是 |
| 產品 | 是 | 是 | 否 | 是 | 是 |
| 價格 | 是 | 是 | 否 | 是 | 是 |
| 優惠券 | 是 | 是 | 否 | 是 | 是 |
| 促銷代碼 | 是 | 是 | 否 | 是 | 是 |
| 稅務代碼 | 否 | 是 | 否 | 是 | 否 |
| 稅率 | 是 | 是 | 否 | 是 | 是 |
| 運費 | 是 | 是 | 否 | 是 | 是 |
| 工作階段 | 是 | 是 | 否 | 是 | 是 |
| 貸記通知單 | 是 | 是 | 否 | 是 | 是 |
| 客戶 | 是 | 是 | 否 | 是 | 是 |
| 發票 | 是 | 是 | 否 | 是 | 是 |
| 發票項目 | 是 | 是 | 否 | 是 | 否 |
| 計畫 | 是 | 是 | 否 | 是 | 是 |
| 報價 | 是 | 是 | 否 | 是 | 否 |
| 訂閱 | 是 | 是 | 否 | 是 | |
| 訂閱項目 | 否 | 是 | 否 | 是 | 否 |
| 訂閱排程 | 是 | 是 | 否 | 是 | 是 |
| 帳戶 | 否 | 是 | 否 | 是 | 是 |
| 應用程式費用 | 是 | 是 | 否 | 是 | 是 |
| 國家/地區規格 | 否 | 是 | 否 | 是 | 否 |
| 轉接 | 是 | 是 | 否 | 是 | 是 |
| 早期詐騙警告 | 是 | 是 | 否 | 是 | 是 |
| 報告類型 | 否 | 否 | 否 | 是 | 否 |
範例
stripe_read = glueContext.create_dynamic_frame.from_options( connection_type="stripe", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "coupons", "API_VERSION": "v1" } )
Stripe 實體和欄位詳細資訊
| 實體 | 欄位 | 資料類型 | 支援的運算子 |
|---|---|---|---|
| 餘額 | |||
| 有用 | 清單 | ||
| connect_reserved | 清單 | ||
| 待定 | 清單 | ||
| livemode | Boolean | ||
| object | String | ||
| instant_available | 清單 | ||
| issuing | Struct | ||
| 餘額交易 | |||
| id | String | ||
| object | String | ||
| amount | Integer | ||
| available_on | DateTime | =, >=, <=,<,> | |
| 已建立 | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| 描述 | String | ||
| exchange_rate | BigDecimal | ||
| fee | Integer | ||
| fee_details | 清單 | ||
| net | Integer | ||
| report_category | String | ||
| source | String | = | |
| status | String | ||
| type | String | = | |
| cross_border_classification | String | ||
| 費用 | |||
| id | String | ||
| object | String | ||
| amount | Integer | =, <, > | |
| amount_captured | Integer | ||
| amount_refunded | Integer | ||
| 應用程式 | String | ||
| application_fee | String | ||
| application_fee_amount | Integer | ||
| balance_transaction | String | ||
| billing_details | Struct | ||
| calculated_statement_descriptor | String | ||
| captured | Boolean | ||
| 已建立 | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| customer | String | = | |
| 描述 | String | ||
| 目的地 | String | ||
| dispute | String | ||
| disputed | Boolean | = | |
| failure_balance_transaction | String | ||
| failure_code | String | ||
| failure_message | String | ||
| fraud_details | Struct | ||
| 發票 | String | ||
| livemode | Boolean | ||
| 中繼資料 | Struct | ||
| on_behalf_of | String | ||
| order | String | ||
| outcome | Struct | ||
| paid | Boolean | ||
| payment_intent | String | = | |
| payment_method | String | ||
| payment_method_details | Struct | ||
| receipt_email | String | ||
| receipt_number | String | ||
| receipt_url | String | ||
| refunded | Boolean | = | |
| refunds | Struct | ||
| review | String | ||
| shipping | Struct | ||
| source | Struct | ||
| source_transfer | String | ||
| statement_descriptor | String | ||
| statement_descriptor_suffix | String | ||
| status | String | ||
| 傳輸 | String | ||
| transfer_data | Struct | ||
| transfer_group | String | = | |
| 爭論 | |||
| id | String | ||
| object | String | ||
| amount | Integer | =, <, > | |
| balance_transaction | String | ||
| balance_transactions | 清單 | ||
| charge | String | = | |
| 已建立 | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| evidence | Struct | ||
| evidence_details | Struct | ||
| is_charge_refundable | Boolean | ||
| livemode | Boolean | ||
| 中繼資料 | Struct | ||
| payment_intent | String | = | |
| reason | String | = | |
| status | String | ||
| payment_method_details | Struct | ||
| 檔案連結 | |||
| id | String | ||
| object | String | ||
| 已建立 | DateTime | =, >=, <=,<,> | |
| expired | Boolean | = | |
| expires_at | DateTime | ||
| file | String | = | |
| livemode | Boolean | ||
| 中繼資料 | Struct | ||
| url | String | ||
| PaymentIntents | |||
| id | String | ||
| object | String | ||
| amount | Integer | ||
| amount_capturable | Integer | ||
| amount_details | Struct | ||
| amount_received | Integer | ||
| 應用程式 | String | ||
| application_fee_amount | Integer | ||
| auto_payment_methods | Struct | ||
| canceled_at | DateTime | ||
| cancellation_reason | String | ||
| capture_method | String | ||
| client_secret | String | ||
| confirmation_method | String | ||
| 已建立 | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| customer | String | = | |
| 描述 | String | ||
| 發票 | String | ||
| last_payment_error | Struct | ||
| latest_charge | String | ||
| livemode | Boolean | ||
| 中繼資料 | Struct | ||
| next_action | Struct | ||
| on_behalf_of | String | ||
| payment_method | String | ||
| payment_method_options | Struct | ||
| payment_method_types | 清單 | ||
| payment_method_configuration_details | Struct | ||
| 處理 | Struct | ||
| receipt_email | String | ||
| review | String | ||
| setup_future_usage | String | ||
| shipping | Struct | ||
| source | String | ||
| statement_descriptor | String | ||
| statement_descriptor_suffix | String | ||
| status | String | ||
| transfer_data | Struct | ||
| transfer_group | String | ||
| SetupIntents | |||
| id | String | ||
| object | String | ||
| 應用程式 | String | ||
| cancellation_reason | String | ||
| client_secret | String | ||
| 已建立 | DateTime | =, >=, <=,<,> | |
| customer | String | = | |
| 描述 | String | ||
| flow_directions | 清單 | ||
| last_setup_error | Struct | ||
| latest_attempt | String | ||
| livemode | Boolean | ||
| mandate | String | ||
| 中繼資料 | Struct | ||
| next_action | Struct | ||
| on_behalf_of | String | ||
| payment_method | String | ||
| payment_method_options | Struct | ||
| payment_method_types | 清單 | ||
| single_use_mandate | String | ||
| status | String | ||
| 使用方式 | String | ||
| auto_payment_methods | Struct | ||
| 支出 | |||
| id | String | ||
| object | String | ||
| amount | Integer | =, <, > | |
| arrival_date | DateTime | =, >=, <=,<,> | |
| 自動 | Boolean | ||
| balance_transaction | String | ||
| 已建立 | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| 描述 | String | = | |
| 目的地 | String | ||
| failure_balance_transaction | String | ||
| failure_code | String | ||
| failure_message | String | ||
| livemode | Boolean | ||
| 中繼資料 | Struct | ||
| 方法 | String | ||
| original_payout | String | ||
| reversed_by | String | ||
| reconciliation_status | String | ||
| source_type | String | ||
| statement_descriptor | String | ||
| status | String | ||
| type | String | ||
| application_fee | String | ||
| application_fee_amount | Integer | ||
| 退款 | |||
| id | String | ||
| object | String | ||
| amount | Integer | ||
| balance_transaction | String | ||
| charge | String | = | |
| 已建立 | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| 中繼資料 | Struct | ||
| destination_details | Struct | ||
| payment_intent | String | = | |
| reason | String | ||
| receipt_number | String | ||
| source_transfer_reversal | String | ||
| status | String | ||
| transfer_reversal | String | ||
| 產品 | |||
| id | String | ||
| object | String | ||
| active | Boolean | = | |
| 屬性 | 清單 | ||
| 已建立 | DateTime | =, >=, <=,<,> | |
| default_price | String | ||
| 描述 | String | ||
| images | 清單 | ||
| livemode | Boolean | ||
| 中繼資料 | Struct | ||
| name | String | ||
| package_dimensions | Struct | ||
| shippable | Boolean | ||
| statement_descriptor | String | ||
| tax_code | String | ||
| type | String | = | |
| unit_label | String | ||
| 已更新 | DateTime | ||
| url | String | ||
| 功能 | 清單 | ||
| 價格 | |||
| id | String | ||
| object | String | ||
| active | Boolean | = | |
| billing_scheme | String | ||
| 已建立 | DateTime | =, >=, <=,<,> | |
| currency | String | = | |
| custom_unit_amount | Struct | ||
| livemode | Boolean | ||
| lookup_key | String | ||
| 中繼資料 | Struct | ||
| nickname | String | ||
| product | String | = | |
| recurring | Struct | ||
| tax_behavior | String | ||
| tiers_mode | String | ||
| transform_quantity | Struct | ||
| type | String | = | |
| unit_amount | Integer | ||
| unit_amount_decimal | String | ||
| 優惠券 | |||
| Id | String | ||
| object | String | ||
| amount_off | Integer | ||
| 已建立 | DateTime | =, >=, <=,<,> | |
| currency | String | = | |
| duration | String | = | |
| duration_in_months | Integer | =,<,> | |
| livemode | Boolean | ||
| max_redemptions | Integer | =, <, > | |
| 中繼資料 | Struct | ||
| name | String | ||
| percent_off | Double | = | |
| redeem_by | DateTime | =, >=, <=, <, > | |
| times_redeemed | Integer | ||
| 有效 | Boolean | ||
| 促銷代碼 | |||
| Id | String | ||
| object | String | ||
| active | Boolean | = | |
| code | String | = | |
| coupon | Struct | ||
| 已建立 | DateTime | =,>=,<=,<,> | |
| customer | String | ||
| expires_at | DateTime | ||
| livemode | Boolean | ||
| max_redemptions | Integer | ||
| 中繼資料 | Struct | ||
| 限制 | Struct | ||
| times_redeemed | Integer | ||
| 稅務代碼 | |||
| Id | String | ||
| object | String | ||
| 描述 | String | ||
| name | String | ||
| 稅率 | |||
| Id | String | ||
| object | String | ||
| active | Boolean | = | |
| 國家/地區 | String | ||
| 已建立 | DateTime | =, >=, <=, <, > | |
| 描述 | String | ||
| display_name | String | ||
| inclusive | Boolean | = | |
| jurisdiction | String | ||
| jurisdiction_level | String | ||
| livemode | Boolean | ||
| 中繼資料 | Struct | ||
| 百分比 | Double | ||
| effective_percentage | Double | ||
| state | String | ||
| tax_type | String | ||
| 運費 | |||
| Id | String | ||
| object | String | ||
| active | Boolean | = | |
| 已建立 | DateTime | =, >=, <=, <, > | |
| delivery_estimate | Struct | ||
| display_name | String | ||
| fixed_amount | Struct | ||
| livemode | Boolean | ||
| 中繼資料 | Struct | ||
| tax_behavior | String | ||
| tax_code | String | ||
| type | String | ||
| 工作階段 | |||
| id | String | ||
| object | String | ||
| after_expiration | Struct | ||
| allow_promotion_codes | Boolean | ||
| amount_subtotal | Integer | ||
| amount_total | Integer | ||
| auto_tax | Struct | ||
| billing_address_collection | String | ||
| cancel_url | String | ||
| client_reference_id | String | ||
| consent | Struct | ||
| consent_collection | Struct | ||
| 已建立 | DateTime | =, >=, <=, <, > | |
| currency | String | ||
| custom_text | Struct | ||
| customer | String | ||
| customer_creation | String | ||
| customer_details | Struct | ||
| customer_email | String | ||
| expires_at | DateTime | ||
| 發票 | String | ||
| invoice_creation | Struct | ||
| livemode | Boolean | ||
| locale | String | ||
| 中繼資料 | Struct | ||
| 模式 | String | ||
| payment_intent | String | = | |
| payment_link | String | ||
| payment_method_collection | String | ||
| payment_method_options | Struct | ||
| payment_method_types | 清單 | ||
| payment_status | String | ||
| phone_number_collection | Struct | ||
| recovered_from | String | ||
| setup_intent | String | ||
| shipping_address_collection | Struct | ||
| shipping_cost | Struct | ||
| shipping_details | Struct | ||
| shipping_options | 清單 | ||
| status | String | ||
| submit_type | String | ||
| 訂閱 | String | ||
| success_url | String | ||
| tax_id_collection | Struct | ||
| total_details | Struct | ||
| url | String | ||
| ui_mode | String | ||
| 貸記通知單 | |||
| id | String | ||
| object | String | ||
| amount | Integer | ||
| 已建立 | DateTime | =, >=, <=, <, > | |
| currency | String | ||
| customer | String | = | |
| customer_balance_transaction | String | ||
| discount_amount | Integer | ||
| discount_amounts | 清單 | ||
| 發票 | String | = | |
| lines | Struct | ||
| livemode | Boolean | ||
| memo | String | ||
| 中繼資料 | Struct | ||
| number | String | ||
| out_of_band_amount | Integer | ||
| String | |||
| reason | String | ||
| refund | String | ||
| status | String | ||
| subtotal | Integer | ||
| subtotal_excluding_tax | Integer | ||
| tax_amounts | 清單 | ||
| total | Integer | ||
| total_excluding_tax | Integer | ||
| type | String | ||
| voided_at | DateTime | ||
| amount_shipping | Integer | ||
| effective_at | DateTime | ||
| shipping_cost | Struct | ||
| 客戶 | |||
| id | String | ||
| object | String | ||
| address | Struct | ||
| balance | Integer | ||
| 已建立 | DateTime | ||
| currency | String | =, >=, <=, <, > | |
| default_source | String | ||
| delinquent | Boolean | = | |
| 描述 | String | ||
| discount | Struct | ||
| String | = | ||
| invoice_prefix | String | ||
| invoice_settings | Struct | ||
| livemode | Boolean | ||
| 中繼資料 | Struct | ||
| name | String | ||
| next_invoice_sequence | Integer | ||
| phone | String | ||
| preferred_locales | 清單 | ||
| shipping | Struct | ||
| tax_exempt | String | ||
| test_clock | String | ||
| 發票 | |||
| id | String | ||
| object | String | ||
| account_country | String | ||
| account_name | String | ||
| account_tax_ids | 清單 | ||
| amount_due | Integer | ||
| amount_paid | Integer | ||
| amount_remaining | Integer | ||
| 應用程式 | String | ||
| application_fee_amount | Integer | ||
| attempt_count | Integer | ||
| attempted | Boolean | = | |
| auto_advance | Boolean | = | |
| auto_tax | Struct | ||
| billing_reason | String | ||
| charge | String | ||
| collection_method | String | = | |
| 已建立 | DateTime | =, >=, <=, <, > | |
| currency | String | ||
| custom_fields | 清單 | ||
| customer | String | = | |
| customer_address | Struct | ||
| customer_email | String | ||
| customer_name | String | ||
| customer_phone | String | ||
| customer_shipping | Struct | ||
| customer_tax_exempt | String | ||
| customer_tax_ids | 清單 | ||
| default_payment_method | String | ||
| default_source | String | ||
| default_tax_rates | 清單 | ||
| 描述 | String | ||
| discount | Struct | ||
| discounts | 清單 | ||
| due_date | DateTime | =, >=, <=, <, > | |
| ending_balance | Integer | ||
| footer | String | ||
| from_invoice | Struct | ||
| hosted_invoice_url | String | ||
| invoice_pdf | String | ||
| last_finalization_error | Struct | ||
| latest_revision | String | ||
| lines | Struct | ||
| livemode | Boolean | ||
| 中繼資料 | Struct | ||
| next_payment_attempt | DateTime | ||
| number | String | ||
| on_behalf_of | String | ||
| paid | Boolean | = | |
| paid_out_of_band | Boolean | ||
| payment_intent | String | ||
| payment_settings | Struct | ||
| period_end | DateTime | =, >=, <=, <, > | |
| period_start | DateTime | =, >=, <=, <, > | |
| post_payment_credit_notes_amount | Integer | ||
| pre_payment_credit_notes_amount | Integer | ||
| quote | String | ||
| receipt_number | String | ||
| rendering | Struct | ||
| rendering_options | Struct | ||
| start_balance | Integer | ||
| statement_descriptor | String | ||
| status | String | = | |
| status_transitions | Struct | ||
| 訂閱 | String | ||
| subscription_details | Struct | ||
| subtotal | Integer | =, <, > | |
| subtotal_excluding_tax | Integer | ||
| tax | Integer | ||
| test_clock | String | ||
| total | Integer | =, <, > | |
| total_discount_amounts | 清單 | ||
| total_excluding_tax | Integer | ||
| total_tax_amounts | 清單 | ||
| transfer_data | Struct | ||
| webhooks_delivered_at | DateTime | ||
| automatically_finalizes_at | DateTime | ||
| effective_at | DateTime | ||
| 發行者 | Struct | ||
| 發票項目 | |||
| id | String | ||
| object | String | ||
| amount | Integer | =, <, > | |
| currency | String | ||
| customer | String | = | |
| date | DateTime | ||
| 描述 | String | ||
| discountable | Boolean | ||
| discounts | 清單 | ||
| 發票 | String | = | |
| livemode | Boolean | ||
| 中繼資料 | Struct | ||
| period | Struct | ||
| plan | Struct | ||
| 價格 | Struct | ||
| proration | Boolean | = | |
| 數量 | Integer | ||
| 訂閱 | String | ||
| subscription_item | String | ||
| tax_rates | 清單 | ||
| test_clock | String | ||
| unit_amount | Integer | ||
| unit_amount_decimal | String | ||
| 計畫 | |||
| id | String | ||
| object | String | ||
| active | Boolean | = | |
| aggregate_usage | String | ||
| amount | Integer | ||
| amount_decimal | String | ||
| billing_scheme | String | ||
| 已建立 | DateTime | =, >=, <=, <, > | |
| currency | String | = | |
| 間隔 | String | = | |
| interval_count | Integer | ||
| livemode | Boolean | ||
| 中繼資料 | Struct | ||
| nickname | String | ||
| product | String | = | |
| tiers_mode | String | ||
| transform_usage | Struct | ||
| trial_period_days | Integer | =, <, > | |
| usage_type | String | ||
| meter | String | ||
| 報價 | |||
| id | String | ||
| object | String | ||
| amount_subtotal | Integer | ||
| amount_total | Integer | ||
| 應用程式 | String | ||
| application_fee_amount | Integer | ||
| application_fee_percent | Double | ||
| auto_tax | Struct | ||
| collection_method | String | ||
| computed | Struct | ||
| 已建立 | DateTime | ||
| currency | String | ||
| customer | String | = | |
| default_tax_rates | 清單 | ||
| 描述 | String | ||
| discounts | 清單 | ||
| expires_at | DateTime | ||
| footer | String | ||
| from_quote | Struct | ||
| header | String | ||
| 發票 | String | ||
| invoice_settings | Struct | ||
| livemode | Boolean | ||
| 中繼資料 | Struct | ||
| number | String | ||
| on_behalf_of | String | ||
| status | String | = | |
| status_transitions | Struct | ||
| 訂閱 | String | ||
| subscription_data | Struct | ||
| subscription_schedule | String | ||
| test_clock | String | ||
| total_details | Struct | ||
| transfer_data | Struct | ||
| 訂閱 | |||
| id | String | ||
| object | String | ||
| 應用程式 | String | ||
| application_fee_percent | Double | ||
| auto_tax | Struct | ||
| billing_cycle_anchor | DateTime | ||
| billing_thresholds | Struct | ||
| cancel_at | DateTime | ||
| cancel_at_period_end | Boolean | ||
| canceled_at | DateTime | ||
| collection_method | String | = | |
| 已建立 | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| current_period_end | DateTime | =, >=, <= | |
| current_period_start | DateTime | =, >=, <= | |
| customer | String | = | |
| days_until_due | Integer | ||
| default_payment_method | String | ||
| default_source | String | ||
| default_tax_rates | 清單 | ||
| 描述 | String | ||
| discount | Struct | ||
| ended_at | DateTime | ||
| items | Struct | ||
| latest_invoice | String | ||
| livemode | Boolean | ||
| 中繼資料 | Struct | ||
| next_pending_invoice_item_invoice | DateTime | ||
| pause_collection | Struct | ||
| payment_settings | Struct | ||
| pending_invoice_item_interval | Struct | ||
| pending_setup_intent | String | ||
| pending_update | Struct | ||
| plan | Struct | ||
| 數量 | Integer | ||
| schedule | String | ||
| start_date | DateTime | ||
| status | String | = | |
| test_clock | String | ||
| transfer_data | Struct | ||
| trial_end | DateTime | ||
| trial_start | DateTime | ||
| 訂閱項目 | |||
| Id | String | ||
| object | String | ||
| billing_thresholds | Struct | ||
| 已建立 | DateTime | =, >=, <=, <, > | |
| 中繼資料 | Struct | ||
| plan | Struct | ||
| 價格 | Struct | ||
| 訂閱 | String | ||
| tax_rates | 清單 | ||
| discounts | 清單 | ||
| 訂閱排程 | |||
| object | String | ||
| 應用程式 | String | ||
| canceled_at | DateTime | ||
| completed_at | DateTime | ||
| 已建立 | DateTime | ||
| current_phase | Struct | ||
| customer | String | = | |
| default_settings | Struct | ||
| end_behavior | String | ||
| livemode | Boolean | ||
| 中繼資料 | Struct | ||
| 階段 | 清單 | ||
| released_at | DateTime | ||
| released_subscription | String | ||
| renewal_interval | String | ||
| status | String | ||
| 訂閱 | String | ||
| test_clock | String | ||
| 帳戶 | |||
| details_submitted | Boolean | ||
| tos_acceptance | Struct | ||
| type | String | ||
| 中繼資料 | Struct | ||
| id | String | ||
| object | String | ||
| default_currency | String | ||
| capabilities | Struct | ||
| charges_enabled | Boolean | ||
| 設定 | Struct | ||
| requirements | Struct | ||
| payouts_enabled | Boolean | ||
| future_requirements | Struct | ||
| external_accounts | Struct | ||
| 控制器 | Struct | ||
| 國家/地區 | String | ||
| String | |||
| 已建立 | DateTime | =, >=, <=, <, > | |
| business_profile | Struct | ||
| business_type | String | ||
| company | Struct | ||
| 應用程式費用 | |||
| id | String | ||
| object | String | ||
| 帳戶 | String | ||
| amount | Integer | =, <, > | |
| amount_refunded | Integer | =, <, > | |
| 應用程式 | String | ||
| balance_transaction | String | ||
| charge | String | = | |
| 已建立 | DateTime | ||
| currency | String | ||
| livemode | Boolean | ||
| originating_transaction | String | ||
| refunded | Boolean | = | |
| refunds | Struct | ||
| fee_source | Struct | ||
| 國家/地區規格 | |||
| id | String | ||
| object | String | ||
| default_currency | String | ||
| supported_bank_account_currencies | Struct | ||
| supported_payment_currencies | 清單 | ||
| supported_payment_methods | 清單 | ||
| supported_transfer_countries | 清單 | ||
| verification_fields | Struct | ||
| 轉接 | |||
| id | String | ||
| object | String | ||
| amount | Integer | =, <, > | |
| amount_reversed | Integer | ||
| balance_transaction | String | ||
| 已建立 | DateTime | =, >=, <=, <, > | |
| currency | String | = | |
| 描述 | String | ||
| 目的地 | String | = | |
| destination_payment | String | ||
| livemode | Boolean | ||
| 中繼資料 | Struct | ||
| reversals | Struct | ||
| reversed | Boolean | ||
| source_transaction | String | ||
| source_type | String | ||
| transfer_group | String | = | |
| 早期詐騙警告 | |||
| id | String | ||
| object | String | ||
| actionable | Boolean | ||
| charge | String | = | |
| 已建立 | DateTime | =, >=, <=, <, > | |
| fraud_type | String | ||
| livemode | Boolean | ||
| payment_intent | String | = | |
| 報告類型 | |||
| id | String | ||
| object | String | ||
| data_available_end | DateTime | ||
| data_available_start | DateTime | ||
| default_columns | 清單 | ||
| livemode | Boolean | ||
| name | String | ||
| 已更新 | DateTime | ||
| version | Integer |
分區查詢
如果想要在 Spark 中使用並行,可以提供其他 Spark 選項 PARTITION_FIELD、LOWER_BOUND、UPPER_BOUND、NUM_PARTITIONS。使用這些參數,原始查詢會分區為可由 Spark 任務並行執行的子查詢的 NUM_PARTITIONS 數目。
-
PARTITION_FIELD:用來分區查詢的欄位名稱。 -
LOWER_BOUND:所選分區欄位的包含下限值。對於日期,我們接受 Spark SQL 查詢中使用的 Spark 日期格式。有效值範例:
"2024-07-01T00:00:00.000Z"。 -
UPPER_BOUND:所選分區欄位的唯一上限值。 -
NUM_PARTITIONS:分區數目。
實體分區欄位支援詳細資訊如下表所示。
| 實體名稱 | 分區欄位 | 資料類型 |
|---|---|---|
| 餘額交易 | 已建立 | DateTime |
| 費用 | 已建立 | DateTime |
| 爭論 | 已建立 | DateTime |
| 檔案連結 | 已建立 | DateTime |
| PaymentIntents | 已建立 | DateTime |
| SetupIntents | 已建立 | DateTime |
| 支出 | 已建立 | DateTime |
| 退款 | 已建立 | DateTime |
| 產品 | 已建立 | DateTime |
| 價格 | 已建立 | DateTime |
| 優惠券 | 已建立 | DateTime |
| 促銷代碼 | 已建立 | DateTime |
| 稅率 | 已建立 | DateTime |
| 運費 | 已建立 | DateTime |
| 工作階段 | 已建立 | DateTime |
| 貸記通知單 | 已建立 | DateTime |
| 客戶 | 已建立 | DateTime |
| 發票 | 已建立 | DateTime |
| 計畫 | 已建立 | DateTime |
| 訂閱 | 已建立 | DateTime |
| 訂閱排程 | 已建立 | DateTime |
| 帳戶 | 已建立 | DateTime |
| 應用程式費用 | 已建立 | DateTime |
| 轉接 | 已建立 | DateTime |
| 早期詐騙警告 | 已建立 | DateTime |
範例
stripe_read = glueContext.create_dynamic_frame.from_options( connection_type="stripe", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "coupons", "API_VERSION": "v1", "PARTITION_FIELD": "created" "LOWER_BOUND": "2024-05-01T20:55:02.000Z" "UPPER_BOUND": "2024-07-11T20:55:02.000Z" "NUM_PARTITIONS": "10" } )