stripe 13.4.0.pre.beta.1 → 13.4.0.pre.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -1
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/resources/account.rb +23 -745
- data/lib/stripe/resources/account_link.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -22
- data/lib/stripe/resources/account_session.rb +0 -125
- data/lib/stripe/resources/apple_pay_domain.rb +0 -10
- data/lib/stripe/resources/application.rb +0 -3
- data/lib/stripe/resources/application_fee.rb +0 -24
- data/lib/stripe/resources/application_fee_refund.rb +0 -7
- data/lib/stripe/resources/apps/secret.rb +0 -25
- data/lib/stripe/resources/balance.rb +0 -31
- data/lib/stripe/resources/balance_transaction.rb +0 -29
- data/lib/stripe/resources/bank_account.rb +0 -29
- data/lib/stripe/resources/billing/alert.rb +0 -22
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -5
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -12
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -24
- data/lib/stripe/resources/billing/credit_grant.rb +0 -32
- data/lib/stripe/resources/billing/meter.rb +0 -25
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -11
- data/lib/stripe/resources/billing/meter_event.rb +0 -10
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -8
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -6
- data/lib/stripe/resources/billing_portal/configuration.rb +0 -77
- data/lib/stripe/resources/billing_portal/session.rb +0 -42
- data/lib/stripe/resources/capability.rb +2 -29
- data/lib/stripe/resources/capital/financing_offer.rb +0 -33
- data/lib/stripe/resources/capital/financing_summary.rb +0 -13
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
- data/lib/stripe/resources/card.rb +2 -34
- data/lib/stripe/resources/cash_balance.rb +0 -5
- data/lib/stripe/resources/charge.rb +4 -665
- data/lib/stripe/resources/checkout/session.rb +4 -512
- data/lib/stripe/resources/climate/order.rb +0 -40
- data/lib/stripe/resources/climate/product.rb +0 -13
- data/lib/stripe/resources/climate/supplier.rb +0 -13
- data/lib/stripe/resources/confirmation_token.rb +2 -337
- data/lib/stripe/resources/connect_collection_transfer.rb +0 -5
- data/lib/stripe/resources/country_spec.rb +0 -13
- data/lib/stripe/resources/coupon.rb +0 -39
- data/lib/stripe/resources/credit_note.rb +0 -138
- data/lib/stripe/resources/credit_note_line_item.rb +0 -24
- data/lib/stripe/resources/customer.rb +1 -156
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -12
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -27
- data/lib/stripe/resources/customer_session.rb +0 -24
- data/lib/stripe/resources/discount.rb +0 -12
- data/lib/stripe/resources/dispute.rb +4 -152
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -3
- data/lib/stripe/resources/entitlements/feature.rb +0 -17
- data/lib/stripe/resources/ephemeral_key.rb +0 -5
- data/lib/stripe/resources/event.rb +0 -27
- data/lib/stripe/resources/exchange_rate.rb +0 -5
- data/lib/stripe/resources/file.rb +0 -23
- data/lib/stripe/resources/file_link.rb +0 -22
- data/lib/stripe/resources/financial_connections/account.rb +0 -47
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -3
- data/lib/stripe/resources/financial_connections/account_owner.rb +0 -7
- data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -3
- data/lib/stripe/resources/financial_connections/institution.rb +0 -13
- data/lib/stripe/resources/financial_connections/session.rb +0 -28
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -21
- data/lib/stripe/resources/forwarding/request.rb +0 -31
- data/lib/stripe/resources/funding_instructions.rb +0 -107
- data/lib/stripe/resources/gift_cards/card.rb +0 -28
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -32
- data/lib/stripe/resources/identity/verification_report.rb +0 -69
- data/lib/stripe/resources/identity/verification_session.rb +0 -69
- data/lib/stripe/resources/invoice.rb +6 -1276
- data/lib/stripe/resources/invoice_item.rb +0 -91
- data/lib/stripe/resources/invoice_line_item.rb +0 -76
- data/lib/stripe/resources/invoice_payment.rb +0 -16
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
- data/lib/stripe/resources/issuing/authorization.rb +0 -199
- data/lib/stripe/resources/issuing/card.rb +0 -128
- data/lib/stripe/resources/issuing/cardholder.rb +0 -110
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
- data/lib/stripe/resources/issuing/dispute.rb +0 -151
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -14
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -14
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -48
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
- data/lib/stripe/resources/issuing/settlement.rb +0 -16
- data/lib/stripe/resources/issuing/token.rb +0 -46
- data/lib/stripe/resources/issuing/transaction.rb +0 -171
- data/lib/stripe/resources/line_item.rb +0 -23
- data/lib/stripe/resources/login_link.rb +0 -2
- data/lib/stripe/resources/mandate.rb +0 -45
- data/lib/stripe/resources/margin.rb +0 -19
- data/lib/stripe/resources/order.rb +3 -391
- data/lib/stripe/resources/payment_attempt_record.rb +0 -42
- data/lib/stripe/resources/payment_intent.rb +2 -1768
- data/lib/stripe/resources/payment_link.rb +15 -213
- data/lib/stripe/resources/payment_method.rb +2 -345
- data/lib/stripe/resources/payment_method_configuration.rb +0 -293
- data/lib/stripe/resources/payment_method_domain.rb +0 -23
- data/lib/stripe/resources/payment_record.rb +0 -109
- data/lib/stripe/resources/payout.rb +0 -49
- data/lib/stripe/resources/person.rb +2 -92
- data/lib/stripe/resources/plan.rb +0 -69
- data/lib/stripe/resources/price.rb +0 -133
- data/lib/stripe/resources/product.rb +0 -100
- data/lib/stripe/resources/product_feature.rb +0 -4
- data/lib/stripe/resources/promotion_code.rb +0 -40
- data/lib/stripe/resources/quote.rb +0 -458
- data/lib/stripe/resources/quote_line.rb +0 -66
- data/lib/stripe/resources/quote_preview_invoice.rb +3 -184
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -101
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -16
- data/lib/stripe/resources/radar/value_list.rb +0 -26
- data/lib/stripe/resources/radar/value_list_item.rb +0 -18
- data/lib/stripe/resources/refund.rb +0 -92
- data/lib/stripe/resources/reporting/report_run.rb +0 -32
- data/lib/stripe/resources/reporting/report_type.rb +0 -8
- data/lib/stripe/resources/reserve_transaction.rb +0 -4
- data/lib/stripe/resources/reversal.rb +0 -9
- data/lib/stripe/resources/review.rb +0 -27
- data/lib/stripe/resources/setup_attempt.rb +2 -103
- data/lib/stripe/resources/setup_intent.rb +2 -539
- data/lib/stripe/resources/shipping_rate.rb +0 -44
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -13
- data/lib/stripe/resources/source.rb +6 -338
- data/lib/stripe/resources/source_mandate_notification.rb +0 -13
- data/lib/stripe/resources/source_transaction.rb +0 -29
- data/lib/stripe/resources/subscription.rb +0 -338
- data/lib/stripe/resources/subscription_item.rb +0 -69
- data/lib/stripe/resources/subscription_schedule.rb +0 -388
- data/lib/stripe/resources/tax/association.rb +0 -11
- data/lib/stripe/resources/tax/calculation.rb +2 -89
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -20
- data/lib/stripe/resources/tax/form.rb +2 -35
- data/lib/stripe/resources/tax/registration.rb +421 -213
- data/lib/stripe/resources/tax/settings.rb +0 -20
- data/lib/stripe/resources/tax/transaction.rb +1 -66
- data/lib/stripe/resources/tax/transaction_line_item.rb +0 -12
- data/lib/stripe/resources/tax_code.rb +0 -6
- data/lib/stripe/resources/tax_deducted_at_source.rb +0 -4
- data/lib/stripe/resources/tax_id.rb +2 -28
- data/lib/stripe/resources/tax_rate.rb +0 -45
- data/lib/stripe/resources/terminal/configuration.rb +0 -164
- data/lib/stripe/resources/terminal/connection_token.rb +0 -3
- data/lib/stripe/resources/terminal/location.rb +0 -33
- data/lib/stripe/resources/terminal/reader.rb +0 -129
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -5
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -15
- data/lib/stripe/resources/token.rb +4 -192
- data/lib/stripe/resources/topup.rb +0 -36
- data/lib/stripe/resources/transfer.rb +0 -35
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -21
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -23
- data/lib/stripe/resources/treasury/financial_account.rb +77 -71
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -46
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -50
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -92
- data/lib/stripe/resources/treasury/outbound_transfer.rb +25 -66
- data/lib/stripe/resources/treasury/received_credit.rb +6 -58
- data/lib/stripe/resources/treasury/received_debit.rb +0 -54
- data/lib/stripe/resources/treasury/transaction.rb +0 -39
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -36
- data/lib/stripe/resources/usage_record.rb +0 -5
- data/lib/stripe/resources/usage_record_summary.rb +0 -7
- data/lib/stripe/resources/v2/billing/meter_event.rb +0 -6
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -7
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -5
- data/lib/stripe/resources/v2/event.rb +0 -8
- data/lib/stripe/resources/v2/event_destination.rb +0 -19
- data/lib/stripe/resources/webhook_endpoint.rb +0 -26
- data/lib/stripe/services/account_capability_service.rb +0 -1
- data/lib/stripe/services/account_external_account_service.rb +0 -43
- data/lib/stripe/services/account_link_service.rb +0 -7
- data/lib/stripe/services/account_notice_service.rb +0 -9
- data/lib/stripe/services/account_person_service.rb +0 -139
- data/lib/stripe/services/account_service.rb +8 -519
- data/lib/stripe/services/account_session_service.rb +0 -76
- data/lib/stripe/services/apple_pay_domain_service.rb +0 -5
- data/lib/stripe/services/application_fee_refund_service.rb +0 -6
- data/lib/stripe/services/application_fee_service.rb +0 -8
- data/lib/stripe/services/apps/secret_service.rb +0 -16
- data/lib/stripe/services/balance_transaction_service.rb +0 -11
- data/lib/stripe/services/billing/alert_service.rb +0 -12
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -4
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -5
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -16
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -3
- data/lib/stripe/services/billing/meter_event_service.rb +0 -4
- data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -7
- data/lib/stripe/services/billing/meter_service.rb +0 -12
- data/lib/stripe/services/billing_portal/configuration_service.rb +0 -48
- data/lib/stripe/services/billing_portal/session_service.rb +0 -19
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -9
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -7
- data/lib/stripe/services/charge_service.rb +0 -274
- data/lib/stripe/services/checkout/session_line_item_service.rb +0 -3
- data/lib/stripe/services/checkout/session_service.rb +2 -273
- data/lib/stripe/services/climate/order_service.rb +0 -11
- data/lib/stripe/services/climate/product_service.rb +0 -3
- data/lib/stripe/services/climate/supplier_service.rb +0 -3
- data/lib/stripe/services/country_spec_service.rb +0 -3
- data/lib/stripe/services/coupon_service.rb +0 -22
- data/lib/stripe/services/credit_note_line_item_service.rb +0 -3
- data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -28
- data/lib/stripe/services/credit_note_service.rb +0 -61
- data/lib/stripe/services/customer_balance_transaction_service.rb +0 -9
- data/lib/stripe/services/customer_cash_balance_service.rb +0 -1
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -3
- data/lib/stripe/services/customer_funding_instructions_service.rb +0 -5
- data/lib/stripe/services/customer_payment_method_service.rb +0 -5
- data/lib/stripe/services/customer_payment_source_service.rb +0 -29
- data/lib/stripe/services/customer_service.rb +1 -92
- data/lib/stripe/services/customer_session_service.rb +0 -10
- data/lib/stripe/services/customer_tax_id_service.rb +1 -6
- data/lib/stripe/services/dispute_service.rb +2 -67
- data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -4
- data/lib/stripe/services/entitlements/feature_service.rb +0 -11
- data/lib/stripe/services/ephemeral_key_service.rb +0 -4
- data/lib/stripe/services/event_service.rb +0 -10
- data/lib/stripe/services/exchange_rate_service.rb +0 -3
- data/lib/stripe/services/file_link_service.rb +0 -14
- data/lib/stripe/services/file_service.rb +0 -13
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -3
- data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -4
- data/lib/stripe/services/financial_connections/account_service.rb +0 -9
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -3
- data/lib/stripe/services/financial_connections/session_service.rb +0 -11
- data/lib/stripe/services/financial_connections/transaction_service.rb +0 -9
- data/lib/stripe/services/forwarding/request_service.rb +0 -14
- data/lib/stripe/services/gift_cards/card_service.rb +0 -13
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -16
- data/lib/stripe/services/identity/verification_report_service.rb +0 -10
- data/lib/stripe/services/identity/verification_session_service.rb +0 -30
- data/lib/stripe/services/invoice_item_service.rb +0 -66
- data/lib/stripe/services/invoice_line_item_service.rb +0 -40
- data/lib/stripe/services/invoice_payment_service.rb +0 -3
- data/lib/stripe/services/invoice_rendering_template_service.rb +0 -5
- data/lib/stripe/services/invoice_service.rb +2 -810
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +1 -279
- data/lib/stripe/services/issuing/authorization_service.rb +0 -14
- data/lib/stripe/services/issuing/card_service.rb +0 -70
- data/lib/stripe/services/issuing/cardholder_service.rb +0 -73
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -56
- data/lib/stripe/services/issuing/dispute_service.rb +0 -98
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -4
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -7
- data/lib/stripe/services/issuing/personalization_design_service.rb +0 -29
- data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -5
- data/lib/stripe/services/issuing/token_service.rb +0 -10
- data/lib/stripe/services/issuing/transaction_service.rb +0 -12
- data/lib/stripe/services/margin_service.rb +0 -11
- data/lib/stripe/services/order_line_item_service.rb +0 -3
- data/lib/stripe/services/order_service.rb +2 -266
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -1
- data/lib/stripe/services/payment_intent_service.rb +0 -1309
- data/lib/stripe/services/payment_link_line_item_service.rb +0 -3
- data/lib/stripe/services/payment_link_service.rb +15 -135
- data/lib/stripe/services/payment_method_configuration_service.rb +0 -102
- data/lib/stripe/services/payment_method_domain_service.rb +0 -8
- data/lib/stripe/services/payment_method_service.rb +0 -113
- data/lib/stripe/services/payment_record_service.rb +0 -68
- data/lib/stripe/services/payout_service.rb +0 -23
- data/lib/stripe/services/plan_service.rb +0 -43
- data/lib/stripe/services/price_service.rb +0 -87
- data/lib/stripe/services/product_feature_service.rb +0 -4
- data/lib/stripe/services/product_service.rb +0 -74
- data/lib/stripe/services/promotion_code_service.rb +0 -25
- data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -3
- data/lib/stripe/services/quote_line_item_service.rb +0 -3
- data/lib/stripe/services/quote_line_service.rb +0 -3
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -3
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -3
- data/lib/stripe/services/quote_service.rb +0 -309
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -9
- data/lib/stripe/services/radar/value_list_item_service.rb +0 -11
- data/lib/stripe/services/radar/value_list_service.rb +0 -16
- data/lib/stripe/services/refund_service.rb +0 -21
- data/lib/stripe/services/reporting/report_run_service.rb +0 -16
- data/lib/stripe/services/review_service.rb +0 -7
- data/lib/stripe/services/setup_attempt_service.rb +0 -8
- data/lib/stripe/services/setup_intent_service.rb +0 -447
- data/lib/stripe/services/shipping_rate_service.rb +0 -27
- data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -3
- data/lib/stripe/services/source_service.rb +0 -92
- data/lib/stripe/services/source_transaction_service.rb +0 -3
- data/lib/stripe/services/subscription_item_service.rb +0 -56
- data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -3
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -3
- data/lib/stripe/services/subscription_schedule_service.rb +0 -290
- data/lib/stripe/services/subscription_service.rb +0 -245
- data/lib/stripe/services/tax/association_service.rb +0 -1
- data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -3
- data/lib/stripe/services/tax/calculation_service.rb +1 -31
- data/lib/stripe/services/tax/form_service.rb +0 -7
- data/lib/stripe/services/tax/registration_service.rb +274 -108
- data/lib/stripe/services/tax/settings_service.rb +0 -8
- data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -3
- data/lib/stripe/services/tax/transaction_service.rb +0 -17
- data/lib/stripe/services/tax_code_service.rb +0 -3
- data/lib/stripe/services/tax_id_service.rb +1 -12
- data/lib/stripe/services/tax_rate_service.rb +0 -27
- data/lib/stripe/services/terminal/configuration_service.rb +0 -108
- data/lib/stripe/services/terminal/connection_token_service.rb +0 -1
- data/lib/stripe/services/terminal/location_service.rb +0 -21
- data/lib/stripe/services/terminal/reader_service.rb +0 -53
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -89
- data/lib/stripe/services/test_helpers/customer_service.rb +0 -3
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -99
- data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -2
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -91
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -4
- data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -1
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -11
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -11
- data/lib/stripe/services/token_service.rb +4 -184
- data/lib/stripe/services/topup_service.rb +0 -21
- data/lib/stripe/services/transfer_reversal_service.rb +0 -8
- data/lib/stripe/services/transfer_service.rb +0 -19
- data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -8
- data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -9
- data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -10
- data/lib/stripe/services/treasury/financial_account_service.rb +64 -36
- data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -12
- data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -38
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +16 -15
- data/lib/stripe/services/treasury/received_credit_service.rb +0 -6
- data/lib/stripe/services/treasury/received_debit_service.rb +0 -5
- data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -14
- data/lib/stripe/services/treasury/transaction_service.rb +0 -14
- data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -2
- data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -3
- data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -3
- data/lib/stripe/services/v2/core/event_destination_service.rb +0 -18
- data/lib/stripe/services/v2/core/event_service.rb +0 -2
- data/lib/stripe/services/webhook_endpoint_service.rb +0 -14
- data/lib/stripe/stripe_client.rb +1 -1
- data/lib/stripe/stripe_object.rb +3 -3
- data/lib/stripe/util.rb +1 -1
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe/resources/account.rbi +29 -1001
- data/rbi/stripe/resources/account_link.rbi +0 -13
- data/rbi/stripe/resources/account_notice.rbi +0 -27
- data/rbi/stripe/resources/account_session.rbi +0 -166
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -14
- data/rbi/stripe/resources/application.rbi +0 -3
- data/rbi/stripe/resources/application_fee.rbi +0 -28
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -7
- data/rbi/stripe/resources/apps/secret.rbi +0 -34
- data/rbi/stripe/resources/balance.rbi +0 -33
- data/rbi/stripe/resources/balance_transaction.rbi +0 -33
- data/rbi/stripe/resources/bank_account.rbi +0 -29
- data/rbi/stripe/resources/billing/alert.rbi +0 -31
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -5
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -16
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -27
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -43
- data/rbi/stripe/resources/billing/meter.rbi +0 -35
- data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -11
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -12
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -11
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -6
- data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -106
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -55
- data/rbi/stripe/resources/capability.rbi +2 -29
- data/rbi/stripe/resources/capital/financing_offer.rbi +0 -38
- data/rbi/stripe/resources/capital/financing_summary.rbi +0 -15
- data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -27
- data/rbi/stripe/resources/card.rbi +3 -34
- data/rbi/stripe/resources/cash_balance.rbi +0 -5
- data/rbi/stripe/resources/charge.rbi +6 -738
- data/rbi/stripe/resources/checkout/session.rbi +4 -636
- data/rbi/stripe/resources/climate/order.rbi +0 -48
- data/rbi/stripe/resources/climate/product.rbi +0 -16
- data/rbi/stripe/resources/climate/supplier.rbi +0 -16
- data/rbi/stripe/resources/confirmation_token.rbi +3 -364
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -5
- data/rbi/stripe/resources/country_spec.rbi +0 -16
- data/rbi/stripe/resources/coupon.rbi +0 -48
- data/rbi/stripe/resources/credit_note.rbi +0 -159
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -24
- data/rbi/stripe/resources/customer.rbi +1 -188
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -12
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -27
- data/rbi/stripe/resources/customer_session.rbi +0 -31
- data/rbi/stripe/resources/discount.rbi +0 -12
- data/rbi/stripe/resources/dispute.rbi +4 -166
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -11
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -3
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -22
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -7
- data/rbi/stripe/resources/event.rbi +0 -31
- data/rbi/stripe/resources/exchange_rate.rbi +0 -8
- data/rbi/stripe/resources/file.rbi +0 -29
- data/rbi/stripe/resources/file_link.rbi +0 -28
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -56
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -3
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -7
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -3
- data/rbi/stripe/resources/financial_connections/institution.rbi +0 -16
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -26
- data/rbi/stripe/resources/forwarding/request.rbi +0 -38
- data/rbi/stripe/resources/funding_instructions.rbi +0 -107
- data/rbi/stripe/resources/gift_cards/card.rbi +0 -36
- data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -41
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -73
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -83
- data/rbi/stripe/resources/invoice.rbi +7 -1663
- data/rbi/stripe/resources/invoice_item.rbi +0 -107
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -86
- data/rbi/stripe/resources/invoice_payment.rbi +0 -16
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -17
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -245
- data/rbi/stripe/resources/issuing/card.rbi +0 -153
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -138
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -109
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -177
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -17
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -18
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -62
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -16
- data/rbi/stripe/resources/issuing/settlement.rbi +0 -16
- data/rbi/stripe/resources/issuing/token.rbi +0 -51
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -205
- data/rbi/stripe/resources/line_item.rbi +0 -23
- data/rbi/stripe/resources/login_link.rbi +0 -2
- data/rbi/stripe/resources/mandate.rbi +0 -47
- data/rbi/stripe/resources/margin.rbi +0 -24
- data/rbi/stripe/resources/order.rbi +3 -492
- data/rbi/stripe/resources/payment_attempt_record.rbi +0 -45
- data/rbi/stripe/resources/payment_intent.rbi +3 -2224
- data/rbi/stripe/resources/payment_link.rbi +14 -291
- data/rbi/stripe/resources/payment_method.rbi +3 -382
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -486
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -29
- data/rbi/stripe/resources/payment_record.rbi +0 -134
- data/rbi/stripe/resources/payout.rbi +0 -58
- data/rbi/stripe/resources/person.rbi +2 -92
- data/rbi/stripe/resources/plan.rbi +0 -78
- data/rbi/stripe/resources/price.rbi +0 -153
- data/rbi/stripe/resources/product.rbi +0 -120
- data/rbi/stripe/resources/product_feature.rbi +0 -4
- data/rbi/stripe/resources/promotion_code.rbi +0 -50
- data/rbi/stripe/resources/quote.rbi +0 -593
- data/rbi/stripe/resources/quote_line.rbi +0 -66
- data/rbi/stripe/resources/quote_preview_invoice.rbi +4 -184
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -101
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -20
- data/rbi/stripe/resources/radar/value_list.rbi +0 -32
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -23
- data/rbi/stripe/resources/refund.rbi +0 -100
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -38
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -11
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -4
- data/rbi/stripe/resources/reversal.rbi +0 -9
- data/rbi/stripe/resources/review.rbi +0 -32
- data/rbi/stripe/resources/setup_attempt.rbi +3 -106
- data/rbi/stripe/resources/setup_intent.rbi +3 -688
- data/rbi/stripe/resources/shipping_rate.rbi +0 -57
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -16
- data/rbi/stripe/resources/source.rbi +9 -365
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -13
- data/rbi/stripe/resources/source_transaction.rbi +0 -29
- data/rbi/stripe/resources/subscription.rbi +0 -431
- data/rbi/stripe/resources/subscription_item.rbi +0 -88
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -504
- data/rbi/stripe/resources/tax/association.rbi +0 -13
- data/rbi/stripe/resources/tax/calculation.rbi +2 -100
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -20
- data/rbi/stripe/resources/tax/form.rbi +2 -40
- data/rbi/stripe/resources/tax/registration.rbi +401 -317
- data/rbi/stripe/resources/tax/settings.rbi +0 -26
- data/rbi/stripe/resources/tax/transaction.rbi +1 -73
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -12
- data/rbi/stripe/resources/tax_code.rbi +0 -9
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -4
- data/rbi/stripe/resources/tax_id.rbi +2 -34
- data/rbi/stripe/resources/tax_rate.rbi +0 -51
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -211
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -5
- data/rbi/stripe/resources/terminal/location.rbi +0 -40
- data/rbi/stripe/resources/terminal/reader.rbi +0 -158
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -7
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -20
- data/rbi/stripe/resources/token.rbi +5 -235
- data/rbi/stripe/resources/topup.rbi +0 -44
- data/rbi/stripe/resources/transfer.rbi +0 -41
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -25
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -27
- data/rbi/stripe/resources/treasury/financial_account.rbi +70 -124
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -46
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -59
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -113
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +28 -84
- data/rbi/stripe/resources/treasury/received_credit.rbi +7 -67
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -62
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -45
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -41
- data/rbi/stripe/resources/usage_record.rbi +0 -5
- data/rbi/stripe/resources/usage_record_summary.rbi +0 -7
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -6
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -7
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -5
- data/rbi/stripe/resources/v2/event.rbi +0 -8
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -19
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -31
- data/rbi/stripe/services/account_capability_service.rbi +0 -4
- data/rbi/stripe/services/account_external_account_service.rbi +0 -52
- data/rbi/stripe/services/account_link_service.rbi +0 -9
- data/rbi/stripe/services/account_login_link_service.rbi +0 -1
- data/rbi/stripe/services/account_notice_service.rbi +0 -13
- data/rbi/stripe/services/account_person_service.rbi +0 -174
- data/rbi/stripe/services/account_service.rbi +10 -773
- data/rbi/stripe/services/account_session_service.rbi +0 -116
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -8
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -10
- data/rbi/stripe/services/application_fee_service.rbi +0 -11
- data/rbi/stripe/services/apps/secret_service.rbi +0 -24
- data/rbi/stripe/services/balance_service.rbi +0 -1
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -14
- data/rbi/stripe/services/billing/alert_service.rbi +0 -20
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -7
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -7
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -26
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -5
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -5
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -8
- data/rbi/stripe/services/billing/meter_service.rbi +0 -21
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -76
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -31
- data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -13
- data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -1
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -9
- data/rbi/stripe/services/charge_service.rbi +0 -346
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -4
- data/rbi/stripe/services/checkout/session_service.rbi +2 -395
- data/rbi/stripe/services/climate/order_service.rbi +0 -18
- data/rbi/stripe/services/climate/product_service.rbi +0 -5
- data/rbi/stripe/services/climate/supplier_service.rbi +0 -5
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -1
- data/rbi/stripe/services/country_spec_service.rbi +0 -5
- data/rbi/stripe/services/coupon_service.rbi +0 -30
- data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -4
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -33
- data/rbi/stripe/services/credit_note_service.rbi +0 -76
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -13
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -4
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -5
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -8
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -7
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -37
- data/rbi/stripe/services/customer_service.rbi +1 -117
- data/rbi/stripe/services/customer_session_service.rbi +0 -16
- data/rbi/stripe/services/customer_tax_id_service.rbi +1 -9
- data/rbi/stripe/services/dispute_service.rbi +2 -80
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -6
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -15
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -6
- data/rbi/stripe/services/event_service.rbi +0 -13
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -5
- data/rbi/stripe/services/file_link_service.rbi +0 -19
- data/rbi/stripe/services/file_service.rbi +0 -18
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -4
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -5
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -16
- data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -5
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -17
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -13
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -20
- data/rbi/stripe/services/gift_cards/card_service.rbi +0 -20
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -24
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -13
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -43
- data/rbi/stripe/services/invoice_item_service.rbi +0 -81
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -50
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -5
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -9
- data/rbi/stripe/services/invoice_service.rbi +2 -1100
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +1 -375
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -20
- data/rbi/stripe/services/issuing/card_service.rbi +0 -89
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -100
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -82
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -123
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -6
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -10
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -38
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -7
- data/rbi/stripe/services/issuing/token_service.rbi +0 -14
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -1
- data/rbi/stripe/services/margin_service.rbi +0 -15
- data/rbi/stripe/services/order_line_item_service.rbi +0 -4
- data/rbi/stripe/services/order_service.rbi +2 -365
- data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -3
- data/rbi/stripe/services/payment_intent_service.rbi +0 -1764
- data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -4
- data/rbi/stripe/services/payment_link_service.rbi +14 -211
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -294
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
- data/rbi/stripe/services/payment_method_service.rbi +0 -149
- data/rbi/stripe/services/payment_record_service.rbi +0 -92
- data/rbi/stripe/services/payout_service.rbi +0 -31
- data/rbi/stripe/services/plan_service.rbi +0 -51
- data/rbi/stripe/services/price_service.rbi +0 -106
- data/rbi/stripe/services/product_feature_service.rbi +0 -7
- data/rbi/stripe/services/product_service.rbi +0 -93
- data/rbi/stripe/services/promotion_code_service.rbi +0 -34
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -4
- data/rbi/stripe/services/quote_line_item_service.rbi +0 -4
- data/rbi/stripe/services/quote_line_service.rbi +0 -4
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -4
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -4
- data/rbi/stripe/services/quote_service.rbi +0 -440
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -12
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -15
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -21
- data/rbi/stripe/services/refund_service.rbi +0 -27
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -21
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -2
- data/rbi/stripe/services/review_service.rbi +0 -11
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -10
- data/rbi/stripe/services/setup_intent_service.rbi +0 -595
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -39
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -5
- data/rbi/stripe/services/source_service.rbi +0 -119
- data/rbi/stripe/services/source_transaction_service.rbi +0 -4
- data/rbi/stripe/services/subscription_item_service.rbi +0 -74
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -4
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -4
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -405
- data/rbi/stripe/services/subscription_service.rbi +0 -337
- data/rbi/stripe/services/tax/association_service.rbi +0 -2
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -4
- data/rbi/stripe/services/tax/calculation_service.rbi +1 -40
- data/rbi/stripe/services/tax/form_service.rbi +0 -11
- data/rbi/stripe/services/tax/registration_service.rbi +233 -211
- data/rbi/stripe/services/tax/settings_service.rbi +0 -13
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -4
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -22
- data/rbi/stripe/services/tax_code_service.rbi +0 -5
- data/rbi/stripe/services/tax_id_service.rbi +1 -17
- data/rbi/stripe/services/tax_rate_service.rbi +0 -32
- data/rbi/stripe/services/terminal/configuration_service.rbi +0 -154
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -2
- data/rbi/stripe/services/terminal/location_service.rbi +0 -27
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -1
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -78
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -114
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -4
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -138
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -5
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -6
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -120
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -1
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -7
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -10
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -5
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -16
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -16
- data/rbi/stripe/services/token_service.rbi +5 -226
- data/rbi/stripe/services/topup_service.rbi +0 -28
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -12
- data/rbi/stripe/services/transfer_service.rbi +0 -24
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -11
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -12
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -25
- data/rbi/stripe/services/treasury/financial_account_service.rbi +62 -73
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -16
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -50
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +17 -24
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -9
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -7
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -18
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -19
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -4
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -4
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -5
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -25
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -3
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -18
- metadata +2 -2
@@ -13,16 +13,12 @@ module Stripe
|
|
13
13
|
class ListParams < Stripe::RequestParams
|
14
14
|
# Only return orders for the given customer.
|
15
15
|
attr_accessor :customer
|
16
|
-
|
17
16
|
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
18
17
|
attr_accessor :ending_before
|
19
|
-
|
20
18
|
# Specifies which fields in the response should be expanded.
|
21
19
|
attr_accessor :expand
|
22
|
-
|
23
20
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
24
21
|
attr_accessor :limit
|
25
|
-
|
26
22
|
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
27
23
|
attr_accessor :starting_after
|
28
24
|
|
@@ -55,19 +51,14 @@ module Stripe
|
|
55
51
|
class Address < Stripe::RequestParams
|
56
52
|
# City, district, suburb, town, or village.
|
57
53
|
attr_accessor :city
|
58
|
-
|
59
54
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
60
55
|
attr_accessor :country
|
61
|
-
|
62
56
|
# Address line 1 (e.g., street, PO Box, or company name).
|
63
57
|
attr_accessor :line1
|
64
|
-
|
65
58
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
66
59
|
attr_accessor :line2
|
67
|
-
|
68
60
|
# ZIP or postal code.
|
69
61
|
attr_accessor :postal_code
|
70
|
-
|
71
62
|
# State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix. Example: "NY" or "TX".
|
72
63
|
attr_accessor :state
|
73
64
|
|
@@ -89,13 +80,10 @@ module Stripe
|
|
89
80
|
end
|
90
81
|
# The billing address provided by the customer.
|
91
82
|
attr_accessor :address
|
92
|
-
|
93
83
|
# The billing email provided by the customer.
|
94
84
|
attr_accessor :email
|
95
|
-
|
96
85
|
# The billing name provided by the customer.
|
97
86
|
attr_accessor :name
|
98
|
-
|
99
87
|
# The billing phone number provided by the customer.
|
100
88
|
attr_accessor :phone
|
101
89
|
|
@@ -110,7 +98,6 @@ module Stripe
|
|
110
98
|
class Credit < Stripe::RequestParams
|
111
99
|
# The gift card to apply to the order.
|
112
100
|
attr_accessor :gift_card
|
113
|
-
|
114
101
|
# The type of credit to apply to the order, only `gift_card` currently supported.
|
115
102
|
attr_accessor :type
|
116
103
|
|
@@ -123,10 +110,8 @@ module Stripe
|
|
123
110
|
class Discount < Stripe::RequestParams
|
124
111
|
# ID of the coupon to create a new discount for.
|
125
112
|
attr_accessor :coupon
|
126
|
-
|
127
113
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
128
114
|
attr_accessor :discount
|
129
|
-
|
130
115
|
# ID of the promotion code to create a new discount for.
|
131
116
|
attr_accessor :promotion_code
|
132
117
|
|
@@ -141,7 +126,6 @@ module Stripe
|
|
141
126
|
class Discount < Stripe::RequestParams
|
142
127
|
# ID of the coupon to create a new discount for.
|
143
128
|
attr_accessor :coupon
|
144
|
-
|
145
129
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
146
130
|
attr_accessor :discount
|
147
131
|
|
@@ -154,18 +138,14 @@ module Stripe
|
|
154
138
|
class PriceData < Stripe::RequestParams
|
155
139
|
# 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).
|
156
140
|
attr_accessor :currency
|
157
|
-
|
158
141
|
# ID of the product this price belongs to.
|
159
142
|
#
|
160
143
|
# Use this to implement a variable-pricing model in your integration. This is required if `product_data` is not specified.
|
161
144
|
attr_accessor :product
|
162
|
-
|
163
145
|
# Only required if a [default tax behavior](https://stripe.com/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.
|
164
146
|
attr_accessor :tax_behavior
|
165
|
-
|
166
147
|
# A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
|
167
148
|
attr_accessor :unit_amount
|
168
|
-
|
169
149
|
# Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
|
170
150
|
attr_accessor :unit_amount_decimal
|
171
151
|
|
@@ -188,13 +168,10 @@ module Stripe
|
|
188
168
|
class PackageDimensions < Stripe::RequestParams
|
189
169
|
# Height, in inches. Maximum precision is 2 decimal places.
|
190
170
|
attr_accessor :height
|
191
|
-
|
192
171
|
# Length, in inches. Maximum precision is 2 decimal places.
|
193
172
|
attr_accessor :length
|
194
|
-
|
195
173
|
# Weight, in ounces. Maximum precision is 2 decimal places.
|
196
174
|
attr_accessor :weight
|
197
|
-
|
198
175
|
# Width, in inches. Maximum precision is 2 decimal places.
|
199
176
|
attr_accessor :width
|
200
177
|
|
@@ -207,30 +184,22 @@ module Stripe
|
|
207
184
|
end
|
208
185
|
# 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.
|
209
186
|
attr_accessor :description
|
210
|
-
|
211
187
|
# A unique identifier for this product.
|
212
188
|
#
|
213
189
|
# `product_data` automatically creates a Product with this ID. If a Product with the same ID already exists, then `product_data` re-uses it to avoid duplicates. If any of the fields in the existing Product are different from the values in `product_data`, `product_data` updates the existing Product with the new information. So set `product_data[id]` to the same string every time you sell the same product, but don't re-use the same string for different products.
|
214
190
|
attr_accessor :id
|
215
|
-
|
216
191
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
217
192
|
attr_accessor :images
|
218
|
-
|
219
193
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
220
194
|
attr_accessor :metadata
|
221
|
-
|
222
195
|
# The product's name, meant to be displayable to the customer.
|
223
196
|
attr_accessor :name
|
224
|
-
|
225
197
|
# The dimensions of this product for shipping purposes.
|
226
198
|
attr_accessor :package_dimensions
|
227
|
-
|
228
199
|
# Whether this product is shipped (i.e., physical goods).
|
229
200
|
attr_accessor :shippable
|
230
|
-
|
231
201
|
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
|
232
202
|
attr_accessor :tax_code
|
233
|
-
|
234
203
|
# A URL of a publicly-accessible webpage for this product.
|
235
204
|
attr_accessor :url
|
236
205
|
|
@@ -258,37 +227,30 @@ module Stripe
|
|
258
227
|
end
|
259
228
|
# The description for the line item. Will default to the name of the associated product.
|
260
229
|
attr_accessor :description
|
261
|
-
|
262
230
|
# The discounts applied to this line item.
|
263
231
|
attr_accessor :discounts
|
264
|
-
|
265
232
|
# The ID of a [Price](https://stripe.com/docs/api/prices) to add to the Order.
|
266
233
|
#
|
267
234
|
# The `price` parameter is an alternative to using the `product` parameter. If each of your products are sold at a single price, you can set `Product.default_price` and then pass the `product` parameter when creating a line item. If your products are sold at several possible prices, use the `price` parameter to explicitly specify which one to use.
|
268
235
|
attr_accessor :price
|
269
|
-
|
270
236
|
# Data used to generate a new Price object inline.
|
271
237
|
#
|
272
238
|
# The `price_data` parameter is an alternative to using the `product` or `price` parameters. If you create products upfront and configure a `Product.default_price`, pass the `product` parameter when creating a line item. If you prefer not to define products upfront, or if you charge variable prices, pass the `price_data` parameter to describe the price for this line item.
|
273
239
|
#
|
274
240
|
# Each time you pass `price_data` we create a Price for the product. This Price is hidden in both the Dashboard and API lists and cannot be reused.
|
275
241
|
attr_accessor :price_data
|
276
|
-
|
277
242
|
# The ID of a [Product](https://stripe.com/docs/api/products) to add to the Order.
|
278
243
|
#
|
279
244
|
# The product must have a `default_price` specified. Otherwise, specify the price by passing the `price` or `price_data` parameter.
|
280
245
|
attr_accessor :product
|
281
|
-
|
282
246
|
# Defines a Product inline and adds it to the Order.
|
283
247
|
#
|
284
248
|
# `product_data` is an alternative to the `product` parameter. If you created a Product upfront, use the `product` parameter to refer to the existing Product. But if you prefer not to create Products upfront, pass the `product_data` parameter to define a Product inline as part of configuring the Order.
|
285
249
|
#
|
286
250
|
# `product_data` automatically creates a Product, just as if you had manually created the Product. If a Product with the same ID already exists, then `product_data` re-uses it to avoid duplicates.
|
287
251
|
attr_accessor :product_data
|
288
|
-
|
289
252
|
# The quantity of the line item.
|
290
253
|
attr_accessor :quantity
|
291
|
-
|
292
254
|
# The tax rates applied to this line item.
|
293
255
|
attr_accessor :tax_rates
|
294
256
|
|
@@ -322,13 +284,10 @@ module Stripe
|
|
322
284
|
# The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
|
323
285
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
324
286
|
attr_accessor :custom_mandate_url
|
325
|
-
|
326
287
|
# Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
|
327
288
|
attr_accessor :interval_description
|
328
|
-
|
329
289
|
# Payment schedule for the mandate.
|
330
290
|
attr_accessor :payment_schedule
|
331
|
-
|
332
291
|
# Transaction type of the mandate.
|
333
292
|
attr_accessor :transaction_type
|
334
293
|
|
@@ -346,7 +305,6 @@ module Stripe
|
|
346
305
|
end
|
347
306
|
# Additional fields for Mandate creation
|
348
307
|
attr_accessor :mandate_options
|
349
|
-
|
350
308
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
351
309
|
#
|
352
310
|
# If 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.
|
@@ -357,7 +315,6 @@ module Stripe
|
|
357
315
|
#
|
358
316
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
359
317
|
attr_accessor :setup_future_usage
|
360
|
-
|
361
318
|
# Bank account verification method.
|
362
319
|
attr_accessor :verification_method
|
363
320
|
|
@@ -379,10 +336,8 @@ module Stripe
|
|
379
336
|
#
|
380
337
|
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
381
338
|
attr_accessor :capture_method
|
382
|
-
|
383
339
|
# An internal identifier or reference this payment corresponds to. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes.
|
384
340
|
attr_accessor :reference
|
385
|
-
|
386
341
|
# Indicates that you intend to make future payments with the payment method.
|
387
342
|
#
|
388
343
|
# Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
|
@@ -419,7 +374,6 @@ module Stripe
|
|
419
374
|
class Bancontact < Stripe::RequestParams
|
420
375
|
# Preferred language of the Bancontact authorization page that the customer is redirected to.
|
421
376
|
attr_accessor :preferred_language
|
422
|
-
|
423
377
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
424
378
|
#
|
425
379
|
# If 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.
|
@@ -440,7 +394,6 @@ module Stripe
|
|
440
394
|
class Card < Stripe::RequestParams
|
441
395
|
# Controls when the funds will be captured from the customer's account.
|
442
396
|
attr_accessor :capture_method
|
443
|
-
|
444
397
|
# Indicates that you intend to make future payments with the payment method.
|
445
398
|
#
|
446
399
|
# Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
|
@@ -468,12 +421,10 @@ module Stripe
|
|
468
421
|
end
|
469
422
|
# Configuration for the eu_bank_transfer funding type.
|
470
423
|
attr_accessor :eu_bank_transfer
|
471
|
-
|
472
424
|
# List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
|
473
425
|
#
|
474
426
|
# Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
|
475
427
|
attr_accessor :requested_address_types
|
476
|
-
|
477
428
|
# The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
|
478
429
|
attr_accessor :type
|
479
430
|
|
@@ -485,10 +436,8 @@ module Stripe
|
|
485
436
|
end
|
486
437
|
# Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
487
438
|
attr_accessor :bank_transfer
|
488
|
-
|
489
439
|
# The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
|
490
440
|
attr_accessor :funding_type
|
491
|
-
|
492
441
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
493
442
|
#
|
494
443
|
# If 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.
|
@@ -531,10 +480,8 @@ module Stripe
|
|
531
480
|
#
|
532
481
|
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
533
482
|
attr_accessor :capture_method
|
534
|
-
|
535
483
|
# Preferred language of the Klarna authorization page that the customer is redirected to
|
536
484
|
attr_accessor :preferred_locale
|
537
|
-
|
538
485
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
539
486
|
#
|
540
487
|
# If 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.
|
@@ -560,10 +507,8 @@ module Stripe
|
|
560
507
|
#
|
561
508
|
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
562
509
|
attr_accessor :capture_method
|
563
|
-
|
564
510
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
565
511
|
attr_accessor :persistent_token
|
566
|
-
|
567
512
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
568
513
|
#
|
569
514
|
# If 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.
|
@@ -585,7 +530,6 @@ module Stripe
|
|
585
530
|
class Oxxo < Stripe::RequestParams
|
586
531
|
# The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
|
587
532
|
attr_accessor :expires_after_days
|
588
|
-
|
589
533
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
590
534
|
#
|
591
535
|
# If 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.
|
@@ -614,7 +558,6 @@ module Stripe
|
|
614
558
|
#
|
615
559
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
616
560
|
attr_accessor :setup_future_usage
|
617
|
-
|
618
561
|
# Confirm that the payer has accepted the P24 terms and conditions.
|
619
562
|
attr_accessor :tos_shown_and_accepted
|
620
563
|
|
@@ -629,7 +572,6 @@ module Stripe
|
|
629
572
|
class Tax < Stripe::RequestParams
|
630
573
|
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
631
574
|
attr_accessor :amount
|
632
|
-
|
633
575
|
# The tax behavior for the line item.
|
634
576
|
attr_accessor :behavior
|
635
577
|
|
@@ -640,25 +582,18 @@ module Stripe
|
|
640
582
|
end
|
641
583
|
# Type of the line item.
|
642
584
|
attr_accessor :category
|
643
|
-
|
644
585
|
# Description of the line item.
|
645
586
|
attr_accessor :description
|
646
|
-
|
647
587
|
# Descriptive name of the line item.
|
648
588
|
attr_accessor :name
|
649
|
-
|
650
589
|
# Quantity of the line item. Must be a positive number.
|
651
590
|
attr_accessor :quantity
|
652
|
-
|
653
591
|
# Client facing stock keeping unit, article number or similar.
|
654
592
|
attr_accessor :sku
|
655
|
-
|
656
593
|
# The Stripe account ID of the connected account that sells the item.
|
657
594
|
attr_accessor :sold_by
|
658
|
-
|
659
595
|
# The tax information for the line item.
|
660
596
|
attr_accessor :tax
|
661
|
-
|
662
597
|
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
663
598
|
attr_accessor :unit_amount
|
664
599
|
|
@@ -684,22 +619,16 @@ module Stripe
|
|
684
619
|
end
|
685
620
|
# Controls when the funds will be captured from the customer's account.
|
686
621
|
attr_accessor :capture_method
|
687
|
-
|
688
622
|
# The line items purchased by the customer.
|
689
623
|
attr_accessor :line_items
|
690
|
-
|
691
624
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
692
625
|
attr_accessor :preferred_locale
|
693
|
-
|
694
626
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
695
627
|
attr_accessor :reference
|
696
|
-
|
697
628
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
698
629
|
attr_accessor :reference_id
|
699
|
-
|
700
630
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
701
631
|
attr_accessor :risk_correlation_id
|
702
|
-
|
703
632
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
704
633
|
#
|
705
634
|
# If 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.
|
@@ -710,7 +639,6 @@ module Stripe
|
|
710
639
|
#
|
711
640
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
712
641
|
attr_accessor :setup_future_usage
|
713
|
-
|
714
642
|
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
715
643
|
attr_accessor :subsellers
|
716
644
|
|
@@ -746,7 +674,6 @@ module Stripe
|
|
746
674
|
end
|
747
675
|
# Additional fields for Mandate creation
|
748
676
|
attr_accessor :mandate_options
|
749
|
-
|
750
677
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
751
678
|
#
|
752
679
|
# If 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.
|
@@ -767,7 +694,6 @@ module Stripe
|
|
767
694
|
class Sofort < Stripe::RequestParams
|
768
695
|
# Language shown to the payer on redirect.
|
769
696
|
attr_accessor :preferred_language
|
770
|
-
|
771
697
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
772
698
|
#
|
773
699
|
# If 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.
|
@@ -788,10 +714,8 @@ module Stripe
|
|
788
714
|
class WechatPay < Stripe::RequestParams
|
789
715
|
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
790
716
|
attr_accessor :app_id
|
791
|
-
|
792
717
|
# The client type that the end customer will pay from
|
793
718
|
attr_accessor :client
|
794
|
-
|
795
719
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
796
720
|
#
|
797
721
|
# If 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.
|
@@ -811,46 +735,32 @@ module Stripe
|
|
811
735
|
end
|
812
736
|
# If paying by `acss_debit`, this sub-hash contains details about the ACSS Debit payment method options to pass to the order's PaymentIntent.
|
813
737
|
attr_accessor :acss_debit
|
814
|
-
|
815
738
|
# If paying by `afterpay_clearpay`, this sub-hash contains details about the AfterpayClearpay payment method options to pass to the order's PaymentIntent.
|
816
739
|
attr_accessor :afterpay_clearpay
|
817
|
-
|
818
740
|
# If paying by `alipay`, this sub-hash contains details about the Alipay payment method options to pass to the order's PaymentIntent.
|
819
741
|
attr_accessor :alipay
|
820
|
-
|
821
742
|
# If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the order's PaymentIntent.
|
822
743
|
attr_accessor :bancontact
|
823
|
-
|
824
744
|
# If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the order's PaymentIntent.
|
825
745
|
attr_accessor :card
|
826
|
-
|
827
746
|
# If paying by `customer_balance`, this sub-hash contains details about the Customer Balance payment method options to pass to the order's PaymentIntent.
|
828
747
|
attr_accessor :customer_balance
|
829
|
-
|
830
748
|
# If paying by `ideal`, this sub-hash contains details about the iDEAL payment method options to pass to the order's PaymentIntent.
|
831
749
|
attr_accessor :ideal
|
832
|
-
|
833
750
|
# If paying by `klarna`, this sub-hash contains details about the Klarna payment method options to pass to the order's PaymentIntent.
|
834
751
|
attr_accessor :klarna
|
835
|
-
|
836
752
|
# If paying by `link`, this sub-hash contains details about the Link payment method options to pass to the order's PaymentIntent.
|
837
753
|
attr_accessor :link
|
838
|
-
|
839
754
|
# If paying by `oxxo`, this sub-hash contains details about the OXXO payment method options to pass to the order's PaymentIntent.
|
840
755
|
attr_accessor :oxxo
|
841
|
-
|
842
756
|
# If paying by `p24`, this sub-hash contains details about the P24 payment method options to pass to the order's PaymentIntent.
|
843
757
|
attr_accessor :p24
|
844
|
-
|
845
758
|
# If paying by `paypal`, this sub-hash contains details about the PayPal payment method options to pass to the order's PaymentIntent.
|
846
759
|
attr_accessor :paypal
|
847
|
-
|
848
760
|
# If paying by `sepa_debit`, this sub-hash contains details about the SEPA Debit payment method options to pass to the order's PaymentIntent.
|
849
761
|
attr_accessor :sepa_debit
|
850
|
-
|
851
762
|
# If paying by `sofort`, this sub-hash contains details about the Sofort payment method options to pass to the order's PaymentIntent.
|
852
763
|
attr_accessor :sofort
|
853
|
-
|
854
764
|
# If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the order's PaymentIntent.
|
855
765
|
attr_accessor :wechat_pay
|
856
766
|
|
@@ -892,7 +802,6 @@ module Stripe
|
|
892
802
|
class TransferData < Stripe::RequestParams
|
893
803
|
# The amount that will be transferred automatically when the order is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field.
|
894
804
|
attr_accessor :amount
|
895
|
-
|
896
805
|
# ID of the Connected account receiving the transfer.
|
897
806
|
attr_accessor :destination
|
898
807
|
|
@@ -903,22 +812,16 @@ module Stripe
|
|
903
812
|
end
|
904
813
|
# 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.
|
905
814
|
attr_accessor :application_fee_amount
|
906
|
-
|
907
815
|
# PaymentMethod-specific configuration to provide to the order's PaymentIntent.
|
908
816
|
attr_accessor :payment_method_options
|
909
|
-
|
910
817
|
# The list of [payment method types](https://stripe.com/docs/payments/payment-methods/overview) to provide to the order's PaymentIntent. Do not include this attribute if you prefer to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).
|
911
818
|
attr_accessor :payment_method_types
|
912
|
-
|
913
819
|
# The URL to redirect the customer to after they authenticate their payment.
|
914
820
|
attr_accessor :return_url
|
915
|
-
|
916
821
|
# For non-card charges, you can use this value as the complete description that appears on your customers' statements. Must contain at least one letter, maximum 22 characters.
|
917
822
|
attr_accessor :statement_descriptor
|
918
|
-
|
919
823
|
# Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor.
|
920
824
|
attr_accessor :statement_descriptor_suffix
|
921
|
-
|
922
825
|
# Provides configuration for completing a transfer for the order after it is paid.
|
923
826
|
attr_accessor :transfer_data
|
924
827
|
|
@@ -954,7 +857,6 @@ module Stripe
|
|
954
857
|
class Maximum < Stripe::RequestParams
|
955
858
|
# A unit of time.
|
956
859
|
attr_accessor :unit
|
957
|
-
|
958
860
|
# Must be greater than 0.
|
959
861
|
attr_accessor :value
|
960
862
|
|
@@ -967,7 +869,6 @@ module Stripe
|
|
967
869
|
class Minimum < Stripe::RequestParams
|
968
870
|
# A unit of time.
|
969
871
|
attr_accessor :unit
|
970
|
-
|
971
872
|
# Must be greater than 0.
|
972
873
|
attr_accessor :value
|
973
874
|
|
@@ -978,7 +879,6 @@ module Stripe
|
|
978
879
|
end
|
979
880
|
# The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.
|
980
881
|
attr_accessor :maximum
|
981
|
-
|
982
882
|
# The lower bound of the estimated range. If empty, represents no lower bound.
|
983
883
|
attr_accessor :minimum
|
984
884
|
|
@@ -992,7 +892,6 @@ module Stripe
|
|
992
892
|
class CurrencyOptions < Stripe::RequestParams
|
993
893
|
# A non-negative integer in cents representing how much to charge.
|
994
894
|
attr_accessor :amount
|
995
|
-
|
996
895
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
997
896
|
attr_accessor :tax_behavior
|
998
897
|
|
@@ -1003,10 +902,8 @@ module Stripe
|
|
1003
902
|
end
|
1004
903
|
# A non-negative integer in cents representing how much to charge.
|
1005
904
|
attr_accessor :amount
|
1006
|
-
|
1007
905
|
# 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).
|
1008
906
|
attr_accessor :currency
|
1009
|
-
|
1010
907
|
# Shipping rates defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
|
1011
908
|
attr_accessor :currency_options
|
1012
909
|
|
@@ -1018,22 +915,16 @@ module Stripe
|
|
1018
915
|
end
|
1019
916
|
# The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.
|
1020
917
|
attr_accessor :delivery_estimate
|
1021
|
-
|
1022
918
|
# The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.
|
1023
919
|
attr_accessor :display_name
|
1024
|
-
|
1025
920
|
# Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.
|
1026
921
|
attr_accessor :fixed_amount
|
1027
|
-
|
1028
922
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
1029
923
|
attr_accessor :metadata
|
1030
|
-
|
1031
924
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
1032
925
|
attr_accessor :tax_behavior
|
1033
|
-
|
1034
926
|
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.
|
1035
927
|
attr_accessor :tax_code
|
1036
|
-
|
1037
928
|
# The type of calculation to use on the shipping rate.
|
1038
929
|
attr_accessor :type
|
1039
930
|
|
@@ -1057,7 +948,6 @@ module Stripe
|
|
1057
948
|
end
|
1058
949
|
# The ID of the shipping rate to use for this order.
|
1059
950
|
attr_accessor :shipping_rate
|
1060
|
-
|
1061
951
|
# Parameters to create a new ad-hoc shipping rate for this order.
|
1062
952
|
attr_accessor :shipping_rate_data
|
1063
953
|
|
@@ -1071,19 +961,14 @@ module Stripe
|
|
1071
961
|
class Address < Stripe::RequestParams
|
1072
962
|
# City, district, suburb, town, or village.
|
1073
963
|
attr_accessor :city
|
1074
|
-
|
1075
964
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1076
965
|
attr_accessor :country
|
1077
|
-
|
1078
966
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1079
967
|
attr_accessor :line1
|
1080
|
-
|
1081
968
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1082
969
|
attr_accessor :line2
|
1083
|
-
|
1084
970
|
# ZIP or postal code.
|
1085
971
|
attr_accessor :postal_code
|
1086
|
-
|
1087
972
|
# State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix. Example: "NY" or "TX".
|
1088
973
|
attr_accessor :state
|
1089
974
|
|
@@ -1105,10 +990,8 @@ module Stripe
|
|
1105
990
|
end
|
1106
991
|
# The shipping address for the order.
|
1107
992
|
attr_accessor :address
|
1108
|
-
|
1109
993
|
# The name of the recipient of the order.
|
1110
994
|
attr_accessor :name
|
1111
|
-
|
1112
995
|
# The phone number (including extension) for the recipient of the order.
|
1113
996
|
attr_accessor :phone
|
1114
997
|
|
@@ -1121,9 +1004,8 @@ module Stripe
|
|
1121
1004
|
|
1122
1005
|
class TaxDetails < Stripe::RequestParams
|
1123
1006
|
class TaxId < Stripe::RequestParams
|
1124
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
1007
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
1125
1008
|
attr_accessor :type
|
1126
|
-
|
1127
1009
|
# Value of the tax ID.
|
1128
1010
|
attr_accessor :value
|
1129
1011
|
|
@@ -1134,7 +1016,6 @@ module Stripe
|
|
1134
1016
|
end
|
1135
1017
|
# The purchaser's tax exemption status. One of `none`, `exempt`, or `reverse`.
|
1136
1018
|
attr_accessor :tax_exempt
|
1137
|
-
|
1138
1019
|
# The purchaser's tax IDs to be used for this order.
|
1139
1020
|
attr_accessor :tax_ids
|
1140
1021
|
|
@@ -1145,46 +1026,32 @@ module Stripe
|
|
1145
1026
|
end
|
1146
1027
|
# Settings for automatic tax calculation for this order.
|
1147
1028
|
attr_accessor :automatic_tax
|
1148
|
-
|
1149
1029
|
# Billing details for the customer. If a customer is provided, this will be automatically populated with values from that customer if override values are not provided.
|
1150
1030
|
attr_accessor :billing_details
|
1151
|
-
|
1152
1031
|
# The credits to apply to the order, only `gift_card` currently supported.
|
1153
1032
|
attr_accessor :credits
|
1154
|
-
|
1155
1033
|
# 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).
|
1156
1034
|
attr_accessor :currency
|
1157
|
-
|
1158
1035
|
# The customer associated with this order.
|
1159
1036
|
attr_accessor :customer
|
1160
|
-
|
1161
1037
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1162
1038
|
attr_accessor :description
|
1163
|
-
|
1164
1039
|
# The coupons, promotion codes, and/or discounts to apply to the order.
|
1165
1040
|
attr_accessor :discounts
|
1166
|
-
|
1167
1041
|
# Specifies which fields in the response should be expanded.
|
1168
1042
|
attr_accessor :expand
|
1169
|
-
|
1170
1043
|
# The IP address of the purchaser for this order.
|
1171
1044
|
attr_accessor :ip_address
|
1172
|
-
|
1173
1045
|
# A list of line items the customer is ordering. Each line item includes information about the product, the quantity, and the resulting cost.
|
1174
1046
|
attr_accessor :line_items
|
1175
|
-
|
1176
1047
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
1177
1048
|
attr_accessor :metadata
|
1178
|
-
|
1179
1049
|
# Payment information associated with the order, including payment settings.
|
1180
1050
|
attr_accessor :payment
|
1181
|
-
|
1182
1051
|
# Settings for the customer cost of shipping for this order.
|
1183
1052
|
attr_accessor :shipping_cost
|
1184
|
-
|
1185
1053
|
# Shipping details for the order.
|
1186
1054
|
attr_accessor :shipping_details
|
1187
|
-
|
1188
1055
|
# Additional tax details about the purchaser to be used for this order.
|
1189
1056
|
attr_accessor :tax_details
|
1190
1057
|
|
@@ -1246,19 +1113,14 @@ module Stripe
|
|
1246
1113
|
class Address < Stripe::RequestParams
|
1247
1114
|
# City, district, suburb, town, or village.
|
1248
1115
|
attr_accessor :city
|
1249
|
-
|
1250
1116
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1251
1117
|
attr_accessor :country
|
1252
|
-
|
1253
1118
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1254
1119
|
attr_accessor :line1
|
1255
|
-
|
1256
1120
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1257
1121
|
attr_accessor :line2
|
1258
|
-
|
1259
1122
|
# ZIP or postal code.
|
1260
1123
|
attr_accessor :postal_code
|
1261
|
-
|
1262
1124
|
# State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix. Example: "NY" or "TX".
|
1263
1125
|
attr_accessor :state
|
1264
1126
|
|
@@ -1280,13 +1142,10 @@ module Stripe
|
|
1280
1142
|
end
|
1281
1143
|
# The billing address provided by the customer.
|
1282
1144
|
attr_accessor :address
|
1283
|
-
|
1284
1145
|
# The billing email provided by the customer.
|
1285
1146
|
attr_accessor :email
|
1286
|
-
|
1287
1147
|
# The billing name provided by the customer.
|
1288
1148
|
attr_accessor :name
|
1289
|
-
|
1290
1149
|
# The billing phone number provided by the customer.
|
1291
1150
|
attr_accessor :phone
|
1292
1151
|
|
@@ -1301,7 +1160,6 @@ module Stripe
|
|
1301
1160
|
class Credit < Stripe::RequestParams
|
1302
1161
|
# The gift card to apply to the order.
|
1303
1162
|
attr_accessor :gift_card
|
1304
|
-
|
1305
1163
|
# The type of credit to apply to the order, only `gift_card` currently supported.
|
1306
1164
|
attr_accessor :type
|
1307
1165
|
|
@@ -1314,10 +1172,8 @@ module Stripe
|
|
1314
1172
|
class Discount < Stripe::RequestParams
|
1315
1173
|
# ID of the coupon to create a new discount for.
|
1316
1174
|
attr_accessor :coupon
|
1317
|
-
|
1318
1175
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
1319
1176
|
attr_accessor :discount
|
1320
|
-
|
1321
1177
|
# ID of the promotion code to create a new discount for.
|
1322
1178
|
attr_accessor :promotion_code
|
1323
1179
|
|
@@ -1332,7 +1188,6 @@ module Stripe
|
|
1332
1188
|
class Discount < Stripe::RequestParams
|
1333
1189
|
# ID of the coupon to create a new discount for.
|
1334
1190
|
attr_accessor :coupon
|
1335
|
-
|
1336
1191
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
1337
1192
|
attr_accessor :discount
|
1338
1193
|
|
@@ -1345,18 +1200,14 @@ module Stripe
|
|
1345
1200
|
class PriceData < Stripe::RequestParams
|
1346
1201
|
# 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).
|
1347
1202
|
attr_accessor :currency
|
1348
|
-
|
1349
1203
|
# ID of the product this price belongs to.
|
1350
1204
|
#
|
1351
1205
|
# Use this to implement a variable-pricing model in your integration. This is required if `product_data` is not specified.
|
1352
1206
|
attr_accessor :product
|
1353
|
-
|
1354
1207
|
# Only required if a [default tax behavior](https://stripe.com/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.
|
1355
1208
|
attr_accessor :tax_behavior
|
1356
|
-
|
1357
1209
|
# A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
|
1358
1210
|
attr_accessor :unit_amount
|
1359
|
-
|
1360
1211
|
# Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
|
1361
1212
|
attr_accessor :unit_amount_decimal
|
1362
1213
|
|
@@ -1379,13 +1230,10 @@ module Stripe
|
|
1379
1230
|
class PackageDimensions < Stripe::RequestParams
|
1380
1231
|
# Height, in inches. Maximum precision is 2 decimal places.
|
1381
1232
|
attr_accessor :height
|
1382
|
-
|
1383
1233
|
# Length, in inches. Maximum precision is 2 decimal places.
|
1384
1234
|
attr_accessor :length
|
1385
|
-
|
1386
1235
|
# Weight, in ounces. Maximum precision is 2 decimal places.
|
1387
1236
|
attr_accessor :weight
|
1388
|
-
|
1389
1237
|
# Width, in inches. Maximum precision is 2 decimal places.
|
1390
1238
|
attr_accessor :width
|
1391
1239
|
|
@@ -1398,30 +1246,22 @@ module Stripe
|
|
1398
1246
|
end
|
1399
1247
|
# 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.
|
1400
1248
|
attr_accessor :description
|
1401
|
-
|
1402
1249
|
# A unique identifier for this product.
|
1403
1250
|
#
|
1404
1251
|
# `product_data` automatically creates a Product with this ID. If a Product with the same ID already exists, then `product_data` re-uses it to avoid duplicates. If any of the fields in the existing Product are different from the values in `product_data`, `product_data` updates the existing Product with the new information. So set `product_data[id]` to the same string every time you sell the same product, but don't re-use the same string for different products.
|
1405
1252
|
attr_accessor :id
|
1406
|
-
|
1407
1253
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
1408
1254
|
attr_accessor :images
|
1409
|
-
|
1410
1255
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
1411
1256
|
attr_accessor :metadata
|
1412
|
-
|
1413
1257
|
# The product's name, meant to be displayable to the customer.
|
1414
1258
|
attr_accessor :name
|
1415
|
-
|
1416
1259
|
# The dimensions of this product for shipping purposes.
|
1417
1260
|
attr_accessor :package_dimensions
|
1418
|
-
|
1419
1261
|
# Whether this product is shipped (i.e., physical goods).
|
1420
1262
|
attr_accessor :shippable
|
1421
|
-
|
1422
1263
|
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
|
1423
1264
|
attr_accessor :tax_code
|
1424
|
-
|
1425
1265
|
# A URL of a publicly-accessible webpage for this product.
|
1426
1266
|
attr_accessor :url
|
1427
1267
|
|
@@ -1449,40 +1289,32 @@ module Stripe
|
|
1449
1289
|
end
|
1450
1290
|
# The description for the line item. Will default to the name of the associated product.
|
1451
1291
|
attr_accessor :description
|
1452
|
-
|
1453
1292
|
# The discounts applied to this line item.
|
1454
1293
|
attr_accessor :discounts
|
1455
|
-
|
1456
1294
|
# The ID of an existing line item on the order.
|
1457
1295
|
attr_accessor :id
|
1458
|
-
|
1459
1296
|
# The ID of a [Price](https://stripe.com/docs/api/prices) to add to the Order.
|
1460
1297
|
#
|
1461
1298
|
# The `price` parameter is an alternative to using the `product` parameter. If each of your products are sold at a single price, you can set `Product.default_price` and then pass the `product` parameter when creating a line item. If your products are sold at several possible prices, use the `price` parameter to explicitly specify which one to use.
|
1462
1299
|
attr_accessor :price
|
1463
|
-
|
1464
1300
|
# Data used to generate a new Price object inline.
|
1465
1301
|
#
|
1466
1302
|
# The `price_data` parameter is an alternative to using the `product` or `price` parameters. If you create products upfront and configure a `Product.default_price`, pass the `product` parameter when creating a line item. If you prefer not to define products upfront, or if you charge variable prices, pass the `price_data` parameter to describe the price for this line item.
|
1467
1303
|
#
|
1468
1304
|
# Each time you pass `price_data` we create a Price for the product. This Price is hidden in both the Dashboard and API lists and cannot be reused.
|
1469
1305
|
attr_accessor :price_data
|
1470
|
-
|
1471
1306
|
# The ID of a [Product](https://stripe.com/docs/api/products) to add to the Order.
|
1472
1307
|
#
|
1473
1308
|
# The product must have a `default_price` specified. Otherwise, specify the price by passing the `price` or `price_data` parameter.
|
1474
1309
|
attr_accessor :product
|
1475
|
-
|
1476
1310
|
# Defines a Product inline and adds it to the Order.
|
1477
1311
|
#
|
1478
1312
|
# `product_data` is an alternative to the `product` parameter. If you created a Product upfront, use the `product` parameter to refer to the existing Product. But if you prefer not to create Products upfront, pass the `product_data` parameter to define a Product inline as part of configuring the Order.
|
1479
1313
|
#
|
1480
1314
|
# `product_data` automatically creates a Product, just as if you had manually created the Product. If a Product with the same ID already exists, then `product_data` re-uses it to avoid duplicates.
|
1481
1315
|
attr_accessor :product_data
|
1482
|
-
|
1483
1316
|
# The quantity of the line item.
|
1484
1317
|
attr_accessor :quantity
|
1485
|
-
|
1486
1318
|
# The tax rates applied to this line item.
|
1487
1319
|
attr_accessor :tax_rates
|
1488
1320
|
|
@@ -1518,13 +1350,10 @@ module Stripe
|
|
1518
1350
|
# The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
|
1519
1351
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
1520
1352
|
attr_accessor :custom_mandate_url
|
1521
|
-
|
1522
1353
|
# Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
|
1523
1354
|
attr_accessor :interval_description
|
1524
|
-
|
1525
1355
|
# Payment schedule for the mandate.
|
1526
1356
|
attr_accessor :payment_schedule
|
1527
|
-
|
1528
1357
|
# Transaction type of the mandate.
|
1529
1358
|
attr_accessor :transaction_type
|
1530
1359
|
|
@@ -1542,7 +1371,6 @@ module Stripe
|
|
1542
1371
|
end
|
1543
1372
|
# Additional fields for Mandate creation
|
1544
1373
|
attr_accessor :mandate_options
|
1545
|
-
|
1546
1374
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1547
1375
|
#
|
1548
1376
|
# If 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.
|
@@ -1553,7 +1381,6 @@ module Stripe
|
|
1553
1381
|
#
|
1554
1382
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
1555
1383
|
attr_accessor :setup_future_usage
|
1556
|
-
|
1557
1384
|
# Bank account verification method.
|
1558
1385
|
attr_accessor :verification_method
|
1559
1386
|
|
@@ -1575,10 +1402,8 @@ module Stripe
|
|
1575
1402
|
#
|
1576
1403
|
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
1577
1404
|
attr_accessor :capture_method
|
1578
|
-
|
1579
1405
|
# An internal identifier or reference this payment corresponds to. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes.
|
1580
1406
|
attr_accessor :reference
|
1581
|
-
|
1582
1407
|
# Indicates that you intend to make future payments with the payment method.
|
1583
1408
|
#
|
1584
1409
|
# Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
|
@@ -1615,7 +1440,6 @@ module Stripe
|
|
1615
1440
|
class Bancontact < Stripe::RequestParams
|
1616
1441
|
# Preferred language of the Bancontact authorization page that the customer is redirected to.
|
1617
1442
|
attr_accessor :preferred_language
|
1618
|
-
|
1619
1443
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1620
1444
|
#
|
1621
1445
|
# If 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.
|
@@ -1636,7 +1460,6 @@ module Stripe
|
|
1636
1460
|
class Card < Stripe::RequestParams
|
1637
1461
|
# Controls when the funds will be captured from the customer's account.
|
1638
1462
|
attr_accessor :capture_method
|
1639
|
-
|
1640
1463
|
# Indicates that you intend to make future payments with the payment method.
|
1641
1464
|
#
|
1642
1465
|
# Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
|
@@ -1664,12 +1487,10 @@ module Stripe
|
|
1664
1487
|
end
|
1665
1488
|
# Configuration for the eu_bank_transfer funding type.
|
1666
1489
|
attr_accessor :eu_bank_transfer
|
1667
|
-
|
1668
1490
|
# List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
|
1669
1491
|
#
|
1670
1492
|
# Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
|
1671
1493
|
attr_accessor :requested_address_types
|
1672
|
-
|
1673
1494
|
# The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
|
1674
1495
|
attr_accessor :type
|
1675
1496
|
|
@@ -1681,10 +1502,8 @@ module Stripe
|
|
1681
1502
|
end
|
1682
1503
|
# Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
1683
1504
|
attr_accessor :bank_transfer
|
1684
|
-
|
1685
1505
|
# The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
|
1686
1506
|
attr_accessor :funding_type
|
1687
|
-
|
1688
1507
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1689
1508
|
#
|
1690
1509
|
# If 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.
|
@@ -1727,10 +1546,8 @@ module Stripe
|
|
1727
1546
|
#
|
1728
1547
|
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
1729
1548
|
attr_accessor :capture_method
|
1730
|
-
|
1731
1549
|
# Preferred language of the Klarna authorization page that the customer is redirected to
|
1732
1550
|
attr_accessor :preferred_locale
|
1733
|
-
|
1734
1551
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1735
1552
|
#
|
1736
1553
|
# If 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.
|
@@ -1756,10 +1573,8 @@ module Stripe
|
|
1756
1573
|
#
|
1757
1574
|
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
1758
1575
|
attr_accessor :capture_method
|
1759
|
-
|
1760
1576
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
1761
1577
|
attr_accessor :persistent_token
|
1762
|
-
|
1763
1578
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1764
1579
|
#
|
1765
1580
|
# If 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.
|
@@ -1781,7 +1596,6 @@ module Stripe
|
|
1781
1596
|
class Oxxo < Stripe::RequestParams
|
1782
1597
|
# The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
|
1783
1598
|
attr_accessor :expires_after_days
|
1784
|
-
|
1785
1599
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1786
1600
|
#
|
1787
1601
|
# If 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.
|
@@ -1810,7 +1624,6 @@ module Stripe
|
|
1810
1624
|
#
|
1811
1625
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
1812
1626
|
attr_accessor :setup_future_usage
|
1813
|
-
|
1814
1627
|
# Confirm that the payer has accepted the P24 terms and conditions.
|
1815
1628
|
attr_accessor :tos_shown_and_accepted
|
1816
1629
|
|
@@ -1825,7 +1638,6 @@ module Stripe
|
|
1825
1638
|
class Tax < Stripe::RequestParams
|
1826
1639
|
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
1827
1640
|
attr_accessor :amount
|
1828
|
-
|
1829
1641
|
# The tax behavior for the line item.
|
1830
1642
|
attr_accessor :behavior
|
1831
1643
|
|
@@ -1836,25 +1648,18 @@ module Stripe
|
|
1836
1648
|
end
|
1837
1649
|
# Type of the line item.
|
1838
1650
|
attr_accessor :category
|
1839
|
-
|
1840
1651
|
# Description of the line item.
|
1841
1652
|
attr_accessor :description
|
1842
|
-
|
1843
1653
|
# Descriptive name of the line item.
|
1844
1654
|
attr_accessor :name
|
1845
|
-
|
1846
1655
|
# Quantity of the line item. Must be a positive number.
|
1847
1656
|
attr_accessor :quantity
|
1848
|
-
|
1849
1657
|
# Client facing stock keeping unit, article number or similar.
|
1850
1658
|
attr_accessor :sku
|
1851
|
-
|
1852
1659
|
# The Stripe account ID of the connected account that sells the item.
|
1853
1660
|
attr_accessor :sold_by
|
1854
|
-
|
1855
1661
|
# The tax information for the line item.
|
1856
1662
|
attr_accessor :tax
|
1857
|
-
|
1858
1663
|
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
1859
1664
|
attr_accessor :unit_amount
|
1860
1665
|
|
@@ -1880,22 +1685,16 @@ module Stripe
|
|
1880
1685
|
end
|
1881
1686
|
# Controls when the funds will be captured from the customer's account.
|
1882
1687
|
attr_accessor :capture_method
|
1883
|
-
|
1884
1688
|
# The line items purchased by the customer.
|
1885
1689
|
attr_accessor :line_items
|
1886
|
-
|
1887
1690
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
1888
1691
|
attr_accessor :preferred_locale
|
1889
|
-
|
1890
1692
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
1891
1693
|
attr_accessor :reference
|
1892
|
-
|
1893
1694
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
1894
1695
|
attr_accessor :reference_id
|
1895
|
-
|
1896
1696
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
1897
1697
|
attr_accessor :risk_correlation_id
|
1898
|
-
|
1899
1698
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1900
1699
|
#
|
1901
1700
|
# If 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.
|
@@ -1906,7 +1705,6 @@ module Stripe
|
|
1906
1705
|
#
|
1907
1706
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
1908
1707
|
attr_accessor :setup_future_usage
|
1909
|
-
|
1910
1708
|
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
1911
1709
|
attr_accessor :subsellers
|
1912
1710
|
|
@@ -1942,7 +1740,6 @@ module Stripe
|
|
1942
1740
|
end
|
1943
1741
|
# Additional fields for Mandate creation
|
1944
1742
|
attr_accessor :mandate_options
|
1945
|
-
|
1946
1743
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1947
1744
|
#
|
1948
1745
|
# If 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.
|
@@ -1963,7 +1760,6 @@ module Stripe
|
|
1963
1760
|
class Sofort < Stripe::RequestParams
|
1964
1761
|
# Language shown to the payer on redirect.
|
1965
1762
|
attr_accessor :preferred_language
|
1966
|
-
|
1967
1763
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1968
1764
|
#
|
1969
1765
|
# If 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.
|
@@ -1984,10 +1780,8 @@ module Stripe
|
|
1984
1780
|
class WechatPay < Stripe::RequestParams
|
1985
1781
|
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
1986
1782
|
attr_accessor :app_id
|
1987
|
-
|
1988
1783
|
# The client type that the end customer will pay from
|
1989
1784
|
attr_accessor :client
|
1990
|
-
|
1991
1785
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1992
1786
|
#
|
1993
1787
|
# If 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.
|
@@ -2007,46 +1801,32 @@ module Stripe
|
|
2007
1801
|
end
|
2008
1802
|
# If paying by `acss_debit`, this sub-hash contains details about the ACSS Debit payment method options to pass to the order's PaymentIntent.
|
2009
1803
|
attr_accessor :acss_debit
|
2010
|
-
|
2011
1804
|
# If paying by `afterpay_clearpay`, this sub-hash contains details about the AfterpayClearpay payment method options to pass to the order's PaymentIntent.
|
2012
1805
|
attr_accessor :afterpay_clearpay
|
2013
|
-
|
2014
1806
|
# If paying by `alipay`, this sub-hash contains details about the Alipay payment method options to pass to the order's PaymentIntent.
|
2015
1807
|
attr_accessor :alipay
|
2016
|
-
|
2017
1808
|
# If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the order's PaymentIntent.
|
2018
1809
|
attr_accessor :bancontact
|
2019
|
-
|
2020
1810
|
# If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the order's PaymentIntent.
|
2021
1811
|
attr_accessor :card
|
2022
|
-
|
2023
1812
|
# If paying by `customer_balance`, this sub-hash contains details about the Customer Balance payment method options to pass to the order's PaymentIntent.
|
2024
1813
|
attr_accessor :customer_balance
|
2025
|
-
|
2026
1814
|
# If paying by `ideal`, this sub-hash contains details about the iDEAL payment method options to pass to the order's PaymentIntent.
|
2027
1815
|
attr_accessor :ideal
|
2028
|
-
|
2029
1816
|
# If paying by `klarna`, this sub-hash contains details about the Klarna payment method options to pass to the order's PaymentIntent.
|
2030
1817
|
attr_accessor :klarna
|
2031
|
-
|
2032
1818
|
# If paying by `link`, this sub-hash contains details about the Link payment method options to pass to the order's PaymentIntent.
|
2033
1819
|
attr_accessor :link
|
2034
|
-
|
2035
1820
|
# If paying by `oxxo`, this sub-hash contains details about the OXXO payment method options to pass to the order's PaymentIntent.
|
2036
1821
|
attr_accessor :oxxo
|
2037
|
-
|
2038
1822
|
# If paying by `p24`, this sub-hash contains details about the P24 payment method options to pass to the order's PaymentIntent.
|
2039
1823
|
attr_accessor :p24
|
2040
|
-
|
2041
1824
|
# If paying by `paypal`, this sub-hash contains details about the PayPal payment method options to pass to the order's PaymentIntent.
|
2042
1825
|
attr_accessor :paypal
|
2043
|
-
|
2044
1826
|
# If paying by `sepa_debit`, this sub-hash contains details about the SEPA Debit payment method options to pass to the order's PaymentIntent.
|
2045
1827
|
attr_accessor :sepa_debit
|
2046
|
-
|
2047
1828
|
# If paying by `sofort`, this sub-hash contains details about the Sofort payment method options to pass to the order's PaymentIntent.
|
2048
1829
|
attr_accessor :sofort
|
2049
|
-
|
2050
1830
|
# If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the order's PaymentIntent.
|
2051
1831
|
attr_accessor :wechat_pay
|
2052
1832
|
|
@@ -2088,7 +1868,6 @@ module Stripe
|
|
2088
1868
|
class TransferData < Stripe::RequestParams
|
2089
1869
|
# The amount that will be transferred automatically when the order is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field.
|
2090
1870
|
attr_accessor :amount
|
2091
|
-
|
2092
1871
|
# ID of the Connected account receiving the transfer.
|
2093
1872
|
attr_accessor :destination
|
2094
1873
|
|
@@ -2099,22 +1878,16 @@ module Stripe
|
|
2099
1878
|
end
|
2100
1879
|
# 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.
|
2101
1880
|
attr_accessor :application_fee_amount
|
2102
|
-
|
2103
1881
|
# PaymentMethod-specific configuration to provide to the order's PaymentIntent.
|
2104
1882
|
attr_accessor :payment_method_options
|
2105
|
-
|
2106
1883
|
# The list of [payment method types](https://stripe.com/docs/payments/payment-methods/overview) to provide to the order's PaymentIntent. Do not include this attribute if you prefer to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).
|
2107
1884
|
attr_accessor :payment_method_types
|
2108
|
-
|
2109
1885
|
# The URL to redirect the customer to after they authenticate their payment.
|
2110
1886
|
attr_accessor :return_url
|
2111
|
-
|
2112
1887
|
# For non-card charges, you can use this value as the complete description that appears on your customers' statements. Must contain at least one letter, maximum 22 characters.
|
2113
1888
|
attr_accessor :statement_descriptor
|
2114
|
-
|
2115
1889
|
# Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor.
|
2116
1890
|
attr_accessor :statement_descriptor_suffix
|
2117
|
-
|
2118
1891
|
# Provides configuration for completing a transfer for the order after it is paid.
|
2119
1892
|
attr_accessor :transfer_data
|
2120
1893
|
|
@@ -2150,7 +1923,6 @@ module Stripe
|
|
2150
1923
|
class Maximum < Stripe::RequestParams
|
2151
1924
|
# A unit of time.
|
2152
1925
|
attr_accessor :unit
|
2153
|
-
|
2154
1926
|
# Must be greater than 0.
|
2155
1927
|
attr_accessor :value
|
2156
1928
|
|
@@ -2163,7 +1935,6 @@ module Stripe
|
|
2163
1935
|
class Minimum < Stripe::RequestParams
|
2164
1936
|
# A unit of time.
|
2165
1937
|
attr_accessor :unit
|
2166
|
-
|
2167
1938
|
# Must be greater than 0.
|
2168
1939
|
attr_accessor :value
|
2169
1940
|
|
@@ -2174,7 +1945,6 @@ module Stripe
|
|
2174
1945
|
end
|
2175
1946
|
# The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.
|
2176
1947
|
attr_accessor :maximum
|
2177
|
-
|
2178
1948
|
# The lower bound of the estimated range. If empty, represents no lower bound.
|
2179
1949
|
attr_accessor :minimum
|
2180
1950
|
|
@@ -2188,7 +1958,6 @@ module Stripe
|
|
2188
1958
|
class CurrencyOptions < Stripe::RequestParams
|
2189
1959
|
# A non-negative integer in cents representing how much to charge.
|
2190
1960
|
attr_accessor :amount
|
2191
|
-
|
2192
1961
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
2193
1962
|
attr_accessor :tax_behavior
|
2194
1963
|
|
@@ -2199,10 +1968,8 @@ module Stripe
|
|
2199
1968
|
end
|
2200
1969
|
# A non-negative integer in cents representing how much to charge.
|
2201
1970
|
attr_accessor :amount
|
2202
|
-
|
2203
1971
|
# 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).
|
2204
1972
|
attr_accessor :currency
|
2205
|
-
|
2206
1973
|
# Shipping rates defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
|
2207
1974
|
attr_accessor :currency_options
|
2208
1975
|
|
@@ -2214,22 +1981,16 @@ module Stripe
|
|
2214
1981
|
end
|
2215
1982
|
# The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.
|
2216
1983
|
attr_accessor :delivery_estimate
|
2217
|
-
|
2218
1984
|
# The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.
|
2219
1985
|
attr_accessor :display_name
|
2220
|
-
|
2221
1986
|
# Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.
|
2222
1987
|
attr_accessor :fixed_amount
|
2223
|
-
|
2224
1988
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
2225
1989
|
attr_accessor :metadata
|
2226
|
-
|
2227
1990
|
# Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
|
2228
1991
|
attr_accessor :tax_behavior
|
2229
|
-
|
2230
1992
|
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.
|
2231
1993
|
attr_accessor :tax_code
|
2232
|
-
|
2233
1994
|
# The type of calculation to use on the shipping rate.
|
2234
1995
|
attr_accessor :type
|
2235
1996
|
|
@@ -2253,7 +2014,6 @@ module Stripe
|
|
2253
2014
|
end
|
2254
2015
|
# The ID of the shipping rate to use for this order.
|
2255
2016
|
attr_accessor :shipping_rate
|
2256
|
-
|
2257
2017
|
# Parameters to create a new ad-hoc shipping rate for this order.
|
2258
2018
|
attr_accessor :shipping_rate_data
|
2259
2019
|
|
@@ -2267,19 +2027,14 @@ module Stripe
|
|
2267
2027
|
class Address < Stripe::RequestParams
|
2268
2028
|
# City, district, suburb, town, or village.
|
2269
2029
|
attr_accessor :city
|
2270
|
-
|
2271
2030
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2272
2031
|
attr_accessor :country
|
2273
|
-
|
2274
2032
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2275
2033
|
attr_accessor :line1
|
2276
|
-
|
2277
2034
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2278
2035
|
attr_accessor :line2
|
2279
|
-
|
2280
2036
|
# ZIP or postal code.
|
2281
2037
|
attr_accessor :postal_code
|
2282
|
-
|
2283
2038
|
# State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix. Example: "NY" or "TX".
|
2284
2039
|
attr_accessor :state
|
2285
2040
|
|
@@ -2301,10 +2056,8 @@ module Stripe
|
|
2301
2056
|
end
|
2302
2057
|
# The shipping address for the order.
|
2303
2058
|
attr_accessor :address
|
2304
|
-
|
2305
2059
|
# The name of the recipient of the order.
|
2306
2060
|
attr_accessor :name
|
2307
|
-
|
2308
2061
|
# The phone number (including extension) for the recipient of the order.
|
2309
2062
|
attr_accessor :phone
|
2310
2063
|
|
@@ -2317,9 +2070,8 @@ module Stripe
|
|
2317
2070
|
|
2318
2071
|
class TaxDetails < Stripe::RequestParams
|
2319
2072
|
class TaxId < Stripe::RequestParams
|
2320
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
2073
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
2321
2074
|
attr_accessor :type
|
2322
|
-
|
2323
2075
|
# Value of the tax ID.
|
2324
2076
|
attr_accessor :value
|
2325
2077
|
|
@@ -2330,7 +2082,6 @@ module Stripe
|
|
2330
2082
|
end
|
2331
2083
|
# The purchaser's tax exemption status. One of `none`, `exempt`, or `reverse`.
|
2332
2084
|
attr_accessor :tax_exempt
|
2333
|
-
|
2334
2085
|
# The purchaser's tax IDs to be used for this order.
|
2335
2086
|
attr_accessor :tax_ids
|
2336
2087
|
|
@@ -2341,46 +2092,32 @@ module Stripe
|
|
2341
2092
|
end
|
2342
2093
|
# Settings for automatic tax calculation for this order.
|
2343
2094
|
attr_accessor :automatic_tax
|
2344
|
-
|
2345
2095
|
# Billing details for the customer. If a customer is provided, this will be automatically populated with values from that customer if override values are not provided.
|
2346
2096
|
attr_accessor :billing_details
|
2347
|
-
|
2348
2097
|
# The credits to apply to the order, only `gift_card` currently supported. Pass the empty string `""` to unset this field.
|
2349
2098
|
attr_accessor :credits
|
2350
|
-
|
2351
2099
|
# 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).
|
2352
2100
|
attr_accessor :currency
|
2353
|
-
|
2354
2101
|
# The customer associated with this order.
|
2355
2102
|
attr_accessor :customer
|
2356
|
-
|
2357
2103
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
2358
2104
|
attr_accessor :description
|
2359
|
-
|
2360
2105
|
# The coupons, promotion codes, and/or discounts to apply to the order. Pass the empty string `""` to unset this field.
|
2361
2106
|
attr_accessor :discounts
|
2362
|
-
|
2363
2107
|
# Specifies which fields in the response should be expanded.
|
2364
2108
|
attr_accessor :expand
|
2365
|
-
|
2366
2109
|
# The IP address of the purchaser for this order.
|
2367
2110
|
attr_accessor :ip_address
|
2368
|
-
|
2369
2111
|
# A list of line items the customer is ordering. Each line item includes information about the product, the quantity, and the resulting cost.
|
2370
2112
|
attr_accessor :line_items
|
2371
|
-
|
2372
2113
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
2373
2114
|
attr_accessor :metadata
|
2374
|
-
|
2375
2115
|
# Payment information associated with the order, including payment settings.
|
2376
2116
|
attr_accessor :payment
|
2377
|
-
|
2378
2117
|
# Settings for the customer cost of shipping for this order.
|
2379
2118
|
attr_accessor :shipping_cost
|
2380
|
-
|
2381
2119
|
# Shipping details for the order.
|
2382
2120
|
attr_accessor :shipping_details
|
2383
|
-
|
2384
2121
|
# Additional tax details about the purchaser to be used for this order.
|
2385
2122
|
attr_accessor :tax_details
|
2386
2123
|
|
@@ -2440,7 +2177,6 @@ module Stripe
|
|
2440
2177
|
class SubmitParams < Stripe::RequestParams
|
2441
2178
|
# Specifies which fields in the response should be expanded.
|
2442
2179
|
attr_accessor :expand
|
2443
|
-
|
2444
2180
|
# `expected_total` should always be set to the order's `amount_total` field. If they don't match, submitting the order will fail. This helps detect race conditions where something else concurrently modifies the order.
|
2445
2181
|
attr_accessor :expected_total
|
2446
2182
|
|