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
@@ -237,31 +237,6 @@ module Stripe
|
|
237
237
|
class Paypal < Stripe::StripeObject
|
238
238
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
239
239
|
attr_reader :billing_agreement_id
|
240
|
-
# 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).
|
241
|
-
attr_reader :currency
|
242
|
-
# 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.
|
243
|
-
attr_reader :subsellers
|
244
|
-
end
|
245
|
-
|
246
|
-
class Payto < Stripe::StripeObject
|
247
|
-
class MandateOptions < Stripe::StripeObject
|
248
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
249
|
-
attr_reader :amount
|
250
|
-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
251
|
-
attr_reader :amount_type
|
252
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
253
|
-
attr_reader :end_date
|
254
|
-
# The periodicity at which payments will be collected.
|
255
|
-
attr_reader :payment_schedule
|
256
|
-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
257
|
-
attr_reader :payments_per_period
|
258
|
-
# The purpose for which payments are made. Defaults to retail.
|
259
|
-
attr_reader :purpose
|
260
|
-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
261
|
-
attr_reader :start_date
|
262
|
-
end
|
263
|
-
# Attribute for field mandate_options
|
264
|
-
attr_reader :mandate_options
|
265
240
|
end
|
266
241
|
|
267
242
|
class SepaDebit < Stripe::StripeObject
|
@@ -278,18 +253,9 @@ module Stripe
|
|
278
253
|
class Filters < Stripe::StripeObject
|
279
254
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
280
255
|
attr_reader :account_subcategories
|
281
|
-
# The institution to use to filter for possible accounts to link.
|
282
|
-
attr_reader :institution
|
283
|
-
end
|
284
|
-
|
285
|
-
class ManualEntry < Stripe::StripeObject
|
286
|
-
# Settings for configuring manual entry of account details.
|
287
|
-
attr_reader :mode
|
288
256
|
end
|
289
257
|
# Attribute for field filters
|
290
258
|
attr_reader :filters
|
291
|
-
# Attribute for field manual_entry
|
292
|
-
attr_reader :manual_entry
|
293
259
|
# The list of permissions to request. The `payment_method` permission must be included.
|
294
260
|
attr_reader :permissions
|
295
261
|
# Data features requested to be retrieved upon account creation.
|
@@ -323,8 +289,6 @@ module Stripe
|
|
323
289
|
attr_reader :link
|
324
290
|
# Attribute for field paypal
|
325
291
|
attr_reader :paypal
|
326
|
-
# Attribute for field payto
|
327
|
-
attr_reader :payto
|
328
292
|
# Attribute for field sepa_debit
|
329
293
|
attr_reader :sepa_debit
|
330
294
|
# Attribute for field us_bank_account
|
@@ -502,6 +466,9 @@ module Stripe
|
|
502
466
|
class Bancontact < Stripe::RequestParams
|
503
467
|
end
|
504
468
|
|
469
|
+
class Billie < Stripe::RequestParams
|
470
|
+
end
|
471
|
+
|
505
472
|
class BillingDetails < Stripe::RequestParams
|
506
473
|
class Address < Stripe::RequestParams
|
507
474
|
# City, district, suburb, town, or village.
|
@@ -592,21 +559,9 @@ module Stripe
|
|
592
559
|
class Giropay < Stripe::RequestParams
|
593
560
|
end
|
594
561
|
|
595
|
-
class Gopay < Stripe::RequestParams
|
596
|
-
end
|
597
|
-
|
598
562
|
class Grabpay < Stripe::RequestParams
|
599
563
|
end
|
600
564
|
|
601
|
-
class IdBankTransfer < Stripe::RequestParams
|
602
|
-
# Bank where the account is held.
|
603
|
-
attr_accessor :bank
|
604
|
-
|
605
|
-
def initialize(bank: nil)
|
606
|
-
@bank = bank
|
607
|
-
end
|
608
|
-
end
|
609
|
-
|
610
565
|
class Ideal < Stripe::RequestParams
|
611
566
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
612
567
|
attr_accessor :bank
|
@@ -654,9 +609,6 @@ module Stripe
|
|
654
609
|
class Link < Stripe::RequestParams
|
655
610
|
end
|
656
611
|
|
657
|
-
class MbWay < Stripe::RequestParams
|
658
|
-
end
|
659
|
-
|
660
612
|
class Mobilepay < Stripe::RequestParams
|
661
613
|
end
|
662
614
|
|
@@ -672,6 +624,37 @@ module Stripe
|
|
672
624
|
end
|
673
625
|
end
|
674
626
|
|
627
|
+
class NzBankAccount < Stripe::RequestParams
|
628
|
+
# 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.
|
629
|
+
attr_accessor :account_holder_name
|
630
|
+
# The account number for the bank account.
|
631
|
+
attr_accessor :account_number
|
632
|
+
# The numeric code for the bank account's bank.
|
633
|
+
attr_accessor :bank_code
|
634
|
+
# The numeric code for the bank account's bank branch.
|
635
|
+
attr_accessor :branch_code
|
636
|
+
# Attribute for param field reference
|
637
|
+
attr_accessor :reference
|
638
|
+
# The suffix of the bank account number.
|
639
|
+
attr_accessor :suffix
|
640
|
+
|
641
|
+
def initialize(
|
642
|
+
account_holder_name: nil,
|
643
|
+
account_number: nil,
|
644
|
+
bank_code: nil,
|
645
|
+
branch_code: nil,
|
646
|
+
reference: nil,
|
647
|
+
suffix: nil
|
648
|
+
)
|
649
|
+
@account_holder_name = account_holder_name
|
650
|
+
@account_number = account_number
|
651
|
+
@bank_code = bank_code
|
652
|
+
@branch_code = branch_code
|
653
|
+
@reference = reference
|
654
|
+
@suffix = suffix
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
675
658
|
class Oxxo < Stripe::RequestParams
|
676
659
|
end
|
677
660
|
|
@@ -696,30 +679,12 @@ module Stripe
|
|
696
679
|
class Paypal < Stripe::RequestParams
|
697
680
|
end
|
698
681
|
|
699
|
-
class Payto < Stripe::RequestParams
|
700
|
-
# The account number for the bank account.
|
701
|
-
attr_accessor :account_number
|
702
|
-
# Bank-State-Branch number of the bank account.
|
703
|
-
attr_accessor :bsb_number
|
704
|
-
# The PayID alias for the bank account.
|
705
|
-
attr_accessor :pay_id
|
706
|
-
|
707
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
708
|
-
@account_number = account_number
|
709
|
-
@bsb_number = bsb_number
|
710
|
-
@pay_id = pay_id
|
711
|
-
end
|
712
|
-
end
|
713
|
-
|
714
682
|
class Pix < Stripe::RequestParams
|
715
683
|
end
|
716
684
|
|
717
685
|
class Promptpay < Stripe::RequestParams
|
718
686
|
end
|
719
687
|
|
720
|
-
class Qris < Stripe::RequestParams
|
721
|
-
end
|
722
|
-
|
723
688
|
class RadarOptions < Stripe::RequestParams
|
724
689
|
# 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.
|
725
690
|
attr_accessor :session
|
@@ -729,35 +694,15 @@ module Stripe
|
|
729
694
|
end
|
730
695
|
end
|
731
696
|
|
732
|
-
class Rechnung < Stripe::RequestParams
|
733
|
-
class Dob < Stripe::RequestParams
|
734
|
-
# The day of birth, between 1 and 31.
|
735
|
-
attr_accessor :day
|
736
|
-
# The month of birth, between 1 and 12.
|
737
|
-
attr_accessor :month
|
738
|
-
# The four-digit year of birth.
|
739
|
-
attr_accessor :year
|
740
|
-
|
741
|
-
def initialize(day: nil, month: nil, year: nil)
|
742
|
-
@day = day
|
743
|
-
@month = month
|
744
|
-
@year = year
|
745
|
-
end
|
746
|
-
end
|
747
|
-
# Customer's date of birth
|
748
|
-
attr_accessor :dob
|
749
|
-
|
750
|
-
def initialize(dob: nil)
|
751
|
-
@dob = dob
|
752
|
-
end
|
753
|
-
end
|
754
|
-
|
755
697
|
class RevolutPay < Stripe::RequestParams
|
756
698
|
end
|
757
699
|
|
758
700
|
class SamsungPay < Stripe::RequestParams
|
759
701
|
end
|
760
702
|
|
703
|
+
class Satispay < Stripe::RequestParams
|
704
|
+
end
|
705
|
+
|
761
706
|
class SepaDebit < Stripe::RequestParams
|
762
707
|
# IBAN of the bank account.
|
763
708
|
attr_accessor :iban
|
@@ -767,9 +712,6 @@ module Stripe
|
|
767
712
|
end
|
768
713
|
end
|
769
714
|
|
770
|
-
class Shopeepay < Stripe::RequestParams
|
771
|
-
end
|
772
|
-
|
773
715
|
class Sofort < Stripe::RequestParams
|
774
716
|
# Two-letter ISO code representing the country the bank account is located in.
|
775
717
|
attr_accessor :country
|
@@ -837,6 +779,8 @@ module Stripe
|
|
837
779
|
attr_accessor :bacs_debit
|
838
780
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
839
781
|
attr_accessor :bancontact
|
782
|
+
# If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
|
783
|
+
attr_accessor :billie
|
840
784
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
841
785
|
attr_accessor :billing_details
|
842
786
|
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
@@ -853,12 +797,8 @@ module Stripe
|
|
853
797
|
attr_accessor :fpx
|
854
798
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
855
799
|
attr_accessor :giropay
|
856
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
857
|
-
attr_accessor :gopay
|
858
800
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
859
801
|
attr_accessor :grabpay
|
860
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
861
|
-
attr_accessor :id_bank_transfer
|
862
802
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
863
803
|
attr_accessor :ideal
|
864
804
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -873,8 +813,6 @@ module Stripe
|
|
873
813
|
attr_accessor :kr_card
|
874
814
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
875
815
|
attr_accessor :link
|
876
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
877
|
-
attr_accessor :mb_way
|
878
816
|
# 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`.
|
879
817
|
attr_accessor :metadata
|
880
818
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -883,6 +821,8 @@ module Stripe
|
|
883
821
|
attr_accessor :multibanco
|
884
822
|
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
885
823
|
attr_accessor :naver_pay
|
824
|
+
# If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
|
825
|
+
attr_accessor :nz_bank_account
|
886
826
|
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
887
827
|
attr_accessor :oxxo
|
888
828
|
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
@@ -895,26 +835,20 @@ module Stripe
|
|
895
835
|
attr_accessor :paynow
|
896
836
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
897
837
|
attr_accessor :paypal
|
898
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
899
|
-
attr_accessor :payto
|
900
838
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
901
839
|
attr_accessor :pix
|
902
840
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
903
841
|
attr_accessor :promptpay
|
904
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
905
|
-
attr_accessor :qris
|
906
842
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
907
843
|
attr_accessor :radar_options
|
908
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
909
|
-
attr_accessor :rechnung
|
910
844
|
# If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
911
845
|
attr_accessor :revolut_pay
|
912
846
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
913
847
|
attr_accessor :samsung_pay
|
848
|
+
# If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
|
849
|
+
attr_accessor :satispay
|
914
850
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
915
851
|
attr_accessor :sepa_debit
|
916
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
917
|
-
attr_accessor :shopeepay
|
918
852
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
919
853
|
attr_accessor :sofort
|
920
854
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
@@ -941,6 +875,7 @@ module Stripe
|
|
941
875
|
au_becs_debit: nil,
|
942
876
|
bacs_debit: nil,
|
943
877
|
bancontact: nil,
|
878
|
+
billie: nil,
|
944
879
|
billing_details: nil,
|
945
880
|
blik: nil,
|
946
881
|
boleto: nil,
|
@@ -949,9 +884,7 @@ module Stripe
|
|
949
884
|
eps: nil,
|
950
885
|
fpx: nil,
|
951
886
|
giropay: nil,
|
952
|
-
gopay: nil,
|
953
887
|
grabpay: nil,
|
954
|
-
id_bank_transfer: nil,
|
955
888
|
ideal: nil,
|
956
889
|
interac_present: nil,
|
957
890
|
kakao_pay: nil,
|
@@ -959,27 +892,24 @@ module Stripe
|
|
959
892
|
konbini: nil,
|
960
893
|
kr_card: nil,
|
961
894
|
link: nil,
|
962
|
-
mb_way: nil,
|
963
895
|
metadata: nil,
|
964
896
|
mobilepay: nil,
|
965
897
|
multibanco: nil,
|
966
898
|
naver_pay: nil,
|
899
|
+
nz_bank_account: nil,
|
967
900
|
oxxo: nil,
|
968
901
|
p24: nil,
|
969
902
|
pay_by_bank: nil,
|
970
903
|
payco: nil,
|
971
904
|
paynow: nil,
|
972
905
|
paypal: nil,
|
973
|
-
payto: nil,
|
974
906
|
pix: nil,
|
975
907
|
promptpay: nil,
|
976
|
-
qris: nil,
|
977
908
|
radar_options: nil,
|
978
|
-
rechnung: nil,
|
979
909
|
revolut_pay: nil,
|
980
910
|
samsung_pay: nil,
|
911
|
+
satispay: nil,
|
981
912
|
sepa_debit: nil,
|
982
|
-
shopeepay: nil,
|
983
913
|
sofort: nil,
|
984
914
|
swish: nil,
|
985
915
|
twint: nil,
|
@@ -998,6 +928,7 @@ module Stripe
|
|
998
928
|
@au_becs_debit = au_becs_debit
|
999
929
|
@bacs_debit = bacs_debit
|
1000
930
|
@bancontact = bancontact
|
931
|
+
@billie = billie
|
1001
932
|
@billing_details = billing_details
|
1002
933
|
@blik = blik
|
1003
934
|
@boleto = boleto
|
@@ -1006,9 +937,7 @@ module Stripe
|
|
1006
937
|
@eps = eps
|
1007
938
|
@fpx = fpx
|
1008
939
|
@giropay = giropay
|
1009
|
-
@gopay = gopay
|
1010
940
|
@grabpay = grabpay
|
1011
|
-
@id_bank_transfer = id_bank_transfer
|
1012
941
|
@ideal = ideal
|
1013
942
|
@interac_present = interac_present
|
1014
943
|
@kakao_pay = kakao_pay
|
@@ -1016,27 +945,24 @@ module Stripe
|
|
1016
945
|
@konbini = konbini
|
1017
946
|
@kr_card = kr_card
|
1018
947
|
@link = link
|
1019
|
-
@mb_way = mb_way
|
1020
948
|
@metadata = metadata
|
1021
949
|
@mobilepay = mobilepay
|
1022
950
|
@multibanco = multibanco
|
1023
951
|
@naver_pay = naver_pay
|
952
|
+
@nz_bank_account = nz_bank_account
|
1024
953
|
@oxxo = oxxo
|
1025
954
|
@p24 = p24
|
1026
955
|
@pay_by_bank = pay_by_bank
|
1027
956
|
@payco = payco
|
1028
957
|
@paynow = paynow
|
1029
958
|
@paypal = paypal
|
1030
|
-
@payto = payto
|
1031
959
|
@pix = pix
|
1032
960
|
@promptpay = promptpay
|
1033
|
-
@qris = qris
|
1034
961
|
@radar_options = radar_options
|
1035
|
-
@rechnung = rechnung
|
1036
962
|
@revolut_pay = revolut_pay
|
1037
963
|
@samsung_pay = samsung_pay
|
964
|
+
@satispay = satispay
|
1038
965
|
@sepa_debit = sepa_debit
|
1039
|
-
@shopeepay = shopeepay
|
1040
966
|
@sofort = sofort
|
1041
967
|
@swish = swish
|
1042
968
|
@twint = twint
|
@@ -1273,58 +1199,9 @@ module Stripe
|
|
1273
1199
|
class Paypal < Stripe::RequestParams
|
1274
1200
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
1275
1201
|
attr_accessor :billing_agreement_id
|
1276
|
-
# Attribute for param field currency
|
1277
|
-
attr_accessor :currency
|
1278
|
-
# 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.
|
1279
|
-
attr_accessor :subsellers
|
1280
1202
|
|
1281
|
-
def initialize(billing_agreement_id: nil
|
1203
|
+
def initialize(billing_agreement_id: nil)
|
1282
1204
|
@billing_agreement_id = billing_agreement_id
|
1283
|
-
@currency = currency
|
1284
|
-
@subsellers = subsellers
|
1285
|
-
end
|
1286
|
-
end
|
1287
|
-
|
1288
|
-
class Payto < Stripe::RequestParams
|
1289
|
-
class MandateOptions < Stripe::RequestParams
|
1290
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
1291
|
-
attr_accessor :amount
|
1292
|
-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
1293
|
-
attr_accessor :amount_type
|
1294
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
1295
|
-
attr_accessor :end_date
|
1296
|
-
# The periodicity at which payments will be collected.
|
1297
|
-
attr_accessor :payment_schedule
|
1298
|
-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
1299
|
-
attr_accessor :payments_per_period
|
1300
|
-
# The purpose for which payments are made. Defaults to retail.
|
1301
|
-
attr_accessor :purpose
|
1302
|
-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
1303
|
-
attr_accessor :start_date
|
1304
|
-
|
1305
|
-
def initialize(
|
1306
|
-
amount: nil,
|
1307
|
-
amount_type: nil,
|
1308
|
-
end_date: nil,
|
1309
|
-
payment_schedule: nil,
|
1310
|
-
payments_per_period: nil,
|
1311
|
-
purpose: nil,
|
1312
|
-
start_date: nil
|
1313
|
-
)
|
1314
|
-
@amount = amount
|
1315
|
-
@amount_type = amount_type
|
1316
|
-
@end_date = end_date
|
1317
|
-
@payment_schedule = payment_schedule
|
1318
|
-
@payments_per_period = payments_per_period
|
1319
|
-
@purpose = purpose
|
1320
|
-
@start_date = start_date
|
1321
|
-
end
|
1322
|
-
end
|
1323
|
-
# Additional fields for Mandate creation.
|
1324
|
-
attr_accessor :mandate_options
|
1325
|
-
|
1326
|
-
def initialize(mandate_options: nil)
|
1327
|
-
@mandate_options = mandate_options
|
1328
1205
|
end
|
1329
1206
|
end
|
1330
1207
|
|
@@ -1350,27 +1227,13 @@ module Stripe
|
|
1350
1227
|
class Filters < Stripe::RequestParams
|
1351
1228
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1352
1229
|
attr_accessor :account_subcategories
|
1353
|
-
# ID of the institution to use to filter for selectable accounts.
|
1354
|
-
attr_accessor :institution
|
1355
1230
|
|
1356
|
-
def initialize(account_subcategories: nil
|
1231
|
+
def initialize(account_subcategories: nil)
|
1357
1232
|
@account_subcategories = account_subcategories
|
1358
|
-
@institution = institution
|
1359
|
-
end
|
1360
|
-
end
|
1361
|
-
|
1362
|
-
class ManualEntry < Stripe::RequestParams
|
1363
|
-
# Settings for configuring manual entry of account details.
|
1364
|
-
attr_accessor :mode
|
1365
|
-
|
1366
|
-
def initialize(mode: nil)
|
1367
|
-
@mode = mode
|
1368
1233
|
end
|
1369
1234
|
end
|
1370
1235
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
1371
1236
|
attr_accessor :filters
|
1372
|
-
# Customize manual entry behavior
|
1373
|
-
attr_accessor :manual_entry
|
1374
1237
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
1375
1238
|
attr_accessor :permissions
|
1376
1239
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -1378,15 +1241,8 @@ module Stripe
|
|
1378
1241
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
1379
1242
|
attr_accessor :return_url
|
1380
1243
|
|
1381
|
-
def initialize(
|
1382
|
-
filters: nil,
|
1383
|
-
manual_entry: nil,
|
1384
|
-
permissions: nil,
|
1385
|
-
prefetch: nil,
|
1386
|
-
return_url: nil
|
1387
|
-
)
|
1244
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
1388
1245
|
@filters = filters
|
1389
|
-
@manual_entry = manual_entry
|
1390
1246
|
@permissions = permissions
|
1391
1247
|
@prefetch = prefetch
|
1392
1248
|
@return_url = return_url
|
@@ -1445,8 +1301,6 @@ module Stripe
|
|
1445
1301
|
attr_accessor :link
|
1446
1302
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
1447
1303
|
attr_accessor :paypal
|
1448
|
-
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
1449
|
-
attr_accessor :payto
|
1450
1304
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
1451
1305
|
attr_accessor :sepa_debit
|
1452
1306
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -1460,7 +1314,6 @@ module Stripe
|
|
1460
1314
|
card_present: nil,
|
1461
1315
|
link: nil,
|
1462
1316
|
paypal: nil,
|
1463
|
-
payto: nil,
|
1464
1317
|
sepa_debit: nil,
|
1465
1318
|
us_bank_account: nil
|
1466
1319
|
)
|
@@ -1471,7 +1324,6 @@ module Stripe
|
|
1471
1324
|
@card_present = card_present
|
1472
1325
|
@link = link
|
1473
1326
|
@paypal = paypal
|
1474
|
-
@payto = payto
|
1475
1327
|
@sepa_debit = sepa_debit
|
1476
1328
|
@us_bank_account = us_bank_account
|
1477
1329
|
end
|
@@ -1532,6 +1384,8 @@ module Stripe
|
|
1532
1384
|
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. To redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).
|
1533
1385
|
attr_accessor :return_url
|
1534
1386
|
# If you populate this hash, this SetupIntent generates a `single_use` mandate after successful completion.
|
1387
|
+
#
|
1388
|
+
# Single-use mandates are only valid for the following payment methods: `acss_debit`, `alipay`, `au_becs_debit`, `bacs_debit`, `bancontact`, `boleto`, `ideal`, `link`, `sepa_debit`, and `us_bank_account`.
|
1535
1389
|
attr_accessor :single_use
|
1536
1390
|
# Indicates how the payment method is intended to be used in the future. If not provided, this value defaults to `off_session`.
|
1537
1391
|
attr_accessor :usage
|
@@ -1583,18 +1437,6 @@ module Stripe
|
|
1583
1437
|
end
|
1584
1438
|
end
|
1585
1439
|
|
1586
|
-
class RetrieveParams < Stripe::RequestParams
|
1587
|
-
# The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent.
|
1588
|
-
attr_accessor :client_secret
|
1589
|
-
# Specifies which fields in the response should be expanded.
|
1590
|
-
attr_accessor :expand
|
1591
|
-
|
1592
|
-
def initialize(client_secret: nil, expand: nil)
|
1593
|
-
@client_secret = client_secret
|
1594
|
-
@expand = expand
|
1595
|
-
end
|
1596
|
-
end
|
1597
|
-
|
1598
1440
|
class UpdateParams < Stripe::RequestParams
|
1599
1441
|
class PaymentMethodData < Stripe::RequestParams
|
1600
1442
|
class AcssDebit < Stripe::RequestParams
|
@@ -1654,6 +1496,9 @@ module Stripe
|
|
1654
1496
|
class Bancontact < Stripe::RequestParams
|
1655
1497
|
end
|
1656
1498
|
|
1499
|
+
class Billie < Stripe::RequestParams
|
1500
|
+
end
|
1501
|
+
|
1657
1502
|
class BillingDetails < Stripe::RequestParams
|
1658
1503
|
class Address < Stripe::RequestParams
|
1659
1504
|
# City, district, suburb, town, or village.
|
@@ -1744,21 +1589,9 @@ module Stripe
|
|
1744
1589
|
class Giropay < Stripe::RequestParams
|
1745
1590
|
end
|
1746
1591
|
|
1747
|
-
class Gopay < Stripe::RequestParams
|
1748
|
-
end
|
1749
|
-
|
1750
1592
|
class Grabpay < Stripe::RequestParams
|
1751
1593
|
end
|
1752
1594
|
|
1753
|
-
class IdBankTransfer < Stripe::RequestParams
|
1754
|
-
# Bank where the account is held.
|
1755
|
-
attr_accessor :bank
|
1756
|
-
|
1757
|
-
def initialize(bank: nil)
|
1758
|
-
@bank = bank
|
1759
|
-
end
|
1760
|
-
end
|
1761
|
-
|
1762
1595
|
class Ideal < Stripe::RequestParams
|
1763
1596
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
1764
1597
|
attr_accessor :bank
|
@@ -1806,9 +1639,6 @@ module Stripe
|
|
1806
1639
|
class Link < Stripe::RequestParams
|
1807
1640
|
end
|
1808
1641
|
|
1809
|
-
class MbWay < Stripe::RequestParams
|
1810
|
-
end
|
1811
|
-
|
1812
1642
|
class Mobilepay < Stripe::RequestParams
|
1813
1643
|
end
|
1814
1644
|
|
@@ -1824,6 +1654,37 @@ module Stripe
|
|
1824
1654
|
end
|
1825
1655
|
end
|
1826
1656
|
|
1657
|
+
class NzBankAccount < Stripe::RequestParams
|
1658
|
+
# 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.
|
1659
|
+
attr_accessor :account_holder_name
|
1660
|
+
# The account number for the bank account.
|
1661
|
+
attr_accessor :account_number
|
1662
|
+
# The numeric code for the bank account's bank.
|
1663
|
+
attr_accessor :bank_code
|
1664
|
+
# The numeric code for the bank account's bank branch.
|
1665
|
+
attr_accessor :branch_code
|
1666
|
+
# Attribute for param field reference
|
1667
|
+
attr_accessor :reference
|
1668
|
+
# The suffix of the bank account number.
|
1669
|
+
attr_accessor :suffix
|
1670
|
+
|
1671
|
+
def initialize(
|
1672
|
+
account_holder_name: nil,
|
1673
|
+
account_number: nil,
|
1674
|
+
bank_code: nil,
|
1675
|
+
branch_code: nil,
|
1676
|
+
reference: nil,
|
1677
|
+
suffix: nil
|
1678
|
+
)
|
1679
|
+
@account_holder_name = account_holder_name
|
1680
|
+
@account_number = account_number
|
1681
|
+
@bank_code = bank_code
|
1682
|
+
@branch_code = branch_code
|
1683
|
+
@reference = reference
|
1684
|
+
@suffix = suffix
|
1685
|
+
end
|
1686
|
+
end
|
1687
|
+
|
1827
1688
|
class Oxxo < Stripe::RequestParams
|
1828
1689
|
end
|
1829
1690
|
|
@@ -1848,30 +1709,12 @@ module Stripe
|
|
1848
1709
|
class Paypal < Stripe::RequestParams
|
1849
1710
|
end
|
1850
1711
|
|
1851
|
-
class Payto < Stripe::RequestParams
|
1852
|
-
# The account number for the bank account.
|
1853
|
-
attr_accessor :account_number
|
1854
|
-
# Bank-State-Branch number of the bank account.
|
1855
|
-
attr_accessor :bsb_number
|
1856
|
-
# The PayID alias for the bank account.
|
1857
|
-
attr_accessor :pay_id
|
1858
|
-
|
1859
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1860
|
-
@account_number = account_number
|
1861
|
-
@bsb_number = bsb_number
|
1862
|
-
@pay_id = pay_id
|
1863
|
-
end
|
1864
|
-
end
|
1865
|
-
|
1866
1712
|
class Pix < Stripe::RequestParams
|
1867
1713
|
end
|
1868
1714
|
|
1869
1715
|
class Promptpay < Stripe::RequestParams
|
1870
1716
|
end
|
1871
1717
|
|
1872
|
-
class Qris < Stripe::RequestParams
|
1873
|
-
end
|
1874
|
-
|
1875
1718
|
class RadarOptions < Stripe::RequestParams
|
1876
1719
|
# 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.
|
1877
1720
|
attr_accessor :session
|
@@ -1881,35 +1724,15 @@ module Stripe
|
|
1881
1724
|
end
|
1882
1725
|
end
|
1883
1726
|
|
1884
|
-
class Rechnung < Stripe::RequestParams
|
1885
|
-
class Dob < Stripe::RequestParams
|
1886
|
-
# The day of birth, between 1 and 31.
|
1887
|
-
attr_accessor :day
|
1888
|
-
# The month of birth, between 1 and 12.
|
1889
|
-
attr_accessor :month
|
1890
|
-
# The four-digit year of birth.
|
1891
|
-
attr_accessor :year
|
1892
|
-
|
1893
|
-
def initialize(day: nil, month: nil, year: nil)
|
1894
|
-
@day = day
|
1895
|
-
@month = month
|
1896
|
-
@year = year
|
1897
|
-
end
|
1898
|
-
end
|
1899
|
-
# Customer's date of birth
|
1900
|
-
attr_accessor :dob
|
1901
|
-
|
1902
|
-
def initialize(dob: nil)
|
1903
|
-
@dob = dob
|
1904
|
-
end
|
1905
|
-
end
|
1906
|
-
|
1907
1727
|
class RevolutPay < Stripe::RequestParams
|
1908
1728
|
end
|
1909
1729
|
|
1910
1730
|
class SamsungPay < Stripe::RequestParams
|
1911
1731
|
end
|
1912
1732
|
|
1733
|
+
class Satispay < Stripe::RequestParams
|
1734
|
+
end
|
1735
|
+
|
1913
1736
|
class SepaDebit < Stripe::RequestParams
|
1914
1737
|
# IBAN of the bank account.
|
1915
1738
|
attr_accessor :iban
|
@@ -1919,9 +1742,6 @@ module Stripe
|
|
1919
1742
|
end
|
1920
1743
|
end
|
1921
1744
|
|
1922
|
-
class Shopeepay < Stripe::RequestParams
|
1923
|
-
end
|
1924
|
-
|
1925
1745
|
class Sofort < Stripe::RequestParams
|
1926
1746
|
# Two-letter ISO code representing the country the bank account is located in.
|
1927
1747
|
attr_accessor :country
|
@@ -1989,6 +1809,8 @@ module Stripe
|
|
1989
1809
|
attr_accessor :bacs_debit
|
1990
1810
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
1991
1811
|
attr_accessor :bancontact
|
1812
|
+
# If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
|
1813
|
+
attr_accessor :billie
|
1992
1814
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
1993
1815
|
attr_accessor :billing_details
|
1994
1816
|
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
@@ -2005,12 +1827,8 @@ module Stripe
|
|
2005
1827
|
attr_accessor :fpx
|
2006
1828
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
2007
1829
|
attr_accessor :giropay
|
2008
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
2009
|
-
attr_accessor :gopay
|
2010
1830
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
2011
1831
|
attr_accessor :grabpay
|
2012
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
2013
|
-
attr_accessor :id_bank_transfer
|
2014
1832
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
2015
1833
|
attr_accessor :ideal
|
2016
1834
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -2025,8 +1843,6 @@ module Stripe
|
|
2025
1843
|
attr_accessor :kr_card
|
2026
1844
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
2027
1845
|
attr_accessor :link
|
2028
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
2029
|
-
attr_accessor :mb_way
|
2030
1846
|
# 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`.
|
2031
1847
|
attr_accessor :metadata
|
2032
1848
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -2035,6 +1851,8 @@ module Stripe
|
|
2035
1851
|
attr_accessor :multibanco
|
2036
1852
|
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
2037
1853
|
attr_accessor :naver_pay
|
1854
|
+
# If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
|
1855
|
+
attr_accessor :nz_bank_account
|
2038
1856
|
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
2039
1857
|
attr_accessor :oxxo
|
2040
1858
|
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
@@ -2047,26 +1865,20 @@ module Stripe
|
|
2047
1865
|
attr_accessor :paynow
|
2048
1866
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
2049
1867
|
attr_accessor :paypal
|
2050
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
2051
|
-
attr_accessor :payto
|
2052
1868
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
2053
1869
|
attr_accessor :pix
|
2054
1870
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
2055
1871
|
attr_accessor :promptpay
|
2056
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
2057
|
-
attr_accessor :qris
|
2058
1872
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
2059
1873
|
attr_accessor :radar_options
|
2060
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
2061
|
-
attr_accessor :rechnung
|
2062
1874
|
# If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
2063
1875
|
attr_accessor :revolut_pay
|
2064
1876
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
2065
1877
|
attr_accessor :samsung_pay
|
1878
|
+
# If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
|
1879
|
+
attr_accessor :satispay
|
2066
1880
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
2067
1881
|
attr_accessor :sepa_debit
|
2068
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
2069
|
-
attr_accessor :shopeepay
|
2070
1882
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
2071
1883
|
attr_accessor :sofort
|
2072
1884
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
@@ -2093,6 +1905,7 @@ module Stripe
|
|
2093
1905
|
au_becs_debit: nil,
|
2094
1906
|
bacs_debit: nil,
|
2095
1907
|
bancontact: nil,
|
1908
|
+
billie: nil,
|
2096
1909
|
billing_details: nil,
|
2097
1910
|
blik: nil,
|
2098
1911
|
boleto: nil,
|
@@ -2101,9 +1914,7 @@ module Stripe
|
|
2101
1914
|
eps: nil,
|
2102
1915
|
fpx: nil,
|
2103
1916
|
giropay: nil,
|
2104
|
-
gopay: nil,
|
2105
1917
|
grabpay: nil,
|
2106
|
-
id_bank_transfer: nil,
|
2107
1918
|
ideal: nil,
|
2108
1919
|
interac_present: nil,
|
2109
1920
|
kakao_pay: nil,
|
@@ -2111,27 +1922,24 @@ module Stripe
|
|
2111
1922
|
konbini: nil,
|
2112
1923
|
kr_card: nil,
|
2113
1924
|
link: nil,
|
2114
|
-
mb_way: nil,
|
2115
1925
|
metadata: nil,
|
2116
1926
|
mobilepay: nil,
|
2117
1927
|
multibanco: nil,
|
2118
1928
|
naver_pay: nil,
|
1929
|
+
nz_bank_account: nil,
|
2119
1930
|
oxxo: nil,
|
2120
1931
|
p24: nil,
|
2121
1932
|
pay_by_bank: nil,
|
2122
1933
|
payco: nil,
|
2123
1934
|
paynow: nil,
|
2124
1935
|
paypal: nil,
|
2125
|
-
payto: nil,
|
2126
1936
|
pix: nil,
|
2127
1937
|
promptpay: nil,
|
2128
|
-
qris: nil,
|
2129
1938
|
radar_options: nil,
|
2130
|
-
rechnung: nil,
|
2131
1939
|
revolut_pay: nil,
|
2132
1940
|
samsung_pay: nil,
|
1941
|
+
satispay: nil,
|
2133
1942
|
sepa_debit: nil,
|
2134
|
-
shopeepay: nil,
|
2135
1943
|
sofort: nil,
|
2136
1944
|
swish: nil,
|
2137
1945
|
twint: nil,
|
@@ -2150,6 +1958,7 @@ module Stripe
|
|
2150
1958
|
@au_becs_debit = au_becs_debit
|
2151
1959
|
@bacs_debit = bacs_debit
|
2152
1960
|
@bancontact = bancontact
|
1961
|
+
@billie = billie
|
2153
1962
|
@billing_details = billing_details
|
2154
1963
|
@blik = blik
|
2155
1964
|
@boleto = boleto
|
@@ -2158,9 +1967,7 @@ module Stripe
|
|
2158
1967
|
@eps = eps
|
2159
1968
|
@fpx = fpx
|
2160
1969
|
@giropay = giropay
|
2161
|
-
@gopay = gopay
|
2162
1970
|
@grabpay = grabpay
|
2163
|
-
@id_bank_transfer = id_bank_transfer
|
2164
1971
|
@ideal = ideal
|
2165
1972
|
@interac_present = interac_present
|
2166
1973
|
@kakao_pay = kakao_pay
|
@@ -2168,27 +1975,24 @@ module Stripe
|
|
2168
1975
|
@konbini = konbini
|
2169
1976
|
@kr_card = kr_card
|
2170
1977
|
@link = link
|
2171
|
-
@mb_way = mb_way
|
2172
1978
|
@metadata = metadata
|
2173
1979
|
@mobilepay = mobilepay
|
2174
1980
|
@multibanco = multibanco
|
2175
1981
|
@naver_pay = naver_pay
|
1982
|
+
@nz_bank_account = nz_bank_account
|
2176
1983
|
@oxxo = oxxo
|
2177
1984
|
@p24 = p24
|
2178
1985
|
@pay_by_bank = pay_by_bank
|
2179
1986
|
@payco = payco
|
2180
1987
|
@paynow = paynow
|
2181
1988
|
@paypal = paypal
|
2182
|
-
@payto = payto
|
2183
1989
|
@pix = pix
|
2184
1990
|
@promptpay = promptpay
|
2185
|
-
@qris = qris
|
2186
1991
|
@radar_options = radar_options
|
2187
|
-
@rechnung = rechnung
|
2188
1992
|
@revolut_pay = revolut_pay
|
2189
1993
|
@samsung_pay = samsung_pay
|
1994
|
+
@satispay = satispay
|
2190
1995
|
@sepa_debit = sepa_debit
|
2191
|
-
@shopeepay = shopeepay
|
2192
1996
|
@sofort = sofort
|
2193
1997
|
@swish = swish
|
2194
1998
|
@twint = twint
|
@@ -2425,58 +2229,9 @@ module Stripe
|
|
2425
2229
|
class Paypal < Stripe::RequestParams
|
2426
2230
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
2427
2231
|
attr_accessor :billing_agreement_id
|
2428
|
-
# Attribute for param field currency
|
2429
|
-
attr_accessor :currency
|
2430
|
-
# 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.
|
2431
|
-
attr_accessor :subsellers
|
2432
2232
|
|
2433
|
-
def initialize(billing_agreement_id: nil
|
2233
|
+
def initialize(billing_agreement_id: nil)
|
2434
2234
|
@billing_agreement_id = billing_agreement_id
|
2435
|
-
@currency = currency
|
2436
|
-
@subsellers = subsellers
|
2437
|
-
end
|
2438
|
-
end
|
2439
|
-
|
2440
|
-
class Payto < Stripe::RequestParams
|
2441
|
-
class MandateOptions < Stripe::RequestParams
|
2442
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
2443
|
-
attr_accessor :amount
|
2444
|
-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
2445
|
-
attr_accessor :amount_type
|
2446
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
2447
|
-
attr_accessor :end_date
|
2448
|
-
# The periodicity at which payments will be collected.
|
2449
|
-
attr_accessor :payment_schedule
|
2450
|
-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
2451
|
-
attr_accessor :payments_per_period
|
2452
|
-
# The purpose for which payments are made. Defaults to retail.
|
2453
|
-
attr_accessor :purpose
|
2454
|
-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
2455
|
-
attr_accessor :start_date
|
2456
|
-
|
2457
|
-
def initialize(
|
2458
|
-
amount: nil,
|
2459
|
-
amount_type: nil,
|
2460
|
-
end_date: nil,
|
2461
|
-
payment_schedule: nil,
|
2462
|
-
payments_per_period: nil,
|
2463
|
-
purpose: nil,
|
2464
|
-
start_date: nil
|
2465
|
-
)
|
2466
|
-
@amount = amount
|
2467
|
-
@amount_type = amount_type
|
2468
|
-
@end_date = end_date
|
2469
|
-
@payment_schedule = payment_schedule
|
2470
|
-
@payments_per_period = payments_per_period
|
2471
|
-
@purpose = purpose
|
2472
|
-
@start_date = start_date
|
2473
|
-
end
|
2474
|
-
end
|
2475
|
-
# Additional fields for Mandate creation.
|
2476
|
-
attr_accessor :mandate_options
|
2477
|
-
|
2478
|
-
def initialize(mandate_options: nil)
|
2479
|
-
@mandate_options = mandate_options
|
2480
2235
|
end
|
2481
2236
|
end
|
2482
2237
|
|
@@ -2502,27 +2257,13 @@ module Stripe
|
|
2502
2257
|
class Filters < Stripe::RequestParams
|
2503
2258
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
2504
2259
|
attr_accessor :account_subcategories
|
2505
|
-
# ID of the institution to use to filter for selectable accounts.
|
2506
|
-
attr_accessor :institution
|
2507
2260
|
|
2508
|
-
def initialize(account_subcategories: nil
|
2261
|
+
def initialize(account_subcategories: nil)
|
2509
2262
|
@account_subcategories = account_subcategories
|
2510
|
-
@institution = institution
|
2511
|
-
end
|
2512
|
-
end
|
2513
|
-
|
2514
|
-
class ManualEntry < Stripe::RequestParams
|
2515
|
-
# Settings for configuring manual entry of account details.
|
2516
|
-
attr_accessor :mode
|
2517
|
-
|
2518
|
-
def initialize(mode: nil)
|
2519
|
-
@mode = mode
|
2520
2263
|
end
|
2521
2264
|
end
|
2522
2265
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
2523
2266
|
attr_accessor :filters
|
2524
|
-
# Customize manual entry behavior
|
2525
|
-
attr_accessor :manual_entry
|
2526
2267
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
2527
2268
|
attr_accessor :permissions
|
2528
2269
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -2530,15 +2271,8 @@ module Stripe
|
|
2530
2271
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
2531
2272
|
attr_accessor :return_url
|
2532
2273
|
|
2533
|
-
def initialize(
|
2534
|
-
filters: nil,
|
2535
|
-
manual_entry: nil,
|
2536
|
-
permissions: nil,
|
2537
|
-
prefetch: nil,
|
2538
|
-
return_url: nil
|
2539
|
-
)
|
2274
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
2540
2275
|
@filters = filters
|
2541
|
-
@manual_entry = manual_entry
|
2542
2276
|
@permissions = permissions
|
2543
2277
|
@prefetch = prefetch
|
2544
2278
|
@return_url = return_url
|
@@ -2597,8 +2331,6 @@ module Stripe
|
|
2597
2331
|
attr_accessor :link
|
2598
2332
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
2599
2333
|
attr_accessor :paypal
|
2600
|
-
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
2601
|
-
attr_accessor :payto
|
2602
2334
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
2603
2335
|
attr_accessor :sepa_debit
|
2604
2336
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -2612,7 +2344,6 @@ module Stripe
|
|
2612
2344
|
card_present: nil,
|
2613
2345
|
link: nil,
|
2614
2346
|
paypal: nil,
|
2615
|
-
payto: nil,
|
2616
2347
|
sepa_debit: nil,
|
2617
2348
|
us_bank_account: nil
|
2618
2349
|
)
|
@@ -2623,7 +2354,6 @@ module Stripe
|
|
2623
2354
|
@card_present = card_present
|
2624
2355
|
@link = link
|
2625
2356
|
@paypal = paypal
|
2626
|
-
@payto = payto
|
2627
2357
|
@sepa_debit = sepa_debit
|
2628
2358
|
@us_bank_account = us_bank_account
|
2629
2359
|
end
|
@@ -2796,6 +2526,9 @@ module Stripe
|
|
2796
2526
|
class Bancontact < Stripe::RequestParams
|
2797
2527
|
end
|
2798
2528
|
|
2529
|
+
class Billie < Stripe::RequestParams
|
2530
|
+
end
|
2531
|
+
|
2799
2532
|
class BillingDetails < Stripe::RequestParams
|
2800
2533
|
class Address < Stripe::RequestParams
|
2801
2534
|
# City, district, suburb, town, or village.
|
@@ -2886,21 +2619,9 @@ module Stripe
|
|
2886
2619
|
class Giropay < Stripe::RequestParams
|
2887
2620
|
end
|
2888
2621
|
|
2889
|
-
class Gopay < Stripe::RequestParams
|
2890
|
-
end
|
2891
|
-
|
2892
2622
|
class Grabpay < Stripe::RequestParams
|
2893
2623
|
end
|
2894
2624
|
|
2895
|
-
class IdBankTransfer < Stripe::RequestParams
|
2896
|
-
# Bank where the account is held.
|
2897
|
-
attr_accessor :bank
|
2898
|
-
|
2899
|
-
def initialize(bank: nil)
|
2900
|
-
@bank = bank
|
2901
|
-
end
|
2902
|
-
end
|
2903
|
-
|
2904
2625
|
class Ideal < Stripe::RequestParams
|
2905
2626
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
2906
2627
|
attr_accessor :bank
|
@@ -2948,9 +2669,6 @@ module Stripe
|
|
2948
2669
|
class Link < Stripe::RequestParams
|
2949
2670
|
end
|
2950
2671
|
|
2951
|
-
class MbWay < Stripe::RequestParams
|
2952
|
-
end
|
2953
|
-
|
2954
2672
|
class Mobilepay < Stripe::RequestParams
|
2955
2673
|
end
|
2956
2674
|
|
@@ -2966,6 +2684,37 @@ module Stripe
|
|
2966
2684
|
end
|
2967
2685
|
end
|
2968
2686
|
|
2687
|
+
class NzBankAccount < Stripe::RequestParams
|
2688
|
+
# 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.
|
2689
|
+
attr_accessor :account_holder_name
|
2690
|
+
# The account number for the bank account.
|
2691
|
+
attr_accessor :account_number
|
2692
|
+
# The numeric code for the bank account's bank.
|
2693
|
+
attr_accessor :bank_code
|
2694
|
+
# The numeric code for the bank account's bank branch.
|
2695
|
+
attr_accessor :branch_code
|
2696
|
+
# Attribute for param field reference
|
2697
|
+
attr_accessor :reference
|
2698
|
+
# The suffix of the bank account number.
|
2699
|
+
attr_accessor :suffix
|
2700
|
+
|
2701
|
+
def initialize(
|
2702
|
+
account_holder_name: nil,
|
2703
|
+
account_number: nil,
|
2704
|
+
bank_code: nil,
|
2705
|
+
branch_code: nil,
|
2706
|
+
reference: nil,
|
2707
|
+
suffix: nil
|
2708
|
+
)
|
2709
|
+
@account_holder_name = account_holder_name
|
2710
|
+
@account_number = account_number
|
2711
|
+
@bank_code = bank_code
|
2712
|
+
@branch_code = branch_code
|
2713
|
+
@reference = reference
|
2714
|
+
@suffix = suffix
|
2715
|
+
end
|
2716
|
+
end
|
2717
|
+
|
2969
2718
|
class Oxxo < Stripe::RequestParams
|
2970
2719
|
end
|
2971
2720
|
|
@@ -2990,30 +2739,12 @@ module Stripe
|
|
2990
2739
|
class Paypal < Stripe::RequestParams
|
2991
2740
|
end
|
2992
2741
|
|
2993
|
-
class Payto < Stripe::RequestParams
|
2994
|
-
# The account number for the bank account.
|
2995
|
-
attr_accessor :account_number
|
2996
|
-
# Bank-State-Branch number of the bank account.
|
2997
|
-
attr_accessor :bsb_number
|
2998
|
-
# The PayID alias for the bank account.
|
2999
|
-
attr_accessor :pay_id
|
3000
|
-
|
3001
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
3002
|
-
@account_number = account_number
|
3003
|
-
@bsb_number = bsb_number
|
3004
|
-
@pay_id = pay_id
|
3005
|
-
end
|
3006
|
-
end
|
3007
|
-
|
3008
2742
|
class Pix < Stripe::RequestParams
|
3009
2743
|
end
|
3010
2744
|
|
3011
2745
|
class Promptpay < Stripe::RequestParams
|
3012
2746
|
end
|
3013
2747
|
|
3014
|
-
class Qris < Stripe::RequestParams
|
3015
|
-
end
|
3016
|
-
|
3017
2748
|
class RadarOptions < Stripe::RequestParams
|
3018
2749
|
# 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.
|
3019
2750
|
attr_accessor :session
|
@@ -3023,35 +2754,15 @@ module Stripe
|
|
3023
2754
|
end
|
3024
2755
|
end
|
3025
2756
|
|
3026
|
-
class Rechnung < Stripe::RequestParams
|
3027
|
-
class Dob < Stripe::RequestParams
|
3028
|
-
# The day of birth, between 1 and 31.
|
3029
|
-
attr_accessor :day
|
3030
|
-
# The month of birth, between 1 and 12.
|
3031
|
-
attr_accessor :month
|
3032
|
-
# The four-digit year of birth.
|
3033
|
-
attr_accessor :year
|
3034
|
-
|
3035
|
-
def initialize(day: nil, month: nil, year: nil)
|
3036
|
-
@day = day
|
3037
|
-
@month = month
|
3038
|
-
@year = year
|
3039
|
-
end
|
3040
|
-
end
|
3041
|
-
# Customer's date of birth
|
3042
|
-
attr_accessor :dob
|
3043
|
-
|
3044
|
-
def initialize(dob: nil)
|
3045
|
-
@dob = dob
|
3046
|
-
end
|
3047
|
-
end
|
3048
|
-
|
3049
2757
|
class RevolutPay < Stripe::RequestParams
|
3050
2758
|
end
|
3051
2759
|
|
3052
2760
|
class SamsungPay < Stripe::RequestParams
|
3053
2761
|
end
|
3054
2762
|
|
2763
|
+
class Satispay < Stripe::RequestParams
|
2764
|
+
end
|
2765
|
+
|
3055
2766
|
class SepaDebit < Stripe::RequestParams
|
3056
2767
|
# IBAN of the bank account.
|
3057
2768
|
attr_accessor :iban
|
@@ -3061,9 +2772,6 @@ module Stripe
|
|
3061
2772
|
end
|
3062
2773
|
end
|
3063
2774
|
|
3064
|
-
class Shopeepay < Stripe::RequestParams
|
3065
|
-
end
|
3066
|
-
|
3067
2775
|
class Sofort < Stripe::RequestParams
|
3068
2776
|
# Two-letter ISO code representing the country the bank account is located in.
|
3069
2777
|
attr_accessor :country
|
@@ -3131,6 +2839,8 @@ module Stripe
|
|
3131
2839
|
attr_accessor :bacs_debit
|
3132
2840
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
3133
2841
|
attr_accessor :bancontact
|
2842
|
+
# If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
|
2843
|
+
attr_accessor :billie
|
3134
2844
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
3135
2845
|
attr_accessor :billing_details
|
3136
2846
|
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
@@ -3147,12 +2857,8 @@ module Stripe
|
|
3147
2857
|
attr_accessor :fpx
|
3148
2858
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
3149
2859
|
attr_accessor :giropay
|
3150
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
3151
|
-
attr_accessor :gopay
|
3152
2860
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
3153
2861
|
attr_accessor :grabpay
|
3154
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
3155
|
-
attr_accessor :id_bank_transfer
|
3156
2862
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
3157
2863
|
attr_accessor :ideal
|
3158
2864
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -3167,8 +2873,6 @@ module Stripe
|
|
3167
2873
|
attr_accessor :kr_card
|
3168
2874
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
3169
2875
|
attr_accessor :link
|
3170
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
3171
|
-
attr_accessor :mb_way
|
3172
2876
|
# 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`.
|
3173
2877
|
attr_accessor :metadata
|
3174
2878
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -3177,6 +2881,8 @@ module Stripe
|
|
3177
2881
|
attr_accessor :multibanco
|
3178
2882
|
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
3179
2883
|
attr_accessor :naver_pay
|
2884
|
+
# If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
|
2885
|
+
attr_accessor :nz_bank_account
|
3180
2886
|
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
3181
2887
|
attr_accessor :oxxo
|
3182
2888
|
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
@@ -3189,26 +2895,20 @@ module Stripe
|
|
3189
2895
|
attr_accessor :paynow
|
3190
2896
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
3191
2897
|
attr_accessor :paypal
|
3192
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
3193
|
-
attr_accessor :payto
|
3194
2898
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
3195
2899
|
attr_accessor :pix
|
3196
2900
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
3197
2901
|
attr_accessor :promptpay
|
3198
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
3199
|
-
attr_accessor :qris
|
3200
2902
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
3201
2903
|
attr_accessor :radar_options
|
3202
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
3203
|
-
attr_accessor :rechnung
|
3204
2904
|
# If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
3205
2905
|
attr_accessor :revolut_pay
|
3206
2906
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
3207
2907
|
attr_accessor :samsung_pay
|
2908
|
+
# If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
|
2909
|
+
attr_accessor :satispay
|
3208
2910
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
3209
2911
|
attr_accessor :sepa_debit
|
3210
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
3211
|
-
attr_accessor :shopeepay
|
3212
2912
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
3213
2913
|
attr_accessor :sofort
|
3214
2914
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
@@ -3235,6 +2935,7 @@ module Stripe
|
|
3235
2935
|
au_becs_debit: nil,
|
3236
2936
|
bacs_debit: nil,
|
3237
2937
|
bancontact: nil,
|
2938
|
+
billie: nil,
|
3238
2939
|
billing_details: nil,
|
3239
2940
|
blik: nil,
|
3240
2941
|
boleto: nil,
|
@@ -3243,9 +2944,7 @@ module Stripe
|
|
3243
2944
|
eps: nil,
|
3244
2945
|
fpx: nil,
|
3245
2946
|
giropay: nil,
|
3246
|
-
gopay: nil,
|
3247
2947
|
grabpay: nil,
|
3248
|
-
id_bank_transfer: nil,
|
3249
2948
|
ideal: nil,
|
3250
2949
|
interac_present: nil,
|
3251
2950
|
kakao_pay: nil,
|
@@ -3253,27 +2952,24 @@ module Stripe
|
|
3253
2952
|
konbini: nil,
|
3254
2953
|
kr_card: nil,
|
3255
2954
|
link: nil,
|
3256
|
-
mb_way: nil,
|
3257
2955
|
metadata: nil,
|
3258
2956
|
mobilepay: nil,
|
3259
2957
|
multibanco: nil,
|
3260
2958
|
naver_pay: nil,
|
2959
|
+
nz_bank_account: nil,
|
3261
2960
|
oxxo: nil,
|
3262
2961
|
p24: nil,
|
3263
2962
|
pay_by_bank: nil,
|
3264
2963
|
payco: nil,
|
3265
2964
|
paynow: nil,
|
3266
2965
|
paypal: nil,
|
3267
|
-
payto: nil,
|
3268
2966
|
pix: nil,
|
3269
2967
|
promptpay: nil,
|
3270
|
-
qris: nil,
|
3271
2968
|
radar_options: nil,
|
3272
|
-
rechnung: nil,
|
3273
2969
|
revolut_pay: nil,
|
3274
2970
|
samsung_pay: nil,
|
2971
|
+
satispay: nil,
|
3275
2972
|
sepa_debit: nil,
|
3276
|
-
shopeepay: nil,
|
3277
2973
|
sofort: nil,
|
3278
2974
|
swish: nil,
|
3279
2975
|
twint: nil,
|
@@ -3292,6 +2988,7 @@ module Stripe
|
|
3292
2988
|
@au_becs_debit = au_becs_debit
|
3293
2989
|
@bacs_debit = bacs_debit
|
3294
2990
|
@bancontact = bancontact
|
2991
|
+
@billie = billie
|
3295
2992
|
@billing_details = billing_details
|
3296
2993
|
@blik = blik
|
3297
2994
|
@boleto = boleto
|
@@ -3300,9 +2997,7 @@ module Stripe
|
|
3300
2997
|
@eps = eps
|
3301
2998
|
@fpx = fpx
|
3302
2999
|
@giropay = giropay
|
3303
|
-
@gopay = gopay
|
3304
3000
|
@grabpay = grabpay
|
3305
|
-
@id_bank_transfer = id_bank_transfer
|
3306
3001
|
@ideal = ideal
|
3307
3002
|
@interac_present = interac_present
|
3308
3003
|
@kakao_pay = kakao_pay
|
@@ -3310,27 +3005,24 @@ module Stripe
|
|
3310
3005
|
@konbini = konbini
|
3311
3006
|
@kr_card = kr_card
|
3312
3007
|
@link = link
|
3313
|
-
@mb_way = mb_way
|
3314
3008
|
@metadata = metadata
|
3315
3009
|
@mobilepay = mobilepay
|
3316
3010
|
@multibanco = multibanco
|
3317
3011
|
@naver_pay = naver_pay
|
3012
|
+
@nz_bank_account = nz_bank_account
|
3318
3013
|
@oxxo = oxxo
|
3319
3014
|
@p24 = p24
|
3320
3015
|
@pay_by_bank = pay_by_bank
|
3321
3016
|
@payco = payco
|
3322
3017
|
@paynow = paynow
|
3323
3018
|
@paypal = paypal
|
3324
|
-
@payto = payto
|
3325
3019
|
@pix = pix
|
3326
3020
|
@promptpay = promptpay
|
3327
|
-
@qris = qris
|
3328
3021
|
@radar_options = radar_options
|
3329
|
-
@rechnung = rechnung
|
3330
3022
|
@revolut_pay = revolut_pay
|
3331
3023
|
@samsung_pay = samsung_pay
|
3024
|
+
@satispay = satispay
|
3332
3025
|
@sepa_debit = sepa_debit
|
3333
|
-
@shopeepay = shopeepay
|
3334
3026
|
@sofort = sofort
|
3335
3027
|
@swish = swish
|
3336
3028
|
@twint = twint
|
@@ -3567,58 +3259,9 @@ module Stripe
|
|
3567
3259
|
class Paypal < Stripe::RequestParams
|
3568
3260
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
3569
3261
|
attr_accessor :billing_agreement_id
|
3570
|
-
# Attribute for param field currency
|
3571
|
-
attr_accessor :currency
|
3572
|
-
# 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.
|
3573
|
-
attr_accessor :subsellers
|
3574
3262
|
|
3575
|
-
def initialize(billing_agreement_id: nil
|
3263
|
+
def initialize(billing_agreement_id: nil)
|
3576
3264
|
@billing_agreement_id = billing_agreement_id
|
3577
|
-
@currency = currency
|
3578
|
-
@subsellers = subsellers
|
3579
|
-
end
|
3580
|
-
end
|
3581
|
-
|
3582
|
-
class Payto < Stripe::RequestParams
|
3583
|
-
class MandateOptions < Stripe::RequestParams
|
3584
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
3585
|
-
attr_accessor :amount
|
3586
|
-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
3587
|
-
attr_accessor :amount_type
|
3588
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
3589
|
-
attr_accessor :end_date
|
3590
|
-
# The periodicity at which payments will be collected.
|
3591
|
-
attr_accessor :payment_schedule
|
3592
|
-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
3593
|
-
attr_accessor :payments_per_period
|
3594
|
-
# The purpose for which payments are made. Defaults to retail.
|
3595
|
-
attr_accessor :purpose
|
3596
|
-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
3597
|
-
attr_accessor :start_date
|
3598
|
-
|
3599
|
-
def initialize(
|
3600
|
-
amount: nil,
|
3601
|
-
amount_type: nil,
|
3602
|
-
end_date: nil,
|
3603
|
-
payment_schedule: nil,
|
3604
|
-
payments_per_period: nil,
|
3605
|
-
purpose: nil,
|
3606
|
-
start_date: nil
|
3607
|
-
)
|
3608
|
-
@amount = amount
|
3609
|
-
@amount_type = amount_type
|
3610
|
-
@end_date = end_date
|
3611
|
-
@payment_schedule = payment_schedule
|
3612
|
-
@payments_per_period = payments_per_period
|
3613
|
-
@purpose = purpose
|
3614
|
-
@start_date = start_date
|
3615
|
-
end
|
3616
|
-
end
|
3617
|
-
# Additional fields for Mandate creation.
|
3618
|
-
attr_accessor :mandate_options
|
3619
|
-
|
3620
|
-
def initialize(mandate_options: nil)
|
3621
|
-
@mandate_options = mandate_options
|
3622
3265
|
end
|
3623
3266
|
end
|
3624
3267
|
|
@@ -3644,27 +3287,13 @@ module Stripe
|
|
3644
3287
|
class Filters < Stripe::RequestParams
|
3645
3288
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
3646
3289
|
attr_accessor :account_subcategories
|
3647
|
-
# ID of the institution to use to filter for selectable accounts.
|
3648
|
-
attr_accessor :institution
|
3649
3290
|
|
3650
|
-
def initialize(account_subcategories: nil
|
3291
|
+
def initialize(account_subcategories: nil)
|
3651
3292
|
@account_subcategories = account_subcategories
|
3652
|
-
@institution = institution
|
3653
|
-
end
|
3654
|
-
end
|
3655
|
-
|
3656
|
-
class ManualEntry < Stripe::RequestParams
|
3657
|
-
# Settings for configuring manual entry of account details.
|
3658
|
-
attr_accessor :mode
|
3659
|
-
|
3660
|
-
def initialize(mode: nil)
|
3661
|
-
@mode = mode
|
3662
3293
|
end
|
3663
3294
|
end
|
3664
3295
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
3665
3296
|
attr_accessor :filters
|
3666
|
-
# Customize manual entry behavior
|
3667
|
-
attr_accessor :manual_entry
|
3668
3297
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
3669
3298
|
attr_accessor :permissions
|
3670
3299
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -3672,15 +3301,8 @@ module Stripe
|
|
3672
3301
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
3673
3302
|
attr_accessor :return_url
|
3674
3303
|
|
3675
|
-
def initialize(
|
3676
|
-
filters: nil,
|
3677
|
-
manual_entry: nil,
|
3678
|
-
permissions: nil,
|
3679
|
-
prefetch: nil,
|
3680
|
-
return_url: nil
|
3681
|
-
)
|
3304
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
3682
3305
|
@filters = filters
|
3683
|
-
@manual_entry = manual_entry
|
3684
3306
|
@permissions = permissions
|
3685
3307
|
@prefetch = prefetch
|
3686
3308
|
@return_url = return_url
|
@@ -3739,8 +3361,6 @@ module Stripe
|
|
3739
3361
|
attr_accessor :link
|
3740
3362
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
3741
3363
|
attr_accessor :paypal
|
3742
|
-
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
3743
|
-
attr_accessor :payto
|
3744
3364
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
3745
3365
|
attr_accessor :sepa_debit
|
3746
3366
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -3754,7 +3374,6 @@ module Stripe
|
|
3754
3374
|
card_present: nil,
|
3755
3375
|
link: nil,
|
3756
3376
|
paypal: nil,
|
3757
|
-
payto: nil,
|
3758
3377
|
sepa_debit: nil,
|
3759
3378
|
us_bank_account: nil
|
3760
3379
|
)
|
@@ -3765,7 +3384,6 @@ module Stripe
|
|
3765
3384
|
@card_present = card_present
|
3766
3385
|
@link = link
|
3767
3386
|
@paypal = paypal
|
3768
|
-
@payto = payto
|
3769
3387
|
@sepa_debit = sepa_debit
|
3770
3388
|
@us_bank_account = us_bank_account
|
3771
3389
|
end
|