stripe 13.6.0.pre.beta.1 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +699 -1457
- data/OPENAPI_VERSION +1 -1
- data/README.md +29 -0
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +2 -0
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +0 -7
- data/lib/stripe/object_types.rb +0 -26
- data/lib/stripe/resources/account.rb +83 -614
- data/lib/stripe/resources/account_session.rb +1 -247
- data/lib/stripe/resources/apple_pay_domain.rb +0 -9
- data/lib/stripe/resources/application_fee.rb +1 -10
- data/lib/stripe/resources/balance.rb +0 -9
- data/lib/stripe/resources/balance_transaction.rb +2 -11
- data/lib/stripe/resources/bank_account.rb +1 -1
- data/lib/stripe/resources/billing/alert.rb +0 -9
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -48
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -9
- data/lib/stripe/resources/billing/credit_grant.rb +4 -13
- data/lib/stripe/resources/billing/meter.rb +1 -10
- data/lib/stripe/resources/billing_portal/configuration.rb +0 -9
- data/lib/stripe/resources/card.rb +2 -4
- data/lib/stripe/resources/charge.rb +35 -1457
- data/lib/stripe/resources/checkout/session.rb +100 -293
- data/lib/stripe/resources/climate/order.rb +0 -9
- data/lib/stripe/resources/climate/product.rb +0 -9
- data/lib/stripe/resources/climate/supplier.rb +0 -9
- data/lib/stripe/resources/confirmation_token.rb +74 -156
- data/lib/stripe/resources/country_spec.rb +0 -9
- data/lib/stripe/resources/coupon.rb +0 -9
- data/lib/stripe/resources/credit_note.rb +14 -35
- data/lib/stripe/resources/credit_note_line_item.rb +14 -12
- data/lib/stripe/resources/customer.rb +12 -28
- data/lib/stripe/resources/customer_balance_transaction.rb +3 -1
- data/lib/stripe/resources/dispute.rb +0 -9
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -9
- data/lib/stripe/resources/entitlements/feature.rb +0 -9
- data/lib/stripe/resources/event.rb +0 -40
- data/lib/stripe/resources/exchange_rate.rb +0 -9
- data/lib/stripe/resources/file.rb +0 -9
- data/lib/stripe/resources/file_link.rb +0 -9
- data/lib/stripe/resources/financial_connections/account.rb +0 -23
- data/lib/stripe/resources/financial_connections/session.rb +1 -65
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -9
- data/lib/stripe/resources/forwarding/request.rb +0 -9
- data/lib/stripe/resources/identity/verification_report.rb +0 -9
- data/lib/stripe/resources/identity/verification_session.rb +0 -9
- data/lib/stripe/resources/invoice.rb +225 -5120
- data/lib/stripe/resources/invoice_item.rb +65 -110
- data/lib/stripe/resources/invoice_line_item.rb +106 -89
- data/lib/stripe/resources/invoice_payment.rb +53 -4
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
- data/lib/stripe/resources/issuing/authorization.rb +0 -9
- data/lib/stripe/resources/issuing/card.rb +0 -9
- data/lib/stripe/resources/issuing/cardholder.rb +1 -11
- data/lib/stripe/resources/issuing/dispute.rb +0 -9
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -9
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -9
- data/lib/stripe/resources/issuing/token.rb +0 -9
- data/lib/stripe/resources/issuing/transaction.rb +0 -15
- data/lib/stripe/resources/line_item.rb +0 -28
- data/lib/stripe/resources/mandate.rb +6 -33
- data/lib/stripe/resources/payment_intent.rb +642 -4975
- data/lib/stripe/resources/payment_link.rb +84 -15
- data/lib/stripe/resources/payment_method.rb +74 -187
- data/lib/stripe/resources/payment_method_configuration.rb +87 -214
- data/lib/stripe/resources/payment_method_domain.rb +9 -18
- data/lib/stripe/resources/payout.rb +0 -9
- data/lib/stripe/resources/person.rb +9 -9
- data/lib/stripe/resources/plan.rb +0 -15
- data/lib/stripe/resources/price.rb +2 -47
- data/lib/stripe/resources/product.rb +0 -68
- data/lib/stripe/resources/promotion_code.rb +0 -9
- data/lib/stripe/resources/quote.rb +8 -2037
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -9
- data/lib/stripe/resources/radar/value_list.rb +0 -9
- data/lib/stripe/resources/radar/value_list_item.rb +0 -9
- data/lib/stripe/resources/refund.rb +13 -18
- data/lib/stripe/resources/reporting/report_run.rb +0 -9
- data/lib/stripe/resources/reporting/report_type.rb +0 -9
- data/lib/stripe/resources/review.rb +2 -11
- data/lib/stripe/resources/setup_attempt.rb +11 -16
- data/lib/stripe/resources/setup_intent.rb +158 -540
- data/lib/stripe/resources/shipping_rate.rb +0 -9
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -9
- data/lib/stripe/resources/source.rb +0 -41
- data/lib/stripe/resources/subscription.rb +14 -385
- data/lib/stripe/resources/subscription_item.rb +9 -134
- data/lib/stripe/resources/subscription_schedule.rb +14 -1135
- data/lib/stripe/resources/tax/calculation.rb +0 -9
- data/lib/stripe/resources/tax/registration.rb +1 -10
- data/lib/stripe/resources/tax/settings.rb +0 -9
- data/lib/stripe/resources/tax/transaction.rb +0 -9
- data/lib/stripe/resources/tax_code.rb +0 -9
- data/lib/stripe/resources/tax_id.rb +0 -9
- data/lib/stripe/resources/tax_rate.rb +0 -9
- data/lib/stripe/resources/terminal/configuration.rb +214 -14
- data/lib/stripe/resources/terminal/location.rb +0 -9
- data/lib/stripe/resources/terminal/reader.rb +0 -408
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -9
- data/lib/stripe/resources/token.rb +1 -10
- data/lib/stripe/resources/topup.rb +0 -9
- data/lib/stripe/resources/transfer.rb +0 -9
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -9
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -9
- data/lib/stripe/resources/treasury/financial_account.rb +4 -32
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -9
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -9
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -46
- data/lib/stripe/resources/treasury/received_credit.rb +1 -47
- data/lib/stripe/resources/treasury/received_debit.rb +1 -49
- data/lib/stripe/resources/treasury/transaction.rb +0 -9
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -9
- data/lib/stripe/resources/v2/event.rb +1 -0
- data/lib/stripe/resources/v2/event_destination.rb +1 -0
- data/lib/stripe/resources/webhook_endpoint.rb +0 -9
- data/lib/stripe/resources.rb +0 -25
- data/lib/stripe/services/account_external_account_service.rb +1 -1
- data/lib/stripe/services/account_service.rb +68 -509
- data/lib/stripe/services/account_session_service.rb +1 -217
- data/lib/stripe/services/balance_transaction_service.rb +1 -1
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +2 -2
- data/lib/stripe/services/billing/credit_grant_service.rb +2 -2
- data/lib/stripe/services/billing/meter_service.rb +1 -1
- data/lib/stripe/services/charge_service.rb +1 -1335
- data/lib/stripe/services/checkout/session_service.rb +60 -168
- data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -4
- data/lib/stripe/services/credit_note_service.rb +0 -8
- data/lib/stripe/services/customer_service.rb +0 -16
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections/session_service.rb +1 -30
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/invoice_item_service.rb +34 -88
- data/lib/stripe/services/invoice_line_item_service.rb +25 -41
- data/lib/stripe/services/invoice_payment_service.rb +33 -5
- data/lib/stripe/services/invoice_service.rb +210 -3147
- data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
- data/lib/stripe/services/issuing/transaction_service.rb +0 -4
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/payment_intent_service.rb +568 -4513
- data/lib/stripe/services/payment_link_service.rb +59 -6
- data/lib/stripe/services/payment_method_configuration_service.rb +62 -146
- data/lib/stripe/services/payment_method_domain_service.rb +6 -6
- data/lib/stripe/services/payment_method_service.rb +49 -119
- data/lib/stripe/services/plan_service.rb +0 -4
- data/lib/stripe/services/price_service.rb +2 -25
- data/lib/stripe/services/product_service.rb +0 -38
- data/lib/stripe/services/quote_service.rb +9 -1716
- data/lib/stripe/services/setup_intent_service.rb +158 -492
- data/lib/stripe/services/subscription_item_service.rb +5 -111
- data/lib/stripe/services/subscription_schedule_service.rb +14 -1005
- data/lib/stripe/services/subscription_service.rb +13 -323
- data/lib/stripe/services/tax/registration_service.rb +1 -1
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/configuration_service.rb +170 -4
- data/lib/stripe/services/terminal/reader_service.rb +0 -177
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +49 -87
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
- data/lib/stripe/services/token_service.rb +1 -1
- data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
- data/lib/stripe/services/treasury/financial_account_service.rb +3 -17
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
- data/lib/stripe/services/v1_services.rb +2 -8
- data/lib/stripe/services/v2/core/event_destination_service.rb +1 -4
- data/lib/stripe/services/v2/core/event_service.rb +1 -4
- data/lib/stripe/services.rb +0 -27
- data/lib/stripe/stripe_client.rb +1 -0
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -45
- data/rbi/stripe/resources/account.rbi +1131 -1479
- data/rbi/stripe/resources/account_link.rbi +9 -9
- data/rbi/stripe/resources/account_session.rbi +118 -367
- data/rbi/stripe/resources/apple_pay_domain.rbi +8 -15
- data/rbi/stripe/resources/application_fee.rbi +15 -20
- data/rbi/stripe/resources/apps/secret.rbi +20 -20
- data/rbi/stripe/resources/balance.rbi +0 -7
- data/rbi/stripe/resources/balance_transaction.rbi +19 -24
- data/rbi/stripe/resources/bank_account.rbi +1 -1
- data/rbi/stripe/resources/billing/alert.rbi +23 -28
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -53
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +6 -13
- data/rbi/stripe/resources/billing/credit_grant.rbi +30 -37
- data/rbi/stripe/resources/billing/meter.rbi +19 -26
- data/rbi/stripe/resources/billing/meter_event.rbi +4 -4
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +5 -5
- data/rbi/stripe/resources/billing_portal/configuration.rbi +86 -81
- data/rbi/stripe/resources/billing_portal/session.rbi +31 -27
- data/rbi/stripe/resources/card.rbi +2 -5
- data/rbi/stripe/resources/charge.rbi +136 -1576
- data/rbi/stripe/resources/checkout/session.rbi +631 -748
- data/rbi/stripe/resources/climate/order.rbi +20 -25
- data/rbi/stripe/resources/climate/product.rbi +5 -12
- data/rbi/stripe/resources/climate/supplier.rbi +5 -12
- data/rbi/stripe/resources/confirmation_token.rbi +274 -268
- data/rbi/stripe/resources/country_spec.rbi +5 -12
- data/rbi/stripe/resources/coupon.rbi +34 -39
- data/rbi/stripe/resources/credit_note.rbi +134 -146
- data/rbi/stripe/resources/credit_note_line_item.rbi +20 -18
- data/rbi/stripe/resources/customer.rbi +172 -164
- data/rbi/stripe/resources/customer_balance_transaction.rbi +4 -1
- data/rbi/stripe/resources/customer_session.rbi +19 -15
- data/rbi/stripe/resources/dispute.rbi +92 -95
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +5 -12
- data/rbi/stripe/resources/entitlements/feature.rbi +15 -22
- data/rbi/stripe/resources/ephemeral_key.rbi +2 -2
- data/rbi/stripe/resources/event.rbi +16 -60
- data/rbi/stripe/resources/exchange_rate.rbi +5 -12
- data/rbi/stripe/resources/file.rbi +20 -25
- data/rbi/stripe/resources/file_link.rbi +23 -28
- data/rbi/stripe/resources/financial_connections/account.rbi +25 -44
- data/rbi/stripe/resources/financial_connections/session.rbi +12 -75
- data/rbi/stripe/resources/financial_connections/transaction.rbi +16 -19
- data/rbi/stripe/resources/forwarding/request.rbi +21 -24
- data/rbi/stripe/resources/identity/verification_report.rbi +18 -21
- data/rbi/stripe/resources/identity/verification_session.rbi +60 -61
- data/rbi/stripe/resources/invoice.rbi +723 -5918
- data/rbi/stripe/resources/invoice_item.rbi +138 -177
- data/rbi/stripe/resources/invoice_line_item.rbi +199 -264
- data/rbi/stripe/resources/invoice_payment.rbi +51 -7
- data/rbi/stripe/resources/invoice_rendering_template.rbi +10 -20
- data/rbi/stripe/resources/issuing/authorization.rbi +216 -199
- data/rbi/stripe/resources/issuing/card.rbi +104 -101
- data/rbi/stripe/resources/issuing/cardholder.rbi +120 -108
- data/rbi/stripe/resources/issuing/dispute.rbi +164 -151
- data/rbi/stripe/resources/issuing/personalization_design.rbi +61 -56
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +7 -14
- data/rbi/stripe/resources/issuing/token.rbi +16 -21
- data/rbi/stripe/resources/issuing/transaction.rbi +180 -176
- data/rbi/stripe/resources/line_item.rbi +0 -36
- data/rbi/stripe/resources/mandate.rbi +8 -40
- data/rbi/stripe/resources/payment_intent.rbi +2252 -6482
- data/rbi/stripe/resources/payment_link.rbi +346 -211
- data/rbi/stripe/resources/payment_method.rbi +226 -330
- data/rbi/stripe/resources/payment_method_configuration.rbi +602 -685
- data/rbi/stripe/resources/payment_method_domain.rbi +26 -31
- data/rbi/stripe/resources/payout.rbi +43 -42
- data/rbi/stripe/resources/person.rbi +9 -9
- data/rbi/stripe/resources/plan.rbi +51 -63
- data/rbi/stripe/resources/price.rbi +114 -151
- data/rbi/stripe/resources/product.rbi +90 -152
- data/rbi/stripe/resources/promotion_code.rbi +42 -47
- data/rbi/stripe/resources/quote.rbi +168 -2231
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +17 -20
- data/rbi/stripe/resources/radar/value_list.rbi +24 -29
- data/rbi/stripe/resources/radar/value_list_item.rbi +18 -21
- data/rbi/stripe/resources/refund.rbi +52 -51
- data/rbi/stripe/resources/reporting/report_run.rbi +27 -30
- data/rbi/stripe/resources/reporting/report_type.rbi +2 -9
- data/rbi/stripe/resources/review.rbi +17 -22
- data/rbi/stripe/resources/setup_attempt.rbi +25 -32
- data/rbi/stripe/resources/setup_intent.rbi +900 -1102
- data/rbi/stripe/resources/shipping_rate.rbi +41 -46
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +5 -12
- data/rbi/stripe/resources/source.rbi +132 -179
- data/rbi/stripe/resources/subscription.rbi +363 -707
- data/rbi/stripe/resources/subscription_item.rbi +69 -177
- data/rbi/stripe/resources/subscription_schedule.rbi +289 -1447
- data/rbi/stripe/resources/tax/calculation.rbi +43 -48
- data/rbi/stripe/resources/tax/registration.rbi +217 -170
- data/rbi/stripe/resources/tax/settings.rbi +14 -21
- data/rbi/stripe/resources/tax/transaction.rbi +20 -25
- data/rbi/stripe/resources/tax_code.rbi +5 -12
- data/rbi/stripe/resources/tax_id.rbi +15 -22
- data/rbi/stripe/resources/tax_rate.rbi +34 -39
- data/rbi/stripe/resources/terminal/configuration.rbi +457 -212
- data/rbi/stripe/resources/terminal/connection_token.rbi +3 -3
- data/rbi/stripe/resources/terminal/location.rbi +28 -35
- data/rbi/stripe/resources/terminal/reader.rbi +71 -441
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +12 -17
- data/rbi/stripe/resources/token.rbi +288 -263
- data/rbi/stripe/resources/topup.rbi +35 -38
- data/rbi/stripe/resources/transfer.rbi +27 -32
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +10 -17
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +11 -18
- data/rbi/stripe/resources/treasury/financial_account.rbi +125 -130
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -3
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +22 -29
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +82 -79
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +44 -86
- data/rbi/stripe/resources/treasury/received_credit.rbi +18 -64
- data/rbi/stripe/resources/treasury/received_debit.rbi +17 -66
- data/rbi/stripe/resources/treasury/transaction.rbi +27 -28
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +25 -26
- data/rbi/stripe/resources/v2/amount.rbi +1 -1
- data/rbi/stripe/resources/v2/event.rbi +1 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +1 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +18 -25
- data/rbi/stripe/services/account_capability_service.rbi +7 -7
- data/rbi/stripe/services/account_external_account_service.rbi +52 -52
- data/rbi/stripe/services/account_link_service.rbi +9 -9
- data/rbi/stripe/services/account_login_link_service.rbi +2 -2
- data/rbi/stripe/services/account_person_service.rbi +221 -201
- data/rbi/stripe/services/account_service.rbi +1221 -1345
- data/rbi/stripe/services/account_session_service.rbi +115 -346
- data/rbi/stripe/services/apple_pay_domain_service.rbi +10 -10
- data/rbi/stripe/services/application_fee_refund_service.rbi +16 -14
- data/rbi/stripe/services/application_fee_service.rbi +18 -14
- data/rbi/stripe/services/apps/secret_service.rbi +20 -20
- data/rbi/stripe/services/balance_service.rbi +2 -2
- data/rbi/stripe/services/balance_transaction_service.rbi +22 -18
- data/rbi/stripe/services/billing/alert_service.rbi +23 -23
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +10 -10
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +8 -8
- data/rbi/stripe/services/billing/credit_grant_service.rbi +32 -30
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +7 -5
- data/rbi/stripe/services/billing/meter_event_service.rbi +4 -4
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +6 -6
- data/rbi/stripe/services/billing/meter_service.rbi +21 -21
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +90 -76
- data/rbi/stripe/services/billing_portal/session_service.rbi +29 -27
- data/rbi/stripe/services/charge_service.rbi +96 -1464
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +5 -5
- data/rbi/stripe/services/checkout/session_service.rbi +555 -591
- data/rbi/stripe/services/climate/order_service.rbi +22 -20
- data/rbi/stripe/services/climate/product_service.rbi +7 -7
- data/rbi/stripe/services/climate/supplier_service.rbi +7 -7
- data/rbi/stripe/services/confirmation_token_service.rbi +2 -2
- data/rbi/stripe/services/country_spec_service.rbi +7 -7
- data/rbi/stripe/services/coupon_service.rbi +40 -34
- data/rbi/stripe/services/credit_note_line_item_service.rbi +5 -5
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +35 -35
- data/rbi/stripe/services/credit_note_service.rbi +81 -85
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +15 -15
- data/rbi/stripe/services/customer_cash_balance_service.rbi +7 -7
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +7 -7
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +5 -5
- data/rbi/stripe/services/customer_payment_method_service.rbi +9 -9
- data/rbi/stripe/services/customer_payment_source_service.rbi +48 -44
- data/rbi/stripe/services/customer_service.rbi +143 -139
- data/rbi/stripe/services/customer_session_service.rbi +21 -15
- data/rbi/stripe/services/customer_tax_id_service.rbi +9 -9
- data/rbi/stripe/services/dispute_service.rbi +92 -90
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +7 -7
- data/rbi/stripe/services/entitlements/feature_service.rbi +17 -17
- data/rbi/stripe/services/ephemeral_key_service.rbi +8 -8
- data/rbi/stripe/services/event_service.rbi +18 -16
- data/rbi/stripe/services/exchange_rate_service.rbi +7 -7
- data/rbi/stripe/services/file_link_service.rbi +25 -23
- data/rbi/stripe/services/file_service.rbi +22 -20
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +5 -5
- data/rbi/stripe/services/financial_connections/account_service.rbi +22 -21
- data/rbi/stripe/services/financial_connections/session_service.rbi +16 -39
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +16 -14
- data/rbi/stripe/services/financial_connections_service.rbi +0 -1
- data/rbi/stripe/services/forwarding/request_service.rbi +21 -19
- data/rbi/stripe/services/identity/verification_report_service.rbi +18 -16
- data/rbi/stripe/services/identity/verification_session_service.rbi +62 -56
- data/rbi/stripe/services/invoice_item_service.rbi +99 -155
- data/rbi/stripe/services/invoice_line_item_service.rbi +71 -82
- data/rbi/stripe/services/invoice_payment_service.rbi +39 -12
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +13 -13
- data/rbi/stripe/services/invoice_service.rbi +679 -3799
- data/rbi/stripe/services/issuing/authorization_service.rbi +32 -26
- data/rbi/stripe/services/issuing/card_service.rbi +102 -86
- data/rbi/stripe/services/issuing/cardholder_service.rbi +122 -103
- data/rbi/stripe/services/issuing/dispute_service.rbi +152 -146
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +52 -42
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +9 -9
- data/rbi/stripe/services/issuing/token_service.rbi +20 -16
- data/rbi/stripe/services/issuing/transaction_service.rbi +25 -23
- data/rbi/stripe/services/issuing_service.rbi +0 -3
- data/rbi/stripe/services/mandate_service.rbi +2 -2
- data/rbi/stripe/services/payment_intent_service.rbi +2312 -6081
- data/rbi/stripe/services/payment_link_line_item_service.rbi +5 -5
- data/rbi/stripe/services/payment_link_service.rbi +303 -201
- data/rbi/stripe/services/payment_method_configuration_service.rbi +616 -620
- data/rbi/stripe/services/payment_method_domain_service.rbi +25 -23
- data/rbi/stripe/services/payment_method_service.rbi +192 -249
- data/rbi/stripe/services/payout_service.rbi +45 -37
- data/rbi/stripe/services/plan_service.rbi +53 -55
- data/rbi/stripe/services/price_service.rbi +124 -129
- data/rbi/stripe/services/product_feature_service.rbi +9 -9
- data/rbi/stripe/services/product_service.rbi +94 -122
- data/rbi/stripe/services/promotion_code_service.rbi +46 -42
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +5 -5
- data/rbi/stripe/services/quote_line_item_service.rbi +5 -5
- data/rbi/stripe/services/quote_service.rbi +159 -1863
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +17 -15
- data/rbi/stripe/services/radar/value_list_item_service.rbi +20 -16
- data/rbi/stripe/services/radar/value_list_service.rbi +28 -24
- data/rbi/stripe/services/refund_service.rbi +37 -33
- data/rbi/stripe/services/reporting/report_run_service.rbi +29 -25
- data/rbi/stripe/services/reporting/report_type_service.rbi +4 -4
- data/rbi/stripe/services/review_service.rbi +17 -15
- data/rbi/stripe/services/setup_attempt_service.rbi +13 -11
- data/rbi/stripe/services/setup_intent_service.rbi +1028 -1062
- data/rbi/stripe/services/shipping_rate_service.rbi +47 -41
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +7 -7
- data/rbi/stripe/services/source_service.rbi +149 -133
- data/rbi/stripe/services/source_transaction_service.rbi +5 -5
- data/rbi/stripe/services/subscription_item_service.rbi +61 -159
- data/rbi/stripe/services/subscription_schedule_service.rbi +289 -1305
- data/rbi/stripe/services/subscription_service.rbi +366 -640
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +5 -5
- data/rbi/stripe/services/tax/calculation_service.rbi +40 -38
- data/rbi/stripe/services/tax/registration_service.rbi +337 -165
- data/rbi/stripe/services/tax/settings_service.rbi +16 -16
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +5 -5
- data/rbi/stripe/services/tax/transaction_service.rbi +19 -15
- data/rbi/stripe/services/tax_code_service.rbi +7 -7
- data/rbi/stripe/services/tax_id_service.rbi +17 -17
- data/rbi/stripe/services/tax_rate_service.rbi +36 -34
- data/rbi/stripe/services/tax_service.rbi +0 -2
- data/rbi/stripe/services/terminal/configuration_service.rbi +464 -204
- data/rbi/stripe/services/terminal/connection_token_service.rbi +3 -3
- data/rbi/stripe/services/terminal/location_service.rbi +30 -30
- data/rbi/stripe/services/terminal/reader_service.rbi +57 -226
- data/rbi/stripe/services/terminal_service.rbi +0 -1
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +157 -198
- data/rbi/stripe/services/test_helpers/customer_service.rbi +3 -3
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +180 -168
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +10 -10
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +11 -9
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +151 -145
- data/rbi/stripe/services/test_helpers/refund_service.rbi +2 -2
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +10 -39
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +14 -12
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +9 -9
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +20 -18
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +20 -18
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +11 -38
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +11 -38
- data/rbi/stripe/services/token_service.rbi +292 -258
- data/rbi/stripe/services/topup_service.rbi +37 -33
- data/rbi/stripe/services/transfer_reversal_service.rbi +18 -16
- data/rbi/stripe/services/transfer_service.rbi +29 -27
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +12 -12
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +13 -13
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +23 -26
- data/rbi/stripe/services/treasury/financial_account_service.rbi +92 -96
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +15 -15
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +60 -56
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +24 -49
- data/rbi/stripe/services/treasury/received_credit_service.rbi +11 -9
- data/rbi/stripe/services/treasury/received_debit_service.rbi +8 -8
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +25 -21
- data/rbi/stripe/services/treasury/transaction_service.rbi +31 -23
- data/rbi/stripe/services/v1_services.rbi +1 -7
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +3 -3
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +3 -3
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +21 -24
- data/rbi/stripe/services/v2/core/event_service.rbi +3 -6
- data/rbi/stripe/services/webhook_endpoint_service.rbi +20 -20
- metadata +4 -109
- data/lib/stripe/request_signing_authenticator.rb +0 -79
- data/lib/stripe/resources/account_notice.rb +0 -132
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
- data/lib/stripe/resources/capital/financing_offer.rb +0 -188
- data/lib/stripe/resources/capital/financing_summary.rb +0 -64
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -123
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
- data/lib/stripe/resources/financial_connections/institution.rb +0 -99
- data/lib/stripe/resources/gift_cards/card.rb +0 -217
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -281
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -611
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -84
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -95
- data/lib/stripe/resources/issuing/settlement.rb +0 -49
- data/lib/stripe/resources/margin.rb +0 -124
- data/lib/stripe/resources/order.rb +0 -2868
- data/lib/stripe/resources/payment_attempt_record.rb +0 -184
- data/lib/stripe/resources/payment_record.rb +0 -715
- data/lib/stripe/resources/quote_line.rb +0 -274
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -652
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -362
- data/lib/stripe/resources/tax/association.rb +0 -89
- data/lib/stripe/resources/tax/form.rb +0 -220
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -40
- data/lib/stripe/resources/usage_record.rb +0 -30
- data/lib/stripe/resources/usage_record_summary.rb +0 -33
- data/lib/stripe/services/account_notice_service.rb +0 -101
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -37
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
- data/lib/stripe/services/gift_cards/card_service.rb +0 -170
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
- data/lib/stripe/services/gift_cards_service.rb +0 -14
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +0 -1881
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
- data/lib/stripe/services/margin_service.rb +0 -119
- data/lib/stripe/services/order_line_item_service.rb +0 -35
- data/lib/stripe/services/order_service.rb +0 -2268
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
- data/lib/stripe/services/payment_record_service.rb +0 -542
- data/lib/stripe/services/quote_line_service.rb +0 -35
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -35
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
- data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -41
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -37
- data/lib/stripe/services/tax/association_service.rb +0 -31
- data/lib/stripe/services/tax/form_service.rb +0 -100
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
- data/rbi/stripe/resources/account_notice.rbi +0 -139
- data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -71
- data/rbi/stripe/resources/capital/financing_offer.rbi +0 -190
- data/rbi/stripe/resources/capital/financing_summary.rbi +0 -74
- data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -130
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -27
- data/rbi/stripe/resources/financial_connections/institution.rbi +0 -99
- data/rbi/stripe/resources/gift_cards/card.rbi +0 -206
- data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -257
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -622
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -83
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -90
- data/rbi/stripe/resources/issuing/settlement.rbi +0 -62
- data/rbi/stripe/resources/margin.rbi +0 -127
- data/rbi/stripe/resources/order.rbi +0 -3036
- data/rbi/stripe/resources/payment_attempt_record.rbi +0 -215
- data/rbi/stripe/resources/payment_record.rbi +0 -722
- data/rbi/stripe/resources/quote_line.rbi +0 -350
- data/rbi/stripe/resources/quote_preview_invoice.rbi +0 -850
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -474
- data/rbi/stripe/resources/tax/association.rbi +0 -94
- data/rbi/stripe/resources/tax/form.rbi +0 -224
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -41
- data/rbi/stripe/resources/usage_record.rbi +0 -32
- data/rbi/stripe/resources/usage_record_summary.rbi +0 -38
- data/rbi/stripe/services/account_notice_service.rbi +0 -90
- data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -95
- data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -22
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -68
- data/rbi/stripe/services/capital_service.rbi +0 -11
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -33
- data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -46
- data/rbi/stripe/services/gift_cards/card_service.rbi +0 -142
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -174
- data/rbi/stripe/services/gift_cards_service.rbi +0 -10
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +0 -2023
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -498
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -55
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -73
- data/rbi/stripe/services/margin_service.rbi +0 -104
- data/rbi/stripe/services/order_line_item_service.rbi +0 -31
- data/rbi/stripe/services/order_service.rbi +0 -2320
- data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -36
- data/rbi/stripe/services/payment_record_service.rbi +0 -521
- data/rbi/stripe/services/quote_line_service.rbi +0 -31
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -31
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -31
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -37
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -33
- data/rbi/stripe/services/tax/association_service.rbi +0 -25
- data/rbi/stripe/services/tax/form_service.rbi +0 -85
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -22
@@ -55,6 +55,7 @@ module Stripe
|
|
55
55
|
end
|
56
56
|
|
57
57
|
class Bancontact < Stripe::StripeObject; end
|
58
|
+
class Billie < Stripe::StripeObject; end
|
58
59
|
|
59
60
|
class BillingDetails < Stripe::StripeObject
|
60
61
|
class Address < Stripe::StripeObject
|
@@ -434,20 +435,8 @@ module Stripe
|
|
434
435
|
end
|
435
436
|
|
436
437
|
class Giropay < Stripe::StripeObject; end
|
437
|
-
class Gopay < Stripe::StripeObject; end
|
438
438
|
class Grabpay < Stripe::StripeObject; end
|
439
439
|
|
440
|
-
class IdBankTransfer < Stripe::StripeObject
|
441
|
-
# Attribute for field bank
|
442
|
-
attr_reader :bank
|
443
|
-
# Attribute for field bank_code
|
444
|
-
attr_reader :bank_code
|
445
|
-
# Attribute for field bank_name
|
446
|
-
attr_reader :bank_name
|
447
|
-
# Attribute for field display_name
|
448
|
-
attr_reader :display_name
|
449
|
-
end
|
450
|
-
|
451
440
|
class Ideal < Stripe::StripeObject
|
452
441
|
# The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
453
442
|
attr_reader :bank
|
@@ -525,15 +514,31 @@ module Stripe
|
|
525
514
|
attr_reader :persistent_token
|
526
515
|
end
|
527
516
|
|
528
|
-
class MbWay < Stripe::StripeObject; end
|
529
517
|
class Mobilepay < Stripe::StripeObject; end
|
530
518
|
class Multibanco < Stripe::StripeObject; end
|
531
519
|
|
532
520
|
class NaverPay < Stripe::StripeObject
|
521
|
+
# Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.
|
522
|
+
attr_reader :buyer_id
|
533
523
|
# Whether to fund this transaction with Naver Pay points or a card.
|
534
524
|
attr_reader :funding
|
535
525
|
end
|
536
526
|
|
527
|
+
class NzBankAccount < Stripe::StripeObject
|
528
|
+
# The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
|
529
|
+
attr_reader :account_holder_name
|
530
|
+
# The numeric code for the bank account's bank.
|
531
|
+
attr_reader :bank_code
|
532
|
+
# The name of the bank.
|
533
|
+
attr_reader :bank_name
|
534
|
+
# The numeric code for the bank account's bank branch.
|
535
|
+
attr_reader :branch_code
|
536
|
+
# Last four digits of the bank account number.
|
537
|
+
attr_reader :last4
|
538
|
+
# The suffix of the bank account number.
|
539
|
+
attr_reader :suffix
|
540
|
+
end
|
541
|
+
|
537
542
|
class Oxxo < Stripe::StripeObject; end
|
538
543
|
|
539
544
|
class P24 < Stripe::StripeObject
|
@@ -548,51 +553,24 @@ module Stripe
|
|
548
553
|
class Paypal < Stripe::StripeObject
|
549
554
|
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
550
555
|
attr_reader :country
|
551
|
-
# Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
552
|
-
attr_reader :fingerprint
|
553
556
|
# Owner's email. Values are provided by PayPal directly
|
554
557
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
555
558
|
attr_reader :payer_email
|
556
559
|
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
557
560
|
attr_reader :payer_id
|
558
|
-
# Owner's verified email. Values are verified or provided by PayPal directly
|
559
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
560
|
-
attr_reader :verified_email
|
561
|
-
end
|
562
|
-
|
563
|
-
class Payto < Stripe::StripeObject
|
564
|
-
# Bank-State-Branch number of the bank account.
|
565
|
-
attr_reader :bsb_number
|
566
|
-
# Last four digits of the bank account number.
|
567
|
-
attr_reader :last4
|
568
|
-
# The PayID alias for the bank account.
|
569
|
-
attr_reader :pay_id
|
570
561
|
end
|
571
562
|
|
572
563
|
class Pix < Stripe::StripeObject; end
|
573
564
|
class Promptpay < Stripe::StripeObject; end
|
574
|
-
class Qris < Stripe::StripeObject; end
|
575
565
|
|
576
566
|
class RadarOptions < Stripe::StripeObject
|
577
567
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
578
568
|
attr_reader :session
|
579
569
|
end
|
580
570
|
|
581
|
-
class Rechnung < Stripe::StripeObject
|
582
|
-
class Dob < Stripe::StripeObject
|
583
|
-
# The day of birth, between 1 and 31.
|
584
|
-
attr_reader :day
|
585
|
-
# The month of birth, between 1 and 12.
|
586
|
-
attr_reader :month
|
587
|
-
# The four-digit year of birth.
|
588
|
-
attr_reader :year
|
589
|
-
end
|
590
|
-
# Attribute for field dob
|
591
|
-
attr_reader :dob
|
592
|
-
end
|
593
|
-
|
594
571
|
class RevolutPay < Stripe::StripeObject; end
|
595
572
|
class SamsungPay < Stripe::StripeObject; end
|
573
|
+
class Satispay < Stripe::StripeObject; end
|
596
574
|
|
597
575
|
class SepaDebit < Stripe::StripeObject
|
598
576
|
class GeneratedFrom < Stripe::StripeObject
|
@@ -615,8 +593,6 @@ module Stripe
|
|
615
593
|
attr_reader :last4
|
616
594
|
end
|
617
595
|
|
618
|
-
class Shopeepay < Stripe::StripeObject; end
|
619
|
-
|
620
596
|
class Sofort < Stripe::StripeObject
|
621
597
|
# Two-letter ISO code representing the country the bank account is located in.
|
622
598
|
attr_reader :country
|
@@ -645,8 +621,6 @@ module Stripe
|
|
645
621
|
end
|
646
622
|
# Account holder type: individual or company.
|
647
623
|
attr_reader :account_holder_type
|
648
|
-
# Account number of the bank account.
|
649
|
-
attr_reader :account_number
|
650
624
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
651
625
|
attr_reader :account_type
|
652
626
|
# The name of the bank.
|
@@ -757,6 +731,9 @@ module Stripe
|
|
757
731
|
class Bancontact < Stripe::RequestParams
|
758
732
|
end
|
759
733
|
|
734
|
+
class Billie < Stripe::RequestParams
|
735
|
+
end
|
736
|
+
|
760
737
|
class BillingDetails < Stripe::RequestParams
|
761
738
|
class Address < Stripe::RequestParams
|
762
739
|
# City, district, suburb, town, or village.
|
@@ -886,21 +863,9 @@ module Stripe
|
|
886
863
|
class Giropay < Stripe::RequestParams
|
887
864
|
end
|
888
865
|
|
889
|
-
class Gopay < Stripe::RequestParams
|
890
|
-
end
|
891
|
-
|
892
866
|
class Grabpay < Stripe::RequestParams
|
893
867
|
end
|
894
868
|
|
895
|
-
class IdBankTransfer < Stripe::RequestParams
|
896
|
-
# Bank where the account is held.
|
897
|
-
attr_accessor :bank
|
898
|
-
|
899
|
-
def initialize(bank: nil)
|
900
|
-
@bank = bank
|
901
|
-
end
|
902
|
-
end
|
903
|
-
|
904
869
|
class Ideal < Stripe::RequestParams
|
905
870
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
906
871
|
attr_accessor :bank
|
@@ -948,9 +913,6 @@ module Stripe
|
|
948
913
|
class Link < Stripe::RequestParams
|
949
914
|
end
|
950
915
|
|
951
|
-
class MbWay < Stripe::RequestParams
|
952
|
-
end
|
953
|
-
|
954
916
|
class Mobilepay < Stripe::RequestParams
|
955
917
|
end
|
956
918
|
|
@@ -966,6 +928,37 @@ module Stripe
|
|
966
928
|
end
|
967
929
|
end
|
968
930
|
|
931
|
+
class NzBankAccount < Stripe::RequestParams
|
932
|
+
# The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
|
933
|
+
attr_accessor :account_holder_name
|
934
|
+
# The account number for the bank account.
|
935
|
+
attr_accessor :account_number
|
936
|
+
# The numeric code for the bank account's bank.
|
937
|
+
attr_accessor :bank_code
|
938
|
+
# The numeric code for the bank account's bank branch.
|
939
|
+
attr_accessor :branch_code
|
940
|
+
# Attribute for param field reference
|
941
|
+
attr_accessor :reference
|
942
|
+
# The suffix of the bank account number.
|
943
|
+
attr_accessor :suffix
|
944
|
+
|
945
|
+
def initialize(
|
946
|
+
account_holder_name: nil,
|
947
|
+
account_number: nil,
|
948
|
+
bank_code: nil,
|
949
|
+
branch_code: nil,
|
950
|
+
reference: nil,
|
951
|
+
suffix: nil
|
952
|
+
)
|
953
|
+
@account_holder_name = account_holder_name
|
954
|
+
@account_number = account_number
|
955
|
+
@bank_code = bank_code
|
956
|
+
@branch_code = branch_code
|
957
|
+
@reference = reference
|
958
|
+
@suffix = suffix
|
959
|
+
end
|
960
|
+
end
|
961
|
+
|
969
962
|
class Oxxo < Stripe::RequestParams
|
970
963
|
end
|
971
964
|
|
@@ -990,30 +983,12 @@ module Stripe
|
|
990
983
|
class Paypal < Stripe::RequestParams
|
991
984
|
end
|
992
985
|
|
993
|
-
class Payto < Stripe::RequestParams
|
994
|
-
# The account number for the bank account.
|
995
|
-
attr_accessor :account_number
|
996
|
-
# Bank-State-Branch number of the bank account.
|
997
|
-
attr_accessor :bsb_number
|
998
|
-
# The PayID alias for the bank account.
|
999
|
-
attr_accessor :pay_id
|
1000
|
-
|
1001
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1002
|
-
@account_number = account_number
|
1003
|
-
@bsb_number = bsb_number
|
1004
|
-
@pay_id = pay_id
|
1005
|
-
end
|
1006
|
-
end
|
1007
|
-
|
1008
986
|
class Pix < Stripe::RequestParams
|
1009
987
|
end
|
1010
988
|
|
1011
989
|
class Promptpay < Stripe::RequestParams
|
1012
990
|
end
|
1013
991
|
|
1014
|
-
class Qris < Stripe::RequestParams
|
1015
|
-
end
|
1016
|
-
|
1017
992
|
class RadarOptions < Stripe::RequestParams
|
1018
993
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
1019
994
|
attr_accessor :session
|
@@ -1023,35 +998,15 @@ module Stripe
|
|
1023
998
|
end
|
1024
999
|
end
|
1025
1000
|
|
1026
|
-
class Rechnung < Stripe::RequestParams
|
1027
|
-
class Dob < Stripe::RequestParams
|
1028
|
-
# The day of birth, between 1 and 31.
|
1029
|
-
attr_accessor :day
|
1030
|
-
# The month of birth, between 1 and 12.
|
1031
|
-
attr_accessor :month
|
1032
|
-
# The four-digit year of birth.
|
1033
|
-
attr_accessor :year
|
1034
|
-
|
1035
|
-
def initialize(day: nil, month: nil, year: nil)
|
1036
|
-
@day = day
|
1037
|
-
@month = month
|
1038
|
-
@year = year
|
1039
|
-
end
|
1040
|
-
end
|
1041
|
-
# Customer's date of birth
|
1042
|
-
attr_accessor :dob
|
1043
|
-
|
1044
|
-
def initialize(dob: nil)
|
1045
|
-
@dob = dob
|
1046
|
-
end
|
1047
|
-
end
|
1048
|
-
|
1049
1001
|
class RevolutPay < Stripe::RequestParams
|
1050
1002
|
end
|
1051
1003
|
|
1052
1004
|
class SamsungPay < Stripe::RequestParams
|
1053
1005
|
end
|
1054
1006
|
|
1007
|
+
class Satispay < Stripe::RequestParams
|
1008
|
+
end
|
1009
|
+
|
1055
1010
|
class SepaDebit < Stripe::RequestParams
|
1056
1011
|
# IBAN of the bank account.
|
1057
1012
|
attr_accessor :iban
|
@@ -1061,9 +1016,6 @@ module Stripe
|
|
1061
1016
|
end
|
1062
1017
|
end
|
1063
1018
|
|
1064
|
-
class Shopeepay < Stripe::RequestParams
|
1065
|
-
end
|
1066
|
-
|
1067
1019
|
class Sofort < Stripe::RequestParams
|
1068
1020
|
# Two-letter ISO code representing the country the bank account is located in.
|
1069
1021
|
attr_accessor :country
|
@@ -1131,6 +1083,8 @@ module Stripe
|
|
1131
1083
|
attr_accessor :bacs_debit
|
1132
1084
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
1133
1085
|
attr_accessor :bancontact
|
1086
|
+
# If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
|
1087
|
+
attr_accessor :billie
|
1134
1088
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
1135
1089
|
attr_accessor :billing_details
|
1136
1090
|
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
@@ -1153,12 +1107,8 @@ module Stripe
|
|
1153
1107
|
attr_accessor :fpx
|
1154
1108
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1155
1109
|
attr_accessor :giropay
|
1156
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1157
|
-
attr_accessor :gopay
|
1158
1110
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1159
1111
|
attr_accessor :grabpay
|
1160
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1161
|
-
attr_accessor :id_bank_transfer
|
1162
1112
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1163
1113
|
attr_accessor :ideal
|
1164
1114
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -1173,8 +1123,6 @@ module Stripe
|
|
1173
1123
|
attr_accessor :kr_card
|
1174
1124
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1175
1125
|
attr_accessor :link
|
1176
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
1177
|
-
attr_accessor :mb_way
|
1178
1126
|
# 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`.
|
1179
1127
|
attr_accessor :metadata
|
1180
1128
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -1183,6 +1131,8 @@ module Stripe
|
|
1183
1131
|
attr_accessor :multibanco
|
1184
1132
|
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
1185
1133
|
attr_accessor :naver_pay
|
1134
|
+
# If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
|
1135
|
+
attr_accessor :nz_bank_account
|
1186
1136
|
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
1187
1137
|
attr_accessor :oxxo
|
1188
1138
|
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
@@ -1197,26 +1147,20 @@ module Stripe
|
|
1197
1147
|
attr_accessor :paynow
|
1198
1148
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1199
1149
|
attr_accessor :paypal
|
1200
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1201
|
-
attr_accessor :payto
|
1202
1150
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1203
1151
|
attr_accessor :pix
|
1204
1152
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1205
1153
|
attr_accessor :promptpay
|
1206
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1207
|
-
attr_accessor :qris
|
1208
1154
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1209
1155
|
attr_accessor :radar_options
|
1210
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1211
|
-
attr_accessor :rechnung
|
1212
1156
|
# If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1213
1157
|
attr_accessor :revolut_pay
|
1214
1158
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
1215
1159
|
attr_accessor :samsung_pay
|
1160
|
+
# If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
|
1161
|
+
attr_accessor :satispay
|
1216
1162
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1217
1163
|
attr_accessor :sepa_debit
|
1218
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1219
|
-
attr_accessor :shopeepay
|
1220
1164
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1221
1165
|
attr_accessor :sofort
|
1222
1166
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
@@ -1243,6 +1187,7 @@ module Stripe
|
|
1243
1187
|
au_becs_debit: nil,
|
1244
1188
|
bacs_debit: nil,
|
1245
1189
|
bancontact: nil,
|
1190
|
+
billie: nil,
|
1246
1191
|
billing_details: nil,
|
1247
1192
|
blik: nil,
|
1248
1193
|
boleto: nil,
|
@@ -1254,9 +1199,7 @@ module Stripe
|
|
1254
1199
|
expand: nil,
|
1255
1200
|
fpx: nil,
|
1256
1201
|
giropay: nil,
|
1257
|
-
gopay: nil,
|
1258
1202
|
grabpay: nil,
|
1259
|
-
id_bank_transfer: nil,
|
1260
1203
|
ideal: nil,
|
1261
1204
|
interac_present: nil,
|
1262
1205
|
kakao_pay: nil,
|
@@ -1264,11 +1207,11 @@ module Stripe
|
|
1264
1207
|
konbini: nil,
|
1265
1208
|
kr_card: nil,
|
1266
1209
|
link: nil,
|
1267
|
-
mb_way: nil,
|
1268
1210
|
metadata: nil,
|
1269
1211
|
mobilepay: nil,
|
1270
1212
|
multibanco: nil,
|
1271
1213
|
naver_pay: nil,
|
1214
|
+
nz_bank_account: nil,
|
1272
1215
|
oxxo: nil,
|
1273
1216
|
p24: nil,
|
1274
1217
|
pay_by_bank: nil,
|
@@ -1276,16 +1219,13 @@ module Stripe
|
|
1276
1219
|
payment_method: nil,
|
1277
1220
|
paynow: nil,
|
1278
1221
|
paypal: nil,
|
1279
|
-
payto: nil,
|
1280
1222
|
pix: nil,
|
1281
1223
|
promptpay: nil,
|
1282
|
-
qris: nil,
|
1283
1224
|
radar_options: nil,
|
1284
|
-
rechnung: nil,
|
1285
1225
|
revolut_pay: nil,
|
1286
1226
|
samsung_pay: nil,
|
1227
|
+
satispay: nil,
|
1287
1228
|
sepa_debit: nil,
|
1288
|
-
shopeepay: nil,
|
1289
1229
|
sofort: nil,
|
1290
1230
|
swish: nil,
|
1291
1231
|
twint: nil,
|
@@ -1304,6 +1244,7 @@ module Stripe
|
|
1304
1244
|
@au_becs_debit = au_becs_debit
|
1305
1245
|
@bacs_debit = bacs_debit
|
1306
1246
|
@bancontact = bancontact
|
1247
|
+
@billie = billie
|
1307
1248
|
@billing_details = billing_details
|
1308
1249
|
@blik = blik
|
1309
1250
|
@boleto = boleto
|
@@ -1315,9 +1256,7 @@ module Stripe
|
|
1315
1256
|
@expand = expand
|
1316
1257
|
@fpx = fpx
|
1317
1258
|
@giropay = giropay
|
1318
|
-
@gopay = gopay
|
1319
1259
|
@grabpay = grabpay
|
1320
|
-
@id_bank_transfer = id_bank_transfer
|
1321
1260
|
@ideal = ideal
|
1322
1261
|
@interac_present = interac_present
|
1323
1262
|
@kakao_pay = kakao_pay
|
@@ -1325,11 +1264,11 @@ module Stripe
|
|
1325
1264
|
@konbini = konbini
|
1326
1265
|
@kr_card = kr_card
|
1327
1266
|
@link = link
|
1328
|
-
@mb_way = mb_way
|
1329
1267
|
@metadata = metadata
|
1330
1268
|
@mobilepay = mobilepay
|
1331
1269
|
@multibanco = multibanco
|
1332
1270
|
@naver_pay = naver_pay
|
1271
|
+
@nz_bank_account = nz_bank_account
|
1333
1272
|
@oxxo = oxxo
|
1334
1273
|
@p24 = p24
|
1335
1274
|
@pay_by_bank = pay_by_bank
|
@@ -1337,16 +1276,13 @@ module Stripe
|
|
1337
1276
|
@payment_method = payment_method
|
1338
1277
|
@paynow = paynow
|
1339
1278
|
@paypal = paypal
|
1340
|
-
@payto = payto
|
1341
1279
|
@pix = pix
|
1342
1280
|
@promptpay = promptpay
|
1343
|
-
@qris = qris
|
1344
1281
|
@radar_options = radar_options
|
1345
|
-
@rechnung = rechnung
|
1346
1282
|
@revolut_pay = revolut_pay
|
1347
1283
|
@samsung_pay = samsung_pay
|
1284
|
+
@satispay = satispay
|
1348
1285
|
@sepa_debit = sepa_debit
|
1349
|
-
@shopeepay = shopeepay
|
1350
1286
|
@sofort = sofort
|
1351
1287
|
@swish = swish
|
1352
1288
|
@twint = twint
|
@@ -1357,15 +1293,6 @@ module Stripe
|
|
1357
1293
|
end
|
1358
1294
|
end
|
1359
1295
|
|
1360
|
-
class RetrieveParams < Stripe::RequestParams
|
1361
|
-
# Specifies which fields in the response should be expanded.
|
1362
|
-
attr_accessor :expand
|
1363
|
-
|
1364
|
-
def initialize(expand: nil)
|
1365
|
-
@expand = expand
|
1366
|
-
end
|
1367
|
-
end
|
1368
|
-
|
1369
1296
|
class UpdateParams < Stripe::RequestParams
|
1370
1297
|
class BillingDetails < Stripe::RequestParams
|
1371
1298
|
class Address < Stripe::RequestParams
|
@@ -1441,33 +1368,9 @@ module Stripe
|
|
1441
1368
|
class Link < Stripe::RequestParams
|
1442
1369
|
end
|
1443
1370
|
|
1444
|
-
class NaverPay < Stripe::RequestParams
|
1445
|
-
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
1446
|
-
attr_accessor :funding
|
1447
|
-
|
1448
|
-
def initialize(funding: nil)
|
1449
|
-
@funding = funding
|
1450
|
-
end
|
1451
|
-
end
|
1452
|
-
|
1453
1371
|
class PayByBank < Stripe::RequestParams
|
1454
1372
|
end
|
1455
1373
|
|
1456
|
-
class Payto < Stripe::RequestParams
|
1457
|
-
# The account number for the bank account.
|
1458
|
-
attr_accessor :account_number
|
1459
|
-
# Bank-State-Branch number of the bank account.
|
1460
|
-
attr_accessor :bsb_number
|
1461
|
-
# The PayID alias for the bank account.
|
1462
|
-
attr_accessor :pay_id
|
1463
|
-
|
1464
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1465
|
-
@account_number = account_number
|
1466
|
-
@bsb_number = bsb_number
|
1467
|
-
@pay_id = pay_id
|
1468
|
-
end
|
1469
|
-
end
|
1470
|
-
|
1471
1374
|
class UsBankAccount < Stripe::RequestParams
|
1472
1375
|
# Bank account holder type.
|
1473
1376
|
attr_accessor :account_holder_type
|
@@ -1491,12 +1394,8 @@ module Stripe
|
|
1491
1394
|
attr_accessor :link
|
1492
1395
|
# 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`.
|
1493
1396
|
attr_accessor :metadata
|
1494
|
-
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
1495
|
-
attr_accessor :naver_pay
|
1496
1397
|
# If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
|
1497
1398
|
attr_accessor :pay_by_bank
|
1498
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1499
|
-
attr_accessor :payto
|
1500
1399
|
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
1501
1400
|
attr_accessor :us_bank_account
|
1502
1401
|
|
@@ -1507,9 +1406,7 @@ module Stripe
|
|
1507
1406
|
expand: nil,
|
1508
1407
|
link: nil,
|
1509
1408
|
metadata: nil,
|
1510
|
-
naver_pay: nil,
|
1511
1409
|
pay_by_bank: nil,
|
1512
|
-
payto: nil,
|
1513
1410
|
us_bank_account: nil
|
1514
1411
|
)
|
1515
1412
|
@allow_redisplay = allow_redisplay
|
@@ -1518,9 +1415,7 @@ module Stripe
|
|
1518
1415
|
@expand = expand
|
1519
1416
|
@link = link
|
1520
1417
|
@metadata = metadata
|
1521
|
-
@naver_pay = naver_pay
|
1522
1418
|
@pay_by_bank = pay_by_bank
|
1523
|
-
@payto = payto
|
1524
1419
|
@us_bank_account = us_bank_account
|
1525
1420
|
end
|
1526
1421
|
end
|
@@ -1565,6 +1460,8 @@ module Stripe
|
|
1565
1460
|
attr_reader :bacs_debit
|
1566
1461
|
# Attribute for field bancontact
|
1567
1462
|
attr_reader :bancontact
|
1463
|
+
# Attribute for field billie
|
1464
|
+
attr_reader :billie
|
1568
1465
|
# Attribute for field billing_details
|
1569
1466
|
attr_reader :billing_details
|
1570
1467
|
# Attribute for field blik
|
@@ -1589,14 +1486,10 @@ module Stripe
|
|
1589
1486
|
attr_reader :fpx
|
1590
1487
|
# Attribute for field giropay
|
1591
1488
|
attr_reader :giropay
|
1592
|
-
# Attribute for field gopay
|
1593
|
-
attr_reader :gopay
|
1594
1489
|
# Attribute for field grabpay
|
1595
1490
|
attr_reader :grabpay
|
1596
1491
|
# Unique identifier for the object.
|
1597
1492
|
attr_reader :id
|
1598
|
-
# Attribute for field id_bank_transfer
|
1599
|
-
attr_reader :id_bank_transfer
|
1600
1493
|
# Attribute for field ideal
|
1601
1494
|
attr_reader :ideal
|
1602
1495
|
# Attribute for field interac_present
|
@@ -1613,8 +1506,6 @@ module Stripe
|
|
1613
1506
|
attr_reader :link
|
1614
1507
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
1615
1508
|
attr_reader :livemode
|
1616
|
-
# Attribute for field mb_way
|
1617
|
-
attr_reader :mb_way
|
1618
1509
|
# 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.
|
1619
1510
|
attr_reader :metadata
|
1620
1511
|
# Attribute for field mobilepay
|
@@ -1623,6 +1514,8 @@ module Stripe
|
|
1623
1514
|
attr_reader :multibanco
|
1624
1515
|
# Attribute for field naver_pay
|
1625
1516
|
attr_reader :naver_pay
|
1517
|
+
# Attribute for field nz_bank_account
|
1518
|
+
attr_reader :nz_bank_account
|
1626
1519
|
# String representing the object's type. Objects of the same type share the same value.
|
1627
1520
|
attr_reader :object
|
1628
1521
|
# Attribute for field oxxo
|
@@ -1637,26 +1530,20 @@ module Stripe
|
|
1637
1530
|
attr_reader :paynow
|
1638
1531
|
# Attribute for field paypal
|
1639
1532
|
attr_reader :paypal
|
1640
|
-
# Attribute for field payto
|
1641
|
-
attr_reader :payto
|
1642
1533
|
# Attribute for field pix
|
1643
1534
|
attr_reader :pix
|
1644
1535
|
# Attribute for field promptpay
|
1645
1536
|
attr_reader :promptpay
|
1646
|
-
# Attribute for field qris
|
1647
|
-
attr_reader :qris
|
1648
1537
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1649
1538
|
attr_reader :radar_options
|
1650
|
-
# Attribute for field rechnung
|
1651
|
-
attr_reader :rechnung
|
1652
1539
|
# Attribute for field revolut_pay
|
1653
1540
|
attr_reader :revolut_pay
|
1654
1541
|
# Attribute for field samsung_pay
|
1655
1542
|
attr_reader :samsung_pay
|
1543
|
+
# Attribute for field satispay
|
1544
|
+
attr_reader :satispay
|
1656
1545
|
# Attribute for field sepa_debit
|
1657
1546
|
attr_reader :sepa_debit
|
1658
|
-
# Attribute for field shopeepay
|
1659
|
-
attr_reader :shopeepay
|
1660
1547
|
# Attribute for field sofort
|
1661
1548
|
attr_reader :sofort
|
1662
1549
|
# Attribute for field swish
|