Leitura de entidades do Stripe
Pré-requisitos
-
Um objeto do Stripe do qual você deseja ler.
Entidades compatíveis
| Entidade | Pode ser filtrada | Oferece suporte a limite | Oferece suporte a Ordenar por | Oferece suporte a Selecionar * | Oferece suporte a particionamento |
|---|---|---|---|---|---|
| Equilibrar | Não | Não | Não | Sim | Não |
| Equilibrar transações | Sim | Sim | Não | Sim | Sim |
| Cobranças | Sim | Sim | Não | Sim | Sim |
| Disputas | Sim | Sim | Não | Sim | Sim |
| Links de arquivos | Sim | Sim | Não | Sim | Sim |
| PaymentIntents | Sim | Sim | Não | Sim | Sim |
| SetupIntents | Sim | Sim | Não | Sim | Sim |
| Pagamentos | Sim | Sim | Não | Sim | Sim |
| Reembolsos | Sim | Sim | Não | Sim | Sim |
| Produtos | Sim | Sim | Não | Sim | Sim |
| Preços | Sim | Sim | Não | Sim | Sim |
| Cupons | Sim | Sim | Não | Sim | Sim |
| Códigos de promoção | Sim | Sim | Não | Sim | Sim |
| Códigos tributários | Não | Sim | Não | Sim | Não |
| Alíquotas | Sim | Sim | Não | Sim | Sim |
| Taxas de envio | Sim | Sim | Não | Sim | Sim |
| Sessões | Sim | Sim | Não | Sim | Sim |
| Notas de crédito | Sim | Sim | Não | Sim | Sim |
| Cliente | Sim | Sim | Não | Sim | Sim |
| Faturas | Sim | Sim | Não | Sim | Sim |
| Itens da fatura | Sim | Sim | Não | Sim | Não |
| Planos | Sim | Sim | Não | Sim | Sim |
| Cotações | Sim | Sim | Não | Sim | Não |
| Assinaturas | Sim | Sim | Não | Sim | |
| Itens de assinatura | Não | Sim | Não | Sim | Não |
| Programa da assinatura | Sim | Sim | Não | Sim | Sim |
| Contas | Não | Sim | Não | Sim | Sim |
| Taxas de inscrição | Sim | Sim | Não | Sim | Sim |
| Especificações do país | Não | Sim | Não | Sim | Não |
| Transferências | Sim | Sim | Não | Sim | Sim |
| Avisos aantecipados de fraude | Sim | Sim | Não | Sim | Sim |
| Tipos de relatórios | Não | Não | Não | Sim | Não |
Exemplo
stripe_read = glueContext.create_dynamic_frame.from_options( connection_type="stripe", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "coupons", "API_VERSION": "v1" } )
Detalhes das entidades e dos campos do Stripe
| Entidade | Campo | Tipo de dado | Operadores com suporte |
|---|---|---|---|
| Equilibrar | |||
| available | Lista | ||
| connect_reserved | Lista | ||
| pendentes | Lista | ||
| livemode | Booleano | ||
| objeto | String | ||
| instant_available | Lista | ||
| emissão | Struct | ||
| Equilibrar transações | |||
| id | String | ||
| objeto | String | ||
| valor | Inteiro | ||
| available_on | DateTime | =, >=, <=,<,> | |
| created | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| description | String | ||
| exchange_rate | BigDecimal | ||
| taxa | Inteiro | ||
| fee_details | Lista | ||
| net | Inteiro | ||
| reporting_category | String | ||
| origem | String | = | |
| status | String | ||
| type | String | = | |
| cross_border_classification | String | ||
| Cobranças | |||
| id | String | ||
| objeto | String | ||
| valor | Inteiro | =, <, > | |
| amount_captured | Inteiro | ||
| amount_refunded | Inteiro | ||
| aplicação | String | ||
| application_fee | String | ||
| application_fee_amount | Inteiro | ||
| balance_transaction | String | ||
| billing_details | Struct | ||
| calculated_statement_descriptor | String | ||
| capturado | Booleano | ||
| created | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| customer | String | = | |
| description | String | ||
| destination | String | ||
| disputa | String | ||
| disputado | Booleano | = | |
| failure_balance_transaction | String | ||
| failure_code | String | ||
| failure_message | String | ||
| fraud_details | Struct | ||
| fatura | String | ||
| livemode | Booleano | ||
| metadados | Struct | ||
| on_behalf_of | String | ||
| ordem | String | ||
| outcome | Struct | ||
| pago | Booleano | ||
| payment_intent | String | = | |
| payment_method | String | ||
| payment_method_details | Struct | ||
| receipt_email | String | ||
| receipt_number | String | ||
| receipt_url | String | ||
| reembolsado | Booleano | = | |
| reembolsos | Struct | ||
| analisar | String | ||
| envio | Struct | ||
| origem | Struct | ||
| source_transfer | String | ||
| statement_descriptor | String | ||
| statement_descriptor_suffix | String | ||
| status | String | ||
| transferência | String | ||
| transfer_data | Struct | ||
| transfer_group | String | = | |
| Disputas | |||
| id | String | ||
| objeto | String | ||
| valor | Inteiro | =, <, > | |
| balance_transaction | String | ||
| balance_transactions | Lista | ||
| cobrança | String | = | |
| created | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| evidência | Struct | ||
| evidence_details | Struct | ||
| is_charge_refundable | Booleano | ||
| livemode | Booleano | ||
| metadados | Struct | ||
| payment_intent | String | = | |
| reason | String | = | |
| status | String | ||
| payment_method_details | Struct | ||
| Links de arquivos | |||
| id | String | ||
| objeto | String | ||
| created | DateTime | =, >=, <=,<,> | |
| expirado | Booleano | = | |
| expires_at | DateTime | ||
| arquivo | String | = | |
| livemode | Booleano | ||
| metadados | Struct | ||
| url | String | ||
| PaymentIntents | |||
| id | String | ||
| objeto | String | ||
| valor | Inteiro | ||
| amount_capturable | Inteiro | ||
| amount_details | Struct | ||
| amount_received | Inteiro | ||
| aplicação | String | ||
| application_fee_amount | Inteiro | ||
| automatic_payment_methods | Struct | ||
| canceled_at | DateTime | ||
| cancellation_reason | String | ||
| capture_method | String | ||
| client_secret | String | ||
| confirmation_method | String | ||
| created | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| customer | String | = | |
| description | String | ||
| fatura | String | ||
| last_payment_error | Struct | ||
| latest_charge | String | ||
| livemode | Booleano | ||
| metadados | Struct | ||
| next_action | Struct | ||
| on_behalf_of | String | ||
| payment_method | String | ||
| payment_method_options | Struct | ||
| payment_method_types | Lista | ||
| payment_method_configuration_details | Struct | ||
| processamento | Struct | ||
| receipt_email | String | ||
| analisar | String | ||
| setup_future_usage | String | ||
| envio | Struct | ||
| origem | String | ||
| statement_descriptor | String | ||
| statement_descriptor_suffix | String | ||
| status | String | ||
| transfer_data | Struct | ||
| transfer_group | String | ||
| SetupIntents | |||
| id | String | ||
| objeto | String | ||
| aplicação | String | ||
| cancellation_reason | String | ||
| client_secret | String | ||
| created | DateTime | =, >=, <=,<,> | |
| customer | String | = | |
| description | String | ||
| flow_directions | Lista | ||
| last_setup_error | Struct | ||
| latest_attempt | String | ||
| livemode | Booleano | ||
| mandato | String | ||
| metadados | Struct | ||
| next_action | Struct | ||
| on_behalf_of | String | ||
| payment_method | String | ||
| payment_method_options | Struct | ||
| payment_method_types | Lista | ||
| single_use_mandate | String | ||
| status | String | ||
| uso | String | ||
| automatic_payment_methods | Struct | ||
| Pagamentos | |||
| id | String | ||
| objeto | String | ||
| valor | Inteiro | =, <, > | |
| arrival_date | DateTime | =, >=, <=,<,> | |
| automatic | Booleano | ||
| balance_transaction | String | ||
| created | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| description | String | = | |
| destination | String | ||
| failure_balance_transaction | String | ||
| failure_code | String | ||
| failure_message | String | ||
| livemode | Booleano | ||
| metadados | Struct | ||
| method | 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 | Inteiro | ||
| Reembolsos | |||
| id | String | ||
| objeto | String | ||
| valor | Inteiro | ||
| balance_transaction | String | ||
| cobrança | String | = | |
| created | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| metadados | Struct | ||
| destination_details | Struct | ||
| payment_intent | String | = | |
| reason | String | ||
| receipt_number | String | ||
| source_transfer_reversal | String | ||
| status | String | ||
| transfer_reversal | String | ||
| Produtos | |||
| id | String | ||
| objeto | String | ||
| active | Booleano | = | |
| attributes | Lista | ||
| created | DateTime | =, >=, <=,<,> | |
| default_price | String | ||
| description | String | ||
| imagens | Lista | ||
| livemode | Booleano | ||
| metadados | Struct | ||
| nome | String | ||
| package_dimensions | Struct | ||
| enviável | Booleano | ||
| statement_descriptor | String | ||
| tax_code | String | ||
| type | String | = | |
| unit_label | String | ||
| updated | DateTime | ||
| url | String | ||
| recursos | Lista | ||
| Preços | |||
| id | String | ||
| objeto | String | ||
| active | Booleano | = | |
| billing_scheme | String | ||
| created | DateTime | =, >=, <=,<,> | |
| currency | String | = | |
| custom_unit_amount | Struct | ||
| livemode | Booleano | ||
| lookup_key | String | ||
| metadados | Struct | ||
| nickname | String | ||
| product | String | = | |
| recorrente | Struct | ||
| tax_behavior | String | ||
| tiers_mode | String | ||
| transform_quantity | Struct | ||
| type | String | = | |
| unit_amount | Inteiro | ||
| quantidade_unitária decimal | String | ||
| Cupons | |||
| Id | String | ||
| objeto | String | ||
| amount_off | Inteiro | ||
| created | DateTime | =, >=, <=,<,> | |
| currency | String | = | |
| duration | String | = | |
| duration_in_months | Inteiro | =,<,> | |
| livemode | Booleano | ||
| max_redemptions | Inteiro | =, <, > | |
| metadados | Struct | ||
| nome | String | ||
| percent_off | Duplo | = | |
| redeem_by | DateTime | =, >=, <=, <, > | |
| times_redeemed | Inteiro | ||
| valid | Booleano | ||
| Códigos de promoção | |||
| Id | String | ||
| objeto | String | ||
| active | Booleano | = | |
| código | String | = | |
| cupon | Struct | ||
| created | DateTime | =,>=,<=,<,> | |
| customer | String | ||
| expires_at | DateTime | ||
| livemode | Booleano | ||
| max_redemptions | Inteiro | ||
| metadados | Struct | ||
| restrições | Struct | ||
| times_redeemed | Inteiro | ||
| Códigos tributários | |||
| Id | String | ||
| objeto | String | ||
| description | String | ||
| nome | String | ||
| Alíquotas | |||
| Id | String | ||
| objeto | String | ||
| active | Booleano | = | |
| country | String | ||
| created | DateTime | =, >=, <=, <, > | |
| description | String | ||
| display_name | String | ||
| inclusive | Booleano | = | |
| jurisdição | String | ||
| jurisdiction_level | String | ||
| livemode | Booleano | ||
| metadados | Struct | ||
| percentage | Duplo | ||
| effective_percentage | Duplo | ||
| estado | String | ||
| tax_type | String | ||
| Taxas de envio | |||
| Id | String | ||
| objeto | String | ||
| active | Booleano | = | |
| created | DateTime | =, >=, <=, <, > | |
| delivery_estimate | Struct | ||
| display_name | String | ||
| fixed_amount | Struct | ||
| livemode | Booleano | ||
| metadados | Struct | ||
| tax_behavior | String | ||
| tax_code | String | ||
| type | String | ||
| Sessões | |||
| id | String | ||
| objeto | String | ||
| after_expiration | Struct | ||
| allow_promotion_codes | Booleano | ||
| amount_subtotal | Inteiro | ||
| amount_total | Inteiro | ||
| automatic_tax | Struct | ||
| billing_address_collection | String | ||
| cancel_url | String | ||
| client_reference_id | String | ||
| consentimento | Struct | ||
| consent_collection | Struct | ||
| created | DateTime | =, >=, <=, <, > | |
| currency | String | ||
| custom_text | Struct | ||
| customer | String | ||
| customer_creation | String | ||
| customer_details | Struct | ||
| customer_email | String | ||
| expires_at | DateTime | ||
| fatura | String | ||
| invoice_creation | Struct | ||
| livemode | Booleano | ||
| locale | String | ||
| metadados | Struct | ||
| modo | String | ||
| payment_intent | String | = | |
| payment_link | String | ||
| payment_method_collection | String | ||
| payment_method_options | Struct | ||
| payment_method_types | Lista | ||
| 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 | Lista | ||
| status | String | ||
| submit_type | String | ||
| Assinatura | String | ||
| success_url | String | ||
| tax_id_collection | Struct | ||
| total_details | Struct | ||
| url | String | ||
| ui_mode | String | ||
| Notas de crédito | |||
| id | String | ||
| objeto | String | ||
| valor | Inteiro | ||
| created | DateTime | =, >=, <=, <, > | |
| currency | String | ||
| customer | String | = | |
| customer_balance_transaction | String | ||
| discount_amount | Inteiro | ||
| discount_amounts | Lista | ||
| fatura | String | = | |
| lines | Struct | ||
| livemode | Booleano | ||
| memo | String | ||
| metadados | Struct | ||
| número | String | ||
| out_of_band_amount | Inteiro | ||
| String | |||
| reason | String | ||
| reembolso | String | ||
| status | String | ||
| subtotal | Inteiro | ||
| subtotal_excluding_tax | Inteiro | ||
| tax_amounts | Lista | ||
| total | Inteiro | ||
| total_excluding_tax | Inteiro | ||
| type | String | ||
| voided_at | DateTime | ||
| amount_shipping | Inteiro | ||
| effective_at | DateTime | ||
| shipping_cost | Struct | ||
| Cliente | |||
| id | String | ||
| objeto | String | ||
| address | Struct | ||
| balance | Inteiro | ||
| created | DateTime | ||
| currency | String | =, >=, <=, <, > | |
| default_source | String | ||
| delinquente | Booleano | = | |
| description | String | ||
| discount | Struct | ||
| String | = | ||
| invoice_prefix | String | ||
| invoice_settings | Struct | ||
| livemode | Booleano | ||
| metadados | Struct | ||
| nome | String | ||
| next_invoice_sequence | Inteiro | ||
| phone | String | ||
| preferred_locales | Lista | ||
| envio | Struct | ||
| tax_exempt | String | ||
| test_clock | String | ||
| Faturas | |||
| id | String | ||
| objeto | String | ||
| account_country | String | ||
| account_name | String | ||
| account_tax_ids | Lista | ||
| amount_due | Inteiro | ||
| amount_paid | Inteiro | ||
| amount_remaining | Inteiro | ||
| aplicação | String | ||
| application_fee_amount | Inteiro | ||
| attempt_count | Inteiro | ||
| tentado | Booleano | = | |
| auto_advance | Booleano | = | |
| automatic_tax | Struct | ||
| billing_reason | String | ||
| cobrança | String | ||
| collection_method | String | = | |
| created | DateTime | =, >=, <=, <, > | |
| currency | String | ||
| custom_fields | Lista | ||
| customer | String | = | |
| customer_address | Struct | ||
| customer_email | String | ||
| customer_name | String | ||
| customer_phone | String | ||
| customer_shipping | Struct | ||
| customer_tax_exempt | String | ||
| customer_tax_ids | Lista | ||
| default_payment_method | String | ||
| default_source | String | ||
| default_tax_rates | Lista | ||
| description | String | ||
| discount | Struct | ||
| descontos | Lista | ||
| due_date | DateTime | =, >=, <=, <, > | |
| ending_balance | Inteiro | ||
| rodapé | String | ||
| from_invoice | Struct | ||
| hosted_invoice_url | String | ||
| invoice_pdf | String | ||
| last_finalization_error | Struct | ||
| latest_revision | String | ||
| lines | Struct | ||
| livemode | Booleano | ||
| metadados | Struct | ||
| next_payment_attempt | DateTime | ||
| número | String | ||
| on_behalf_of | String | ||
| pago | Booleano | = | |
| paid_out_of_band | Booleano | ||
| payment_intent | String | ||
| payment_settings | Struct | ||
| period_end | DateTime | =, >=, <=, <, > | |
| period_start | DateTime | =, >=, <=, <, > | |
| post_payment_credit_notes_amount | Inteiro | ||
| pre_payment_credit_notes_amount | Inteiro | ||
| cotação | String | ||
| receipt_number | String | ||
| renderização | Struct | ||
| rendering_options | Struct | ||
| starting_balance | Inteiro | ||
| statement_descriptor | String | ||
| status | String | = | |
| status_transitions | Struct | ||
| Assinatura | String | ||
| subscription_details | Struct | ||
| subtotal | Inteiro | =, <, > | |
| subtotal_excluding_tax | Inteiro | ||
| tax | Inteiro | ||
| test_clock | String | ||
| total | Inteiro | =, <, > | |
| total_discount_amounts | Lista | ||
| total_excluding_tax | Inteiro | ||
| total_tax_amounts | Lista | ||
| transfer_data | Struct | ||
| webhooks_delivered_at | DateTime | ||
| automatically_finalizes_at | DateTime | ||
| effective_at | DateTime | ||
| issuer (emissor) | Struct | ||
| Itens da fatura | |||
| id | String | ||
| objeto | String | ||
| valor | Inteiro | =, <, > | |
| currency | String | ||
| customer | String | = | |
| date | DateTime | ||
| description | String | ||
| descontável | Booleano | ||
| descontos | Lista | ||
| fatura | String | = | |
| livemode | Booleano | ||
| metadados | Struct | ||
| período | Struct | ||
| planejar | Struct | ||
| preço | Struct | ||
| rateio | Booleano | = | |
| quantity | Inteiro | ||
| Assinatura | String | ||
| subscription_item | String | ||
| tax_rates | Lista | ||
| test_clock | String | ||
| unit_amount | Inteiro | ||
| quantidade_unitária decimal | String | ||
| Planos | |||
| id | String | ||
| objeto | String | ||
| active | Booleano | = | |
| aggregate_usage | String | ||
| valor | Inteiro | ||
| amount_decimal | String | ||
| billing_scheme | String | ||
| created | DateTime | =, >=, <=, <, > | |
| currency | String | = | |
| intervalo | String | = | |
| interval_count | Inteiro | ||
| livemode | Booleano | ||
| metadados | Struct | ||
| nickname | String | ||
| product | String | = | |
| tiers_mode | String | ||
| transform_usage | Struct | ||
| trial_period_days | Inteiro | =, <, > | |
| usage_type | String | ||
| medida | String | ||
| Cotações | |||
| id | String | ||
| objeto | String | ||
| amount_subtotal | Inteiro | ||
| amount_total | Inteiro | ||
| aplicação | String | ||
| application_fee_amount | Inteiro | ||
| application_fee_percent | Duplo | ||
| automatic_tax | Struct | ||
| collection_method | String | ||
| computado | Struct | ||
| created | DateTime | ||
| currency | String | ||
| customer | String | = | |
| default_tax_rates | Lista | ||
| description | String | ||
| descontos | Lista | ||
| expires_at | DateTime | ||
| rodapé | String | ||
| from_quote | Struct | ||
| cabeçalho | String | ||
| fatura | String | ||
| invoice_settings | Struct | ||
| livemode | Booleano | ||
| metadados | Struct | ||
| número | String | ||
| on_behalf_of | String | ||
| status | String | = | |
| status_transitions | Struct | ||
| Assinatura | String | ||
| subscription_data | Struct | ||
| subscription_schedule | String | ||
| test_clock | String | ||
| total_details | Struct | ||
| transfer_data | Struct | ||
| Assinaturas | |||
| id | String | ||
| objeto | String | ||
| aplicação | String | ||
| application_fee_percent | Duplo | ||
| automatic_tax | Struct | ||
| billing_cycle_anchor | DateTime | ||
| billing_thresholds | Struct | ||
| cancel_at | DateTime | ||
| cancel_at_period_end | Booleano | ||
| canceled_at | DateTime | ||
| collection_method | String | = | |
| created | DateTime | =, >=, <=,<,> | |
| currency | String | ||
| current_period_end | DateTime | =, >=, <= | |
| current_period_start | DateTime | =, >=, <= | |
| customer | String | = | |
| days_until_due | Inteiro | ||
| default_payment_method | String | ||
| default_source | String | ||
| default_tax_rates | Lista | ||
| description | String | ||
| discount | Struct | ||
| ended_at | DateTime | ||
| itens | Struct | ||
| latest_invoice | String | ||
| livemode | Booleano | ||
| metadados | 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 | ||
| planejar | Struct | ||
| quantity | Inteiro | ||
| programar | String | ||
| start_date | DateTime | ||
| status | String | = | |
| test_clock | String | ||
| transfer_data | Struct | ||
| trial_end | DateTime | ||
| trial_start | DateTime | ||
| Itens de assinatura | |||
| Id | String | ||
| objeto | String | ||
| billing_thresholds | Struct | ||
| created | DateTime | =, >=, <=, <, > | |
| metadados | Struct | ||
| planejar | Struct | ||
| preço | Struct | ||
| Assinatura | String | ||
| tax_rates | Lista | ||
| descontos | Lista | ||
| Programa da assinatura | |||
| objeto | String | ||
| aplicação | String | ||
| canceled_at | DateTime | ||
| completed_at | DateTime | ||
| created | DateTime | ||
| current_phase | Struct | ||
| customer | String | = | |
| default_settings | Struct | ||
| end_behavior | String | ||
| livemode | Booleano | ||
| metadados | Struct | ||
| phases | Lista | ||
| released_at | DateTime | ||
| released_subscription | String | ||
| renewal_interval | String | ||
| status | String | ||
| Assinatura | String | ||
| test_clock | String | ||
| Contas | |||
| details_submitted | Booleano | ||
| tos_acceptance | Struct | ||
| type | String | ||
| metadados | Struct | ||
| id | String | ||
| objeto | String | ||
| default_currency | String | ||
| Capacidades | Struct | ||
| charges_enabled | Booleano | ||
| configurações | Struct | ||
| requisitos | Struct | ||
| payouts_enabled | Booleano | ||
| future_requirements | Struct | ||
| external_accounts | Struct | ||
| controlador | Struct | ||
| country | String | ||
| String | |||
| created | DateTime | =, >=, <=, <, > | |
| business_profile | Struct | ||
| business_type | String | ||
| company | Struct | ||
| Taxas de inscrição | |||
| id | String | ||
| objeto | String | ||
| conta | String | ||
| valor | Inteiro | =, <, > | |
| amount_refunded | Inteiro | =, <, > | |
| aplicação | String | ||
| balance_transaction | String | ||
| cobrança | String | = | |
| created | DateTime | ||
| currency | String | ||
| livemode | Booleano | ||
| originating_transaction | String | ||
| reembolsado | Booleano | = | |
| reembolsos | Struct | ||
| fee_source | Struct | ||
| Especificações do país | |||
| id | String | ||
| objeto | String | ||
| default_currency | String | ||
| supported_bank_account_currencies | Struct | ||
| supported_payment_currencies | Lista | ||
| supported_payment_methods | Lista | ||
| supported_transfer_countries | Lista | ||
| verification_fields | Struct | ||
| Transferências | |||
| id | String | ||
| objeto | String | ||
| valor | Inteiro | =, <, > | |
| amount_reversed | Inteiro | ||
| balance_transaction | String | ||
| created | DateTime | =, >=, <=, <, > | |
| currency | String | = | |
| description | String | ||
| destination | String | = | |
| destination_payment | String | ||
| livemode | Booleano | ||
| metadados | Struct | ||
| reversões | Struct | ||
| revertido | Booleano | ||
| source_transaction | String | ||
| source_type | String | ||
| transfer_group | String | = | |
| Avisos aantecipados de fraude | |||
| id | String | ||
| objeto | String | ||
| acionável | Booleano | ||
| cobrança | String | = | |
| created | DateTime | =, >=, <=, <, > | |
| fraud_type | String | ||
| livemode | Booleano | ||
| payment_intent | String | = | |
| Tipos de relatórios | |||
| id | String | ||
| objeto | String | ||
| data_available_end | DateTime | ||
| data_available_start | DateTime | ||
| default_columns | Lista | ||
| livemode | Booleano | ||
| nome | String | ||
| updated | DateTime | ||
| version | Inteiro |
Particionamento de consultas
Podem ser fornecidas as opções adicionais do Spark PARTITION_FIELD, LOWER_BOUND, UPPER_BOUND e NUM_PARTITIONS se você quiser utilizar a simultaneidade no Spark. Com esses parâmetros, a consulta original seria dividida em NUM_PARTITIONS subconsultas, que poderiam ser executadas pelas tarefas do Spark simultaneamente.
-
PARTITION_FIELD: o nome do campo a ser usado para particionar a consulta. -
LOWER_BOUND: um valor limite inferior inclusivo do campo de partição escolhido.Na data, aceitamos o formato de data do Spark usado em consultas SQL do Spark. Exemplo de valor válido:
"2024-07-01T00:00:00.000Z". -
UPPER_BOUND: um valor limite superior exclusivo do campo de partição escolhido. -
NUM_PARTITIONS: número de partições.
Os detalhes do suporte do campo de particionamento relativo às entidades são capturados na tabela a seguir.
| Entity Name | Campo de particionamento | Tipo de dado |
|---|---|---|
| Equilibrar transações | created | DateTime |
| Cobranças | created | DateTime |
| Disputas | created | DateTime |
| Links de arquivos | created | DateTime |
| PaymentIntents | created | DateTime |
| SetupIntents | created | DateTime |
| Pagamentos | created | DateTime |
| Reembolsos | created | DateTime |
| Produtos | created | DateTime |
| Preços | created | DateTime |
| Cupons | created | DateTime |
| Códigos de promoção | created | DateTime |
| Alíquotas | created | DateTime |
| Taxas de envio | created | DateTime |
| Sessões | created | DateTime |
| Notas de crédito | created | DateTime |
| Cliente | created | DateTime |
| Faturas | created | DateTime |
| Planos | created | DateTime |
| Assinaturas | created | DateTime |
| Programa da assinatura | created | DateTime |
| Contas | created | DateTime |
| Taxas de inscrição | created | DateTime |
| Transferências | created | DateTime |
| Avisos aantecipados de fraude | created | DateTime |
Exemplo
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" } )