stripe 14.0.0 → 14.1.0.pre.beta.1
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 +1513 -670
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +28 -0
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +54 -0
- data/lib/stripe/event_types.rb +75 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_link_completed_event.rb +13 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
- data/lib/stripe/object_types.rb +48 -0
- data/lib/stripe/request_signing_authenticator.rb +79 -0
- data/lib/stripe/resources/account.rb +653 -1
- data/lib/stripe/resources/account_notice.rb +123 -0
- data/lib/stripe/resources/account_session.rb +247 -1
- data/lib/stripe/resources/balance_settings.rb +101 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
- data/lib/stripe/resources/billing/credit_grant.rb +10 -0
- data/lib/stripe/resources/billing/meter_error_report.rb +59 -0
- data/lib/stripe/resources/billing_portal/session.rb +6 -0
- data/lib/stripe/resources/capital/financing_offer.rb +179 -0
- data/lib/stripe/resources/capital/financing_summary.rb +55 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
- data/lib/stripe/resources/card.rb +2 -0
- data/lib/stripe/resources/cash_balance.rb +2 -0
- data/lib/stripe/resources/charge.rb +1454 -0
- data/lib/stripe/resources/checkout/session.rb +260 -4
- data/lib/stripe/resources/confirmation_token.rb +234 -0
- data/lib/stripe/resources/coupon.rb +1 -1
- data/lib/stripe/resources/credit_note.rb +10 -0
- data/lib/stripe/resources/credit_note_line_item.rb +9 -0
- data/lib/stripe/resources/customer.rb +2 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_session.rb +6 -1
- data/lib/stripe/resources/discount.rb +2 -0
- data/lib/stripe/resources/event.rb +33 -0
- data/lib/stripe/resources/financial_connections/account.rb +20 -1
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
- data/lib/stripe/resources/financial_connections/institution.rb +90 -0
- data/lib/stripe/resources/financial_connections/session.rb +62 -2
- data/lib/stripe/resources/gift_cards/card.rb +208 -0
- data/lib/stripe/resources/gift_cards/transaction.rb +272 -0
- data/lib/stripe/resources/identity/verification_session.rb +10 -0
- data/lib/stripe/resources/invoice.rb +1176 -16
- data/lib/stripe/resources/invoice_item.rb +78 -2
- data/lib/stripe/resources/invoice_line_item.rb +55 -1
- data/lib/stripe/resources/invoice_payment.rb +2 -53
- data/lib/stripe/resources/issuing/cardholder.rb +2 -1
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +602 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +82 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +86 -0
- data/lib/stripe/resources/issuing/settlement.rb +53 -0
- data/lib/stripe/resources/issuing/transaction.rb +6 -0
- data/lib/stripe/resources/line_item.rb +37 -0
- data/lib/stripe/resources/mandate.rb +24 -0
- data/lib/stripe/resources/margin.rb +115 -0
- data/lib/stripe/resources/order.rb +2859 -0
- data/lib/stripe/resources/payment_attempt_record.rb +1078 -0
- data/lib/stripe/resources/payment_intent.rb +5233 -431
- data/lib/stripe/resources/payment_method.rb +196 -1
- data/lib/stripe/resources/payment_method_configuration.rb +295 -0
- data/lib/stripe/resources/payment_record.rb +1607 -0
- data/lib/stripe/resources/payout.rb +6 -0
- data/lib/stripe/resources/price.rb +30 -0
- data/lib/stripe/resources/product.rb +59 -0
- data/lib/stripe/resources/promotion_code.rb +10 -0
- data/lib/stripe/resources/quote.rb +2042 -6
- data/lib/stripe/resources/quote_line.rb +274 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +663 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +337 -0
- data/lib/stripe/resources/refund.rb +9 -0
- data/lib/stripe/resources/setup_attempt.rb +21 -0
- data/lib/stripe/resources/setup_intent.rb +596 -9
- data/lib/stripe/resources/source.rb +29 -0
- data/lib/stripe/resources/subscription.rb +292 -9
- data/lib/stripe/resources/subscription_item.rb +84 -3
- data/lib/stripe/resources/subscription_schedule.rb +1007 -10
- data/lib/stripe/resources/tax/association.rb +89 -0
- data/lib/stripe/resources/tax/form.rb +211 -0
- data/lib/stripe/resources/tax_id.rb +12 -2
- data/lib/stripe/resources/terminal/reader.rb +406 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
- data/lib/stripe/resources/treasury/financial_account.rb +22 -3
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
- data/lib/stripe/resources/treasury/received_credit.rb +38 -1
- data/lib/stripe/resources/treasury/received_debit.rb +40 -1
- data/lib/stripe/resources/v2/core/account.rb +1715 -0
- data/lib/stripe/resources/v2/core/account_link.rb +54 -0
- data/lib/stripe/resources/v2/core/person.rb +272 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +72 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +37 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +18 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +20 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +49 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +56 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +66 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +92 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +127 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +74 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +43 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +115 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +73 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +47 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +134 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +106 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +76 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +66 -0
- data/lib/stripe/resources.rb +85 -0
- data/lib/stripe/services/account_notice_service.rb +101 -0
- data/lib/stripe/services/account_service.rb +562 -1
- data/lib/stripe/services/account_session_service.rb +217 -1
- data/lib/stripe/services/balance_settings_service.rb +96 -0
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +4 -1
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +8 -0
- data/lib/stripe/services/billing_portal/session_service.rb +4 -0
- data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/charge_service.rb +1334 -0
- data/lib/stripe/services/checkout/session_service.rb +172 -2
- data/lib/stripe/services/credit_note_service.rb +4 -0
- data/lib/stripe/services/customer_session_service.rb +4 -1
- data/lib/stripe/services/external_account_service.rb +206 -0
- data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
- data/lib/stripe/services/financial_connections/account_service.rb +7 -2
- data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
- data/lib/stripe/services/financial_connections/session_service.rb +34 -2
- data/lib/stripe/services/financial_connections_service.rb +2 -1
- data/lib/stripe/services/gift_cards/card_service.rb +170 -0
- data/lib/stripe/services/gift_cards/transaction_service.rb +209 -0
- data/lib/stripe/services/gift_cards_service.rb +14 -0
- data/lib/stripe/services/identity/verification_session_service.rb +8 -0
- data/lib/stripe/services/invoice_item_service.rb +74 -2
- data/lib/stripe/services/invoice_line_item_service.rb +33 -1
- data/lib/stripe/services/invoice_payment_service.rb +5 -33
- data/lib/stripe/services/invoice_service.rb +1088 -17
- data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
- data/lib/stripe/services/issuing/transaction_service.rb +4 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/margin_service.rb +119 -0
- data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
- data/lib/stripe/services/order_service.rb +2268 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
- data/lib/stripe/services/payment_intent_service.rb +4625 -252
- data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
- data/lib/stripe/services/payment_method_service.rb +126 -1
- data/lib/stripe/services/payment_record_service.rb +542 -0
- data/lib/stripe/services/payout_service.rb +4 -0
- data/lib/stripe/services/price_service.rb +19 -0
- data/lib/stripe/services/product_service.rb +38 -0
- data/lib/stripe/services/promotion_code_service.rb +8 -0
- data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
- data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
- data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_subscription_schedule_service.rb} +20 -16
- data/lib/stripe/services/quote_service.rb +1726 -7
- data/lib/stripe/services/setup_intent_service.rb +556 -9
- data/lib/stripe/services/subscription_item_service.rb +75 -3
- data/lib/stripe/services/subscription_schedule_service.rb +911 -10
- data/lib/stripe/services/subscription_service.rb +253 -9
- data/lib/stripe/services/tax/association_service.rb +31 -0
- data/lib/stripe/services/tax/form_service.rb +100 -0
- data/lib/stripe/services/tax_id_service.rb +8 -2
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
- data/lib/stripe/services/terminal/reader_service.rb +180 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +148 -0
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
- data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
- data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
- data/lib/stripe/services/v1_services.rb +10 -2
- data/lib/stripe/services/v2/core/account_link_service.rb +76 -0
- data/lib/stripe/services/v2/core/account_service.rb +4130 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +1040 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +135 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +109 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +4 -1
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +75 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +44 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +81 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +126 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +80 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +202 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +237 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +174 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +95 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +71 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +44 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +74 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +50 -0
- data/lib/stripe/services/v2_services.rb +4 -2
- data/lib/stripe/services.rb +49 -0
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +55 -0
- data/rbi/stripe.rbi +189274 -0
- data/stripe.gemspec +4 -1
- metadata +140 -324
- data/rbi/stripe/resources/account.rbi +0 -4840
- data/rbi/stripe/resources/account_link.rbi +0 -74
- data/rbi/stripe/resources/account_session.rbi +0 -894
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -90
- data/rbi/stripe/resources/application.rbi +0 -20
- data/rbi/stripe/resources/application_fee.rbi +0 -118
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
- data/rbi/stripe/resources/apps/secret.rbi +0 -195
- data/rbi/stripe/resources/balance.rbi +0 -180
- data/rbi/stripe/resources/balance_transaction.rbi +0 -144
- data/rbi/stripe/resources/bank_account.rbi +0 -127
- data/rbi/stripe/resources/billing/alert.rbi +0 -201
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
- data/rbi/stripe/resources/billing/meter.rbi +0 -226
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
- data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -645
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
- data/rbi/stripe/resources/capability.rbi +0 -125
- data/rbi/stripe/resources/card.rbi +0 -125
- data/rbi/stripe/resources/cash_balance.rbi +0 -32
- data/rbi/stripe/resources/charge.rbi +0 -2054
- data/rbi/stripe/resources/checkout/session.rbi +0 -3951
- data/rbi/stripe/resources/climate/order.rbi +0 -245
- data/rbi/stripe/resources/climate/product.rbi +0 -75
- data/rbi/stripe/resources/climate/supplier.rbi +0 -72
- data/rbi/stripe/resources/confirmation_token.rbi +0 -1793
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
- data/rbi/stripe/resources/country_spec.rbi +0 -85
- data/rbi/stripe/resources/coupon.rbi +0 -252
- data/rbi/stripe/resources/credit_note.rbi +0 -747
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
- data/rbi/stripe/resources/customer.rbi +0 -1009
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
- data/rbi/stripe/resources/customer_session.rbi +0 -200
- data/rbi/stripe/resources/discount.rbi +0 -53
- data/rbi/stripe/resources/dispute.rbi +0 -761
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
- data/rbi/stripe/resources/event.rbi +0 -146
- data/rbi/stripe/resources/exchange_rate.rbi +0 -66
- data/rbi/stripe/resources/file.rbi +0 -143
- data/rbi/stripe/resources/file_link.rbi +0 -141
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
- data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
- data/rbi/stripe/resources/forwarding/request.rbi +0 -216
- data/rbi/stripe/resources/funding_instructions.rbi +0 -437
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -351
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -517
- data/rbi/stripe/resources/invoice.rbi +0 -3733
- data/rbi/stripe/resources/invoice_item.rbi +0 -475
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
- data/rbi/stripe/resources/invoice_payment.rbi +0 -114
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
- data/rbi/stripe/resources/issuing/card.rbi +0 -741
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
- data/rbi/stripe/resources/issuing/token.rbi +0 -226
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
- data/rbi/stripe/resources/line_item.rbi +0 -72
- data/rbi/stripe/resources/login_link.rbi +0 -18
- data/rbi/stripe/resources/mandate.rbi +0 -187
- data/rbi/stripe/resources/payment_intent.rbi +0 -9731
- data/rbi/stripe/resources/payment_link.rbi +0 -1801
- data/rbi/stripe/resources/payment_method.rbi +0 -1822
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3154
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -212
- data/rbi/stripe/resources/payout.rbi +0 -300
- data/rbi/stripe/resources/person.rbi +0 -371
- data/rbi/stripe/resources/plan.rbi +0 -373
- data/rbi/stripe/resources/price.rbi +0 -694
- data/rbi/stripe/resources/product.rbi +0 -557
- data/rbi/stripe/resources/product_feature.rbi +0 -26
- data/rbi/stripe/resources/promotion_code.rbi +0 -261
- data/rbi/stripe/resources/quote.rbi +0 -1123
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
- data/rbi/stripe/resources/radar/value_list.rbi +0 -170
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -131
- data/rbi/stripe/resources/refund.rbi +0 -516
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
- data/rbi/stripe/resources/reversal.rbi +0 -51
- data/rbi/stripe/resources/review.rbi +0 -154
- data/rbi/stripe/resources/setup_attempt.rbi +0 -477
- data/rbi/stripe/resources/setup_intent.rbi +0 -3860
- data/rbi/stripe/resources/shipping_rate.rbi +0 -305
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
- data/rbi/stripe/resources/source.rbi +0 -1496
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
- data/rbi/stripe/resources/source_transaction.rbi +0 -127
- data/rbi/stripe/resources/subscription.rbi +0 -1964
- data/rbi/stripe/resources/subscription_item.rbi +0 -370
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -1495
- data/rbi/stripe/resources/tax/calculation.rbi +0 -474
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -88
- data/rbi/stripe/resources/tax/registration.rbi +0 -2485
- data/rbi/stripe/resources/tax/settings.rbi +0 -141
- data/rbi/stripe/resources/tax/transaction.rbi +0 -351
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
- data/rbi/stripe/resources/tax_code.rbi +0 -44
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
- data/rbi/stripe/resources/tax_id.rbi +0 -167
- data/rbi/stripe/resources/tax_rate.rbi +0 -239
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -1388
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
- data/rbi/stripe/resources/terminal/location.rbi +0 -224
- data/rbi/stripe/resources/terminal/reader.rbi +0 -587
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -134
- data/rbi/stripe/resources/token.rbi +0 -1217
- data/rbi/stripe/resources/topup.rbi +0 -222
- data/rbi/stripe/resources/transfer.rbi +0 -199
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
- data/rbi/stripe/resources/treasury/financial_account.rbi +0 -865
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
- data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
- data/rbi/stripe/resources/v2/amount.rbi +0 -14
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
- data/rbi/stripe/resources/v2/event.rbi +0 -48
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -170
- data/rbi/stripe/services/account_capability_service.rbi +0 -51
- data/rbi/stripe/services/account_external_account_service.rbi +0 -306
- data/rbi/stripe/services/account_link_service.rbi +0 -58
- data/rbi/stripe/services/account_login_link_service.rbi +0 -22
- data/rbi/stripe/services/account_person_service.rbi +0 -923
- data/rbi/stripe/services/account_service.rbi +0 -4143
- data/rbi/stripe/services/account_session_service.rbi +0 -572
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -78
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
- data/rbi/stripe/services/application_fee_service.rbi +0 -78
- data/rbi/stripe/services/apps/secret_service.rbi +0 -151
- data/rbi/stripe/services/apps_service.rbi +0 -9
- data/rbi/stripe/services/balance_service.rbi +0 -21
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
- data/rbi/stripe/services/billing/alert_service.rbi +0 -152
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
- data/rbi/stripe/services/billing/meter_service.rbi +0 -163
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -511
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
- data/rbi/stripe/services/billing_portal_service.rbi +0 -10
- data/rbi/stripe/services/billing_service.rbi +0 -15
- data/rbi/stripe/services/charge_service.rbi +0 -448
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
- data/rbi/stripe/services/checkout/session_service.rbi +0 -2585
- data/rbi/stripe/services/checkout_service.rbi +0 -9
- data/rbi/stripe/services/climate/order_service.rbi +0 -142
- data/rbi/stripe/services/climate/product_service.rbi +0 -46
- data/rbi/stripe/services/climate_service.rbi +0 -11
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
- data/rbi/stripe/services/country_spec_service.rbi +0 -44
- data/rbi/stripe/services/coupon_service.rbi +0 -196
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
- data/rbi/stripe/services/credit_note_service.rbi +0 -416
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
- data/rbi/stripe/services/customer_service.rbi +0 -651
- data/rbi/stripe/services/customer_session_service.rbi +0 -116
- data/rbi/stripe/services/customer_tax_id_service.rbi +0 -72
- data/rbi/stripe/services/dispute_service.rbi +0 -424
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
- data/rbi/stripe/services/entitlements_service.rbi +0 -10
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
- data/rbi/stripe/services/event_service.rbi +0 -83
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
- data/rbi/stripe/services/file_link_service.rbi +0 -124
- data/rbi/stripe/services/file_service.rbi +0 -116
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
- data/rbi/stripe/services/financial_connections_service.rbi +0 -11
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
- data/rbi/stripe/services/forwarding_service.rbi +0 -9
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -323
- data/rbi/stripe/services/identity_service.rbi +0 -10
- data/rbi/stripe/services/invoice_item_service.rbi +0 -368
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
- data/rbi/stripe/services/invoice_service.rbi +0 -2920
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
- data/rbi/stripe/services/issuing/card_service.rbi +0 -495
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
- data/rbi/stripe/services/issuing/token_service.rbi +0 -99
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
- data/rbi/stripe/services/issuing_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -20
- data/rbi/stripe/services/payment_intent_service.rbi +0 -7759
- data/rbi/stripe/services/payment_link_service.rbi +0 -1352
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2211
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
- data/rbi/stripe/services/payment_method_service.rbi +0 -840
- data/rbi/stripe/services/payout_service.rbi +0 -205
- data/rbi/stripe/services/plan_service.rbi +0 -284
- data/rbi/stripe/services/price_service.rbi +0 -546
- data/rbi/stripe/services/product_feature_service.rbi +0 -69
- data/rbi/stripe/services/product_service.rbi +0 -479
- data/rbi/stripe/services/promotion_code_service.rbi +0 -214
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
- data/rbi/stripe/services/quote_service.rbi +0 -686
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -111
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -143
- data/rbi/stripe/services/radar_service.rbi +0 -11
- data/rbi/stripe/services/refund_service.rbi +0 -185
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
- data/rbi/stripe/services/reporting_service.rbi +0 -10
- data/rbi/stripe/services/review_service.rbi +0 -84
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
- data/rbi/stripe/services/setup_intent_service.rbi +0 -3596
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
- data/rbi/stripe/services/sigma_service.rbi +0 -9
- data/rbi/stripe/services/source_service.rbi +0 -663
- data/rbi/stripe/services/subscription_item_service.rbi +0 -324
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1192
- data/rbi/stripe/services/subscription_service.rbi +0 -1596
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -33
- data/rbi/stripe/services/tax/calculation_service.rbi +0 -230
- data/rbi/stripe/services/tax/registration_service.rbi +0 -1689
- data/rbi/stripe/services/tax/settings_service.rbi +0 -93
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
- data/rbi/stripe/services/tax_code_service.rbi +0 -44
- data/rbi/stripe/services/tax_id_service.rbi +0 -112
- data/rbi/stripe/services/tax_rate_service.rbi +0 -185
- data/rbi/stripe/services/tax_service.rbi +0 -12
- data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1120
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
- data/rbi/stripe/services/terminal/location_service.rbi +0 -184
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -344
- data/rbi/stripe/services/terminal_service.rbi +0 -12
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -62
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -92
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
- data/rbi/stripe/services/test_helpers_service.rbi +0 -15
- data/rbi/stripe/services/token_service.rbi +0 -1189
- data/rbi/stripe/services/topup_service.rbi +0 -176
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
- data/rbi/stripe/services/transfer_service.rbi +0 -152
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
- data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -562
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
- data/rbi/stripe/services/treasury_service.rbi +0 -18
- data/rbi/stripe/services/v1_services.rbi +0 -77
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -20
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
- data/rbi/stripe/services/v2/billing_service.rbi +0 -14
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -200
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
- data/rbi/stripe/services/v2/core_service.rbi +0 -12
- data/rbi/stripe/services/v2_services.rbi +0 -10
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -131
@@ -0,0 +1,1078 @@
|
|
1
|
+
# File generated from our OpenAPI spec
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
module Stripe
|
5
|
+
# A Payment Attempt Record represents an individual attempt at making a payment, on or off Stripe.
|
6
|
+
# Each payment attempt tries to collect a fixed amount of money from a fixed customer and payment
|
7
|
+
# method. Payment Attempt Records are attached to Payment Records. Only one attempt per Payment Record
|
8
|
+
# can have guaranteed funds.
|
9
|
+
class PaymentAttemptRecord < APIResource
|
10
|
+
extend Stripe::APIOperations::List
|
11
|
+
|
12
|
+
OBJECT_NAME = "payment_attempt_record"
|
13
|
+
def self.object_name
|
14
|
+
"payment_attempt_record"
|
15
|
+
end
|
16
|
+
|
17
|
+
class AmountCanceled < Stripe::StripeObject
|
18
|
+
# 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).
|
19
|
+
attr_reader :currency
|
20
|
+
# A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) e.g., 100 cents for $1.00 or 100 for ¥100, a zero-decimal currency).
|
21
|
+
attr_reader :value
|
22
|
+
end
|
23
|
+
|
24
|
+
class AmountFailed < Stripe::StripeObject
|
25
|
+
# 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).
|
26
|
+
attr_reader :currency
|
27
|
+
# A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) e.g., 100 cents for $1.00 or 100 for ¥100, a zero-decimal currency).
|
28
|
+
attr_reader :value
|
29
|
+
end
|
30
|
+
|
31
|
+
class AmountGuaranteed < Stripe::StripeObject
|
32
|
+
# 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).
|
33
|
+
attr_reader :currency
|
34
|
+
# A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) e.g., 100 cents for $1.00 or 100 for ¥100, a zero-decimal currency).
|
35
|
+
attr_reader :value
|
36
|
+
end
|
37
|
+
|
38
|
+
class AmountRequested < Stripe::StripeObject
|
39
|
+
# 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).
|
40
|
+
attr_reader :currency
|
41
|
+
# A positive integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) e.g., 100 cents for $1.00 or 100 for ¥100, a zero-decimal currency).
|
42
|
+
attr_reader :value
|
43
|
+
end
|
44
|
+
|
45
|
+
class CustomerDetails < Stripe::StripeObject
|
46
|
+
# ID of the Stripe Customer associated with this payment.
|
47
|
+
attr_reader :customer
|
48
|
+
# The customer's email address.
|
49
|
+
attr_reader :email
|
50
|
+
# The customer's name.
|
51
|
+
attr_reader :name
|
52
|
+
# The customer's phone number.
|
53
|
+
attr_reader :phone
|
54
|
+
end
|
55
|
+
|
56
|
+
class PaymentMethodDetails < Stripe::StripeObject
|
57
|
+
class AchCreditTransfer < Stripe::StripeObject
|
58
|
+
# Account number to transfer funds to.
|
59
|
+
attr_reader :account_number
|
60
|
+
# Name of the bank associated with the routing number.
|
61
|
+
attr_reader :bank_name
|
62
|
+
# Routing transit number for the bank account to transfer funds to.
|
63
|
+
attr_reader :routing_number
|
64
|
+
# SWIFT code of the bank associated with the routing number.
|
65
|
+
attr_reader :swift_code
|
66
|
+
end
|
67
|
+
|
68
|
+
class AchDebit < Stripe::StripeObject
|
69
|
+
# Type of entity that holds the account. This can be either `individual` or `company`.
|
70
|
+
attr_reader :account_holder_type
|
71
|
+
# Name of the bank associated with the bank account.
|
72
|
+
attr_reader :bank_name
|
73
|
+
# Two-letter ISO code representing the country the bank account is located in.
|
74
|
+
attr_reader :country
|
75
|
+
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
76
|
+
attr_reader :fingerprint
|
77
|
+
# Last four digits of the bank account number.
|
78
|
+
attr_reader :last4
|
79
|
+
# Routing transit number of the bank account.
|
80
|
+
attr_reader :routing_number
|
81
|
+
end
|
82
|
+
|
83
|
+
class AcssDebit < Stripe::StripeObject
|
84
|
+
# Name of the bank associated with the bank account.
|
85
|
+
attr_reader :bank_name
|
86
|
+
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
87
|
+
attr_reader :fingerprint
|
88
|
+
# Institution number of the bank account
|
89
|
+
attr_reader :institution_number
|
90
|
+
# Last four digits of the bank account number.
|
91
|
+
attr_reader :last4
|
92
|
+
# ID of the mandate used to make this payment.
|
93
|
+
attr_reader :mandate
|
94
|
+
# Transit number of the bank account.
|
95
|
+
attr_reader :transit_number
|
96
|
+
end
|
97
|
+
|
98
|
+
class Affirm < Stripe::StripeObject
|
99
|
+
# The Affirm transaction ID associated with this payment.
|
100
|
+
attr_reader :transaction_id
|
101
|
+
end
|
102
|
+
|
103
|
+
class AfterpayClearpay < Stripe::StripeObject
|
104
|
+
# The Afterpay order ID associated with this payment intent.
|
105
|
+
attr_reader :order_id
|
106
|
+
# Order identifier shown to the merchant in Afterpay’s online portal.
|
107
|
+
attr_reader :reference
|
108
|
+
end
|
109
|
+
|
110
|
+
class Alipay < Stripe::StripeObject
|
111
|
+
# Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
|
112
|
+
attr_reader :buyer_id
|
113
|
+
# Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
|
114
|
+
attr_reader :fingerprint
|
115
|
+
# Transaction ID of this particular Alipay transaction.
|
116
|
+
attr_reader :transaction_id
|
117
|
+
end
|
118
|
+
|
119
|
+
class Alma < Stripe::StripeObject; end
|
120
|
+
|
121
|
+
class AmazonPay < Stripe::StripeObject
|
122
|
+
class Funding < Stripe::StripeObject
|
123
|
+
class Card < Stripe::StripeObject
|
124
|
+
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
125
|
+
attr_reader :brand
|
126
|
+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
127
|
+
attr_reader :brand_product
|
128
|
+
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
129
|
+
attr_reader :country
|
130
|
+
# Two-digit number representing the card's expiration month.
|
131
|
+
attr_reader :exp_month
|
132
|
+
# Four-digit number representing the card's expiration year.
|
133
|
+
attr_reader :exp_year
|
134
|
+
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
135
|
+
attr_reader :funding
|
136
|
+
# The last four digits of the card.
|
137
|
+
attr_reader :last4
|
138
|
+
end
|
139
|
+
# Attribute for field card
|
140
|
+
attr_reader :card
|
141
|
+
# funding type of the underlying payment method.
|
142
|
+
attr_reader :type
|
143
|
+
end
|
144
|
+
# Attribute for field funding
|
145
|
+
attr_reader :funding
|
146
|
+
end
|
147
|
+
|
148
|
+
class AuBecsDebit < Stripe::StripeObject
|
149
|
+
# Bank-State-Branch number of the bank account.
|
150
|
+
attr_reader :bsb_number
|
151
|
+
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
152
|
+
attr_reader :fingerprint
|
153
|
+
# Last four digits of the bank account number.
|
154
|
+
attr_reader :last4
|
155
|
+
# ID of the mandate used to make this payment.
|
156
|
+
attr_reader :mandate
|
157
|
+
end
|
158
|
+
|
159
|
+
class BacsDebit < Stripe::StripeObject
|
160
|
+
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
161
|
+
attr_reader :fingerprint
|
162
|
+
# Last four digits of the bank account number.
|
163
|
+
attr_reader :last4
|
164
|
+
# ID of the mandate used to make this payment.
|
165
|
+
attr_reader :mandate
|
166
|
+
# Sort code of the bank account. (e.g., `10-20-30`)
|
167
|
+
attr_reader :sort_code
|
168
|
+
end
|
169
|
+
|
170
|
+
class Bancontact < Stripe::StripeObject
|
171
|
+
# Bank code of bank associated with the bank account.
|
172
|
+
attr_reader :bank_code
|
173
|
+
# Name of the bank associated with the bank account.
|
174
|
+
attr_reader :bank_name
|
175
|
+
# Bank Identifier Code of the bank associated with the bank account.
|
176
|
+
attr_reader :bic
|
177
|
+
# The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
178
|
+
attr_reader :generated_sepa_debit
|
179
|
+
# The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
180
|
+
attr_reader :generated_sepa_debit_mandate
|
181
|
+
# Last four characters of the IBAN.
|
182
|
+
attr_reader :iban_last4
|
183
|
+
# Preferred language of the Bancontact authorization page that the customer is redirected to.
|
184
|
+
# Can be one of `en`, `de`, `fr`, or `nl`
|
185
|
+
attr_reader :preferred_language
|
186
|
+
# Owner's verified full name. Values are verified or provided by Bancontact directly
|
187
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
188
|
+
attr_reader :verified_name
|
189
|
+
end
|
190
|
+
|
191
|
+
class Billie < Stripe::StripeObject; end
|
192
|
+
|
193
|
+
class BillingDetails < Stripe::StripeObject
|
194
|
+
class Address < Stripe::StripeObject
|
195
|
+
# City, district, suburb, town, or village.
|
196
|
+
attr_reader :city
|
197
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
198
|
+
attr_reader :country
|
199
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
200
|
+
attr_reader :line1
|
201
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
202
|
+
attr_reader :line2
|
203
|
+
# ZIP or postal code.
|
204
|
+
attr_reader :postal_code
|
205
|
+
# State, county, province, or region.
|
206
|
+
attr_reader :state
|
207
|
+
end
|
208
|
+
# A representation of a physical address.
|
209
|
+
attr_reader :address
|
210
|
+
# The billing email associated with the method of payment.
|
211
|
+
attr_reader :email
|
212
|
+
# The billing name associated with the method of payment.
|
213
|
+
attr_reader :name
|
214
|
+
# The billing phone number associated with the method of payment.
|
215
|
+
attr_reader :phone
|
216
|
+
end
|
217
|
+
|
218
|
+
class Blik < Stripe::StripeObject
|
219
|
+
# A unique and immutable identifier assigned by BLIK to every buyer.
|
220
|
+
attr_reader :buyer_id
|
221
|
+
end
|
222
|
+
|
223
|
+
class Boleto < Stripe::StripeObject
|
224
|
+
# The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers)
|
225
|
+
attr_reader :tax_id
|
226
|
+
end
|
227
|
+
|
228
|
+
class Card < Stripe::StripeObject
|
229
|
+
class Checks < Stripe::StripeObject
|
230
|
+
# Attribute for field address_line1_check
|
231
|
+
attr_reader :address_line1_check
|
232
|
+
# Attribute for field address_postal_code_check
|
233
|
+
attr_reader :address_postal_code_check
|
234
|
+
# Attribute for field cvc_check
|
235
|
+
attr_reader :cvc_check
|
236
|
+
end
|
237
|
+
|
238
|
+
class NetworkToken < Stripe::StripeObject
|
239
|
+
# Attribute for field used
|
240
|
+
attr_reader :used
|
241
|
+
end
|
242
|
+
|
243
|
+
class ThreeDSecure < Stripe::StripeObject
|
244
|
+
# Attribute for field authentication_flow
|
245
|
+
attr_reader :authentication_flow
|
246
|
+
# Attribute for field result
|
247
|
+
attr_reader :result
|
248
|
+
# Attribute for field result_reason
|
249
|
+
attr_reader :result_reason
|
250
|
+
# Attribute for field version
|
251
|
+
attr_reader :version
|
252
|
+
end
|
253
|
+
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
254
|
+
attr_reader :brand
|
255
|
+
# When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.
|
256
|
+
attr_reader :capture_before
|
257
|
+
# Check results by Card networks on Card address and CVC at time of payment.
|
258
|
+
attr_reader :checks
|
259
|
+
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
260
|
+
attr_reader :country
|
261
|
+
# Two-digit number representing the card's expiration month.
|
262
|
+
attr_reader :exp_month
|
263
|
+
# Four-digit number representing the card's expiration year.
|
264
|
+
attr_reader :exp_year
|
265
|
+
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
266
|
+
#
|
267
|
+
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
268
|
+
attr_reader :fingerprint
|
269
|
+
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
270
|
+
attr_reader :funding
|
271
|
+
# The last four digits of the card.
|
272
|
+
attr_reader :last4
|
273
|
+
# True if this payment was marked as MOTO and out of scope for SCA.
|
274
|
+
attr_reader :moto
|
275
|
+
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
276
|
+
attr_reader :network
|
277
|
+
# If this card has network token credentials, this contains the details of the network token credentials.
|
278
|
+
attr_reader :network_token
|
279
|
+
# This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
280
|
+
attr_reader :network_transaction_id
|
281
|
+
# Populated if this transaction used 3D Secure authentication.
|
282
|
+
attr_reader :three_d_secure
|
283
|
+
end
|
284
|
+
|
285
|
+
class CardPresent < Stripe::StripeObject
|
286
|
+
class Offline < Stripe::StripeObject
|
287
|
+
# Time at which the payment was collected while offline
|
288
|
+
attr_reader :stored_at
|
289
|
+
# The method used to process this payment method offline. Only deferred is allowed.
|
290
|
+
attr_reader :type
|
291
|
+
end
|
292
|
+
|
293
|
+
class Receipt < Stripe::StripeObject
|
294
|
+
# The type of account being debited or credited
|
295
|
+
attr_reader :account_type
|
296
|
+
# EMV tag 9F26, cryptogram generated by the integrated circuit chip.
|
297
|
+
attr_reader :application_cryptogram
|
298
|
+
# Mnenomic of the Application Identifier.
|
299
|
+
attr_reader :application_preferred_name
|
300
|
+
# Identifier for this transaction.
|
301
|
+
attr_reader :authorization_code
|
302
|
+
# EMV tag 8A. A code returned by the card issuer.
|
303
|
+
attr_reader :authorization_response_code
|
304
|
+
# Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
|
305
|
+
attr_reader :cardholder_verification_method
|
306
|
+
# EMV tag 84. Similar to the application identifier stored on the integrated circuit chip.
|
307
|
+
attr_reader :dedicated_file_name
|
308
|
+
# The outcome of a series of EMV functions performed by the card reader.
|
309
|
+
attr_reader :terminal_verification_results
|
310
|
+
# An indication of various EMV functions performed during the transaction.
|
311
|
+
attr_reader :transaction_status_information
|
312
|
+
end
|
313
|
+
|
314
|
+
class Wallet < Stripe::StripeObject
|
315
|
+
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
316
|
+
attr_reader :type
|
317
|
+
end
|
318
|
+
# The authorized amount
|
319
|
+
attr_reader :amount_authorized
|
320
|
+
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
321
|
+
attr_reader :brand
|
322
|
+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
|
323
|
+
attr_reader :brand_product
|
324
|
+
# When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured.
|
325
|
+
attr_reader :capture_before
|
326
|
+
# The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
|
327
|
+
attr_reader :cardholder_name
|
328
|
+
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
329
|
+
attr_reader :country
|
330
|
+
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
331
|
+
attr_reader :description
|
332
|
+
# Authorization response cryptogram.
|
333
|
+
attr_reader :emv_auth_data
|
334
|
+
# Two-digit number representing the card's expiration month.
|
335
|
+
attr_reader :exp_month
|
336
|
+
# Four-digit number representing the card's expiration year.
|
337
|
+
attr_reader :exp_year
|
338
|
+
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
339
|
+
#
|
340
|
+
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
341
|
+
attr_reader :fingerprint
|
342
|
+
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
343
|
+
attr_reader :funding
|
344
|
+
# ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
|
345
|
+
attr_reader :generated_card
|
346
|
+
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
347
|
+
attr_reader :iin
|
348
|
+
# Whether this [PaymentIntent](https://stripe.com/docs/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support).
|
349
|
+
attr_reader :incremental_authorization_supported
|
350
|
+
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
351
|
+
attr_reader :issuer
|
352
|
+
# The last four digits of the card.
|
353
|
+
attr_reader :last4
|
354
|
+
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
355
|
+
attr_reader :network
|
356
|
+
# This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
357
|
+
attr_reader :network_transaction_id
|
358
|
+
# Details about payments collected offline.
|
359
|
+
attr_reader :offline
|
360
|
+
# Defines whether the authorized amount can be over-captured or not
|
361
|
+
attr_reader :overcapture_supported
|
362
|
+
# EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
|
363
|
+
attr_reader :preferred_locales
|
364
|
+
# How card details were read in this transaction.
|
365
|
+
attr_reader :read_method
|
366
|
+
# A collection of fields required to be displayed on receipts. Only required for EMV transactions.
|
367
|
+
attr_reader :receipt
|
368
|
+
# Attribute for field wallet
|
369
|
+
attr_reader :wallet
|
370
|
+
end
|
371
|
+
|
372
|
+
class Cashapp < Stripe::StripeObject
|
373
|
+
# A unique and immutable identifier assigned by Cash App to every buyer.
|
374
|
+
attr_reader :buyer_id
|
375
|
+
# A public identifier for buyers using Cash App.
|
376
|
+
attr_reader :cashtag
|
377
|
+
end
|
378
|
+
|
379
|
+
class Custom < Stripe::StripeObject
|
380
|
+
# Display name for the custom (user-defined) payment method type used to make this payment.
|
381
|
+
attr_reader :display_name
|
382
|
+
# The custom payment method type associated with this payment.
|
383
|
+
attr_reader :type
|
384
|
+
end
|
385
|
+
|
386
|
+
class CustomerBalance < Stripe::StripeObject; end
|
387
|
+
|
388
|
+
class Eps < Stripe::StripeObject
|
389
|
+
# The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
|
390
|
+
attr_reader :bank
|
391
|
+
# Owner's verified full name. Values are verified or provided by EPS directly
|
392
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
393
|
+
# EPS rarely provides this information so the attribute is usually empty.
|
394
|
+
attr_reader :verified_name
|
395
|
+
end
|
396
|
+
|
397
|
+
class Fpx < Stripe::StripeObject
|
398
|
+
# Account holder type, if provided. Can be one of `individual` or `company`.
|
399
|
+
attr_reader :account_holder_type
|
400
|
+
# The customer's bank. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.
|
401
|
+
attr_reader :bank
|
402
|
+
# Unique transaction id generated by FPX for every request from the merchant
|
403
|
+
attr_reader :transaction_id
|
404
|
+
end
|
405
|
+
|
406
|
+
class Giropay < Stripe::StripeObject
|
407
|
+
# Bank code of bank associated with the bank account.
|
408
|
+
attr_reader :bank_code
|
409
|
+
# Name of the bank associated with the bank account.
|
410
|
+
attr_reader :bank_name
|
411
|
+
# Bank Identifier Code of the bank associated with the bank account.
|
412
|
+
attr_reader :bic
|
413
|
+
# Owner's verified full name. Values are verified or provided by Giropay directly
|
414
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
415
|
+
# Giropay rarely provides this information so the attribute is usually empty.
|
416
|
+
attr_reader :verified_name
|
417
|
+
end
|
418
|
+
|
419
|
+
class Gopay < Stripe::StripeObject; end
|
420
|
+
|
421
|
+
class Grabpay < Stripe::StripeObject
|
422
|
+
# Unique transaction id generated by GrabPay
|
423
|
+
attr_reader :transaction_id
|
424
|
+
end
|
425
|
+
|
426
|
+
class IdBankTransfer < Stripe::StripeObject
|
427
|
+
# Account number of the bank account to transfer funds to.
|
428
|
+
attr_reader :account_number
|
429
|
+
# Bank where the account is located.
|
430
|
+
attr_reader :bank
|
431
|
+
# Local bank code of the bank.
|
432
|
+
attr_reader :bank_code
|
433
|
+
# Name of the bank associated with the bank account.
|
434
|
+
attr_reader :bank_name
|
435
|
+
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
436
|
+
attr_reader :display_name
|
437
|
+
end
|
438
|
+
|
439
|
+
class Ideal < Stripe::StripeObject
|
440
|
+
# The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
441
|
+
attr_reader :bank
|
442
|
+
# The Bank Identifier Code of the customer's bank.
|
443
|
+
attr_reader :bic
|
444
|
+
# The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
445
|
+
attr_reader :generated_sepa_debit
|
446
|
+
# The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
447
|
+
attr_reader :generated_sepa_debit_mandate
|
448
|
+
# Last four characters of the IBAN.
|
449
|
+
attr_reader :iban_last4
|
450
|
+
# Owner's verified full name. Values are verified or provided by iDEAL directly
|
451
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
452
|
+
attr_reader :verified_name
|
453
|
+
end
|
454
|
+
|
455
|
+
class InteracPresent < Stripe::StripeObject
|
456
|
+
class Receipt < Stripe::StripeObject
|
457
|
+
# The type of account being debited or credited
|
458
|
+
attr_reader :account_type
|
459
|
+
# EMV tag 9F26, cryptogram generated by the integrated circuit chip.
|
460
|
+
attr_reader :application_cryptogram
|
461
|
+
# Mnenomic of the Application Identifier.
|
462
|
+
attr_reader :application_preferred_name
|
463
|
+
# Identifier for this transaction.
|
464
|
+
attr_reader :authorization_code
|
465
|
+
# EMV tag 8A. A code returned by the card issuer.
|
466
|
+
attr_reader :authorization_response_code
|
467
|
+
# Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
|
468
|
+
attr_reader :cardholder_verification_method
|
469
|
+
# EMV tag 84. Similar to the application identifier stored on the integrated circuit chip.
|
470
|
+
attr_reader :dedicated_file_name
|
471
|
+
# The outcome of a series of EMV functions performed by the card reader.
|
472
|
+
attr_reader :terminal_verification_results
|
473
|
+
# An indication of various EMV functions performed during the transaction.
|
474
|
+
attr_reader :transaction_status_information
|
475
|
+
end
|
476
|
+
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
477
|
+
attr_reader :brand
|
478
|
+
# The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
|
479
|
+
attr_reader :cardholder_name
|
480
|
+
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
481
|
+
attr_reader :country
|
482
|
+
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
483
|
+
attr_reader :description
|
484
|
+
# Authorization response cryptogram.
|
485
|
+
attr_reader :emv_auth_data
|
486
|
+
# Two-digit number representing the card's expiration month.
|
487
|
+
attr_reader :exp_month
|
488
|
+
# Four-digit number representing the card's expiration year.
|
489
|
+
attr_reader :exp_year
|
490
|
+
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
491
|
+
#
|
492
|
+
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
493
|
+
attr_reader :fingerprint
|
494
|
+
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
495
|
+
attr_reader :funding
|
496
|
+
# ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
|
497
|
+
attr_reader :generated_card
|
498
|
+
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
499
|
+
attr_reader :iin
|
500
|
+
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
501
|
+
attr_reader :issuer
|
502
|
+
# The last four digits of the card.
|
503
|
+
attr_reader :last4
|
504
|
+
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
505
|
+
attr_reader :network
|
506
|
+
# This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
507
|
+
attr_reader :network_transaction_id
|
508
|
+
# EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
|
509
|
+
attr_reader :preferred_locales
|
510
|
+
# How card details were read in this transaction.
|
511
|
+
attr_reader :read_method
|
512
|
+
# A collection of fields required to be displayed on receipts. Only required for EMV transactions.
|
513
|
+
attr_reader :receipt
|
514
|
+
end
|
515
|
+
|
516
|
+
class KakaoPay < Stripe::StripeObject
|
517
|
+
# A unique identifier for the buyer as determined by the local payment processor.
|
518
|
+
attr_reader :buyer_id
|
519
|
+
end
|
520
|
+
|
521
|
+
class Klarna < Stripe::StripeObject
|
522
|
+
class PayerDetails < Stripe::StripeObject
|
523
|
+
class Address < Stripe::StripeObject
|
524
|
+
# The payer address country
|
525
|
+
attr_reader :country
|
526
|
+
end
|
527
|
+
# The payer's address
|
528
|
+
attr_reader :address
|
529
|
+
end
|
530
|
+
# The payer details for this transaction.
|
531
|
+
attr_reader :payer_details
|
532
|
+
# The Klarna payment method used for this transaction.
|
533
|
+
# Can be one of `pay_later`, `pay_now`, `pay_with_financing`, or `pay_in_installments`
|
534
|
+
attr_reader :payment_method_category
|
535
|
+
# Preferred language of the Klarna authorization page that the customer is redirected to.
|
536
|
+
# Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, `en-FR`, `cs-CZ`, `en-CZ`, `ro-RO`, `en-RO`, `el-GR`, `en-GR`, `en-AU`, `en-NZ`, `en-CA`, `fr-CA`, `pl-PL`, `en-PL`, `pt-PT`, `en-PT`, `de-CH`, `fr-CH`, `it-CH`, or `en-CH`
|
537
|
+
attr_reader :preferred_locale
|
538
|
+
end
|
539
|
+
|
540
|
+
class Konbini < Stripe::StripeObject
|
541
|
+
class Store < Stripe::StripeObject
|
542
|
+
# The name of the convenience store chain where the payment was completed.
|
543
|
+
attr_reader :chain
|
544
|
+
end
|
545
|
+
# If the payment succeeded, this contains the details of the convenience store where the payment was completed.
|
546
|
+
attr_reader :store
|
547
|
+
end
|
548
|
+
|
549
|
+
class KrCard < Stripe::StripeObject
|
550
|
+
# The local credit or debit card brand.
|
551
|
+
attr_reader :brand
|
552
|
+
# A unique identifier for the buyer as determined by the local payment processor.
|
553
|
+
attr_reader :buyer_id
|
554
|
+
# The last four digits of the card. This may not be present for American Express cards.
|
555
|
+
attr_reader :last4
|
556
|
+
end
|
557
|
+
|
558
|
+
class Link < Stripe::StripeObject
|
559
|
+
# Two-letter ISO code representing the funding source country beneath the Link payment.
|
560
|
+
# You could use this attribute to get a sense of international fees.
|
561
|
+
attr_reader :country
|
562
|
+
end
|
563
|
+
|
564
|
+
class MbWay < Stripe::StripeObject; end
|
565
|
+
|
566
|
+
class Mobilepay < Stripe::StripeObject
|
567
|
+
class Card < Stripe::StripeObject
|
568
|
+
# Brand of the card used in the transaction
|
569
|
+
attr_reader :brand
|
570
|
+
# Two-letter ISO code representing the country of the card
|
571
|
+
attr_reader :country
|
572
|
+
# Two digit number representing the card's expiration month
|
573
|
+
attr_reader :exp_month
|
574
|
+
# Two digit number representing the card's expiration year
|
575
|
+
attr_reader :exp_year
|
576
|
+
# The last 4 digits of the card
|
577
|
+
attr_reader :last4
|
578
|
+
end
|
579
|
+
# Internal card details
|
580
|
+
attr_reader :card
|
581
|
+
end
|
582
|
+
|
583
|
+
class Multibanco < Stripe::StripeObject
|
584
|
+
# Entity number associated with this Multibanco payment.
|
585
|
+
attr_reader :entity
|
586
|
+
# Reference number associated with this Multibanco payment.
|
587
|
+
attr_reader :reference
|
588
|
+
end
|
589
|
+
|
590
|
+
class NaverPay < Stripe::StripeObject
|
591
|
+
# A unique identifier for the buyer as determined by the local payment processor.
|
592
|
+
attr_reader :buyer_id
|
593
|
+
end
|
594
|
+
|
595
|
+
class NzBankAccount < Stripe::StripeObject
|
596
|
+
# The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
|
597
|
+
attr_reader :account_holder_name
|
598
|
+
# The numeric code for the bank account's bank.
|
599
|
+
attr_reader :bank_code
|
600
|
+
# The name of the bank.
|
601
|
+
attr_reader :bank_name
|
602
|
+
# The numeric code for the bank account's bank branch.
|
603
|
+
attr_reader :branch_code
|
604
|
+
# Last four digits of the bank account number.
|
605
|
+
attr_reader :last4
|
606
|
+
# The suffix of the bank account number.
|
607
|
+
attr_reader :suffix
|
608
|
+
end
|
609
|
+
|
610
|
+
class Oxxo < Stripe::StripeObject
|
611
|
+
# OXXO reference number
|
612
|
+
attr_reader :number
|
613
|
+
end
|
614
|
+
|
615
|
+
class P24 < Stripe::StripeObject
|
616
|
+
# The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`.
|
617
|
+
attr_reader :bank
|
618
|
+
# Unique reference for this Przelewy24 payment.
|
619
|
+
attr_reader :reference
|
620
|
+
# Owner's verified full name. Values are verified or provided by Przelewy24 directly
|
621
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
622
|
+
# Przelewy24 rarely provides this information so the attribute is usually empty.
|
623
|
+
attr_reader :verified_name
|
624
|
+
end
|
625
|
+
|
626
|
+
class PayByBank < Stripe::StripeObject; end
|
627
|
+
|
628
|
+
class Payco < Stripe::StripeObject
|
629
|
+
# A unique identifier for the buyer as determined by the local payment processor.
|
630
|
+
attr_reader :buyer_id
|
631
|
+
end
|
632
|
+
|
633
|
+
class Paynow < Stripe::StripeObject
|
634
|
+
# Reference number associated with this PayNow payment
|
635
|
+
attr_reader :reference
|
636
|
+
end
|
637
|
+
|
638
|
+
class Paypal < Stripe::StripeObject
|
639
|
+
class SellerProtection < Stripe::StripeObject
|
640
|
+
# An array of conditions that are covered for the transaction, if applicable.
|
641
|
+
attr_reader :dispute_categories
|
642
|
+
# Indicates whether the transaction is eligible for PayPal's seller protection.
|
643
|
+
attr_reader :status
|
644
|
+
end
|
645
|
+
|
646
|
+
class Shipping < Stripe::StripeObject
|
647
|
+
# City, district, suburb, town, or village.
|
648
|
+
attr_reader :city
|
649
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
650
|
+
attr_reader :country
|
651
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
652
|
+
attr_reader :line1
|
653
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
654
|
+
attr_reader :line2
|
655
|
+
# ZIP or postal code.
|
656
|
+
attr_reader :postal_code
|
657
|
+
# State, county, province, or region.
|
658
|
+
attr_reader :state
|
659
|
+
end
|
660
|
+
|
661
|
+
class VerifiedAddress < Stripe::StripeObject
|
662
|
+
# City, district, suburb, town, or village.
|
663
|
+
attr_reader :city
|
664
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
665
|
+
attr_reader :country
|
666
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
667
|
+
attr_reader :line1
|
668
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
669
|
+
attr_reader :line2
|
670
|
+
# ZIP or postal code.
|
671
|
+
attr_reader :postal_code
|
672
|
+
# State, county, province, or region.
|
673
|
+
attr_reader :state
|
674
|
+
end
|
675
|
+
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
676
|
+
attr_reader :country
|
677
|
+
# Owner's email. Values are provided by PayPal directly
|
678
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
679
|
+
attr_reader :payer_email
|
680
|
+
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
681
|
+
attr_reader :payer_id
|
682
|
+
# Owner's full name. Values provided by PayPal directly
|
683
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
684
|
+
attr_reader :payer_name
|
685
|
+
# The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
686
|
+
attr_reader :seller_protection
|
687
|
+
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
688
|
+
# execution. This shipping address will not be updated if the merchant updates the shipping
|
689
|
+
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
690
|
+
attr_reader :shipping
|
691
|
+
# A unique ID generated by PayPal for this transaction.
|
692
|
+
attr_reader :transaction_id
|
693
|
+
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
694
|
+
# execution. This shipping address will not be updated if the merchant updates the shipping
|
695
|
+
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
696
|
+
attr_reader :verified_address
|
697
|
+
# Owner's verified email. Values are verified or provided by PayPal directly
|
698
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
699
|
+
attr_reader :verified_email
|
700
|
+
# Owner's verified full name. Values are verified or provided by PayPal directly
|
701
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
702
|
+
attr_reader :verified_name
|
703
|
+
end
|
704
|
+
|
705
|
+
class Payto < Stripe::StripeObject
|
706
|
+
# Bank-State-Branch number of the bank account.
|
707
|
+
attr_reader :bsb_number
|
708
|
+
# Last four digits of the bank account number.
|
709
|
+
attr_reader :last4
|
710
|
+
# ID of the mandate used to make this payment.
|
711
|
+
attr_reader :mandate
|
712
|
+
# The PayID alias for the bank account.
|
713
|
+
attr_reader :pay_id
|
714
|
+
end
|
715
|
+
|
716
|
+
class Pix < Stripe::StripeObject
|
717
|
+
# Unique transaction id generated by BCB
|
718
|
+
attr_reader :bank_transaction_id
|
719
|
+
end
|
720
|
+
|
721
|
+
class Promptpay < Stripe::StripeObject
|
722
|
+
# Bill reference generated by PromptPay
|
723
|
+
attr_reader :reference
|
724
|
+
end
|
725
|
+
|
726
|
+
class Qris < Stripe::StripeObject; end
|
727
|
+
class Rechnung < Stripe::StripeObject; end
|
728
|
+
|
729
|
+
class RevolutPay < Stripe::StripeObject
|
730
|
+
class Funding < Stripe::StripeObject
|
731
|
+
class Card < Stripe::StripeObject
|
732
|
+
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
733
|
+
attr_reader :brand
|
734
|
+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
735
|
+
attr_reader :brand_product
|
736
|
+
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
737
|
+
attr_reader :country
|
738
|
+
# Two-digit number representing the card's expiration month.
|
739
|
+
attr_reader :exp_month
|
740
|
+
# Four-digit number representing the card's expiration year.
|
741
|
+
attr_reader :exp_year
|
742
|
+
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
743
|
+
attr_reader :funding
|
744
|
+
# The last four digits of the card.
|
745
|
+
attr_reader :last4
|
746
|
+
end
|
747
|
+
# Attribute for field card
|
748
|
+
attr_reader :card
|
749
|
+
# funding type of the underlying payment method.
|
750
|
+
attr_reader :type
|
751
|
+
end
|
752
|
+
# Attribute for field funding
|
753
|
+
attr_reader :funding
|
754
|
+
end
|
755
|
+
|
756
|
+
class SamsungPay < Stripe::StripeObject
|
757
|
+
# A unique identifier for the buyer as determined by the local payment processor.
|
758
|
+
attr_reader :buyer_id
|
759
|
+
end
|
760
|
+
|
761
|
+
class Satispay < Stripe::StripeObject; end
|
762
|
+
|
763
|
+
class SepaCreditTransfer < Stripe::StripeObject
|
764
|
+
# Name of the bank associated with the bank account.
|
765
|
+
attr_reader :bank_name
|
766
|
+
# Bank Identifier Code of the bank associated with the bank account.
|
767
|
+
attr_reader :bic
|
768
|
+
# IBAN of the bank account to transfer funds to.
|
769
|
+
attr_reader :iban
|
770
|
+
end
|
771
|
+
|
772
|
+
class SepaDebit < Stripe::StripeObject
|
773
|
+
# Bank code of bank associated with the bank account.
|
774
|
+
attr_reader :bank_code
|
775
|
+
# Branch code of bank associated with the bank account.
|
776
|
+
attr_reader :branch_code
|
777
|
+
# Two-letter ISO code representing the country the bank account is located in.
|
778
|
+
attr_reader :country
|
779
|
+
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
780
|
+
attr_reader :fingerprint
|
781
|
+
# Last four characters of the IBAN.
|
782
|
+
attr_reader :last4
|
783
|
+
# Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://stripe.com/docs/api/mandates/retrieve).
|
784
|
+
attr_reader :mandate
|
785
|
+
end
|
786
|
+
|
787
|
+
class Shopeepay < Stripe::StripeObject; end
|
788
|
+
|
789
|
+
class Sofort < Stripe::StripeObject
|
790
|
+
# Bank code of bank associated with the bank account.
|
791
|
+
attr_reader :bank_code
|
792
|
+
# Name of the bank associated with the bank account.
|
793
|
+
attr_reader :bank_name
|
794
|
+
# Bank Identifier Code of the bank associated with the bank account.
|
795
|
+
attr_reader :bic
|
796
|
+
# Two-letter ISO code representing the country the bank account is located in.
|
797
|
+
attr_reader :country
|
798
|
+
# The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
799
|
+
attr_reader :generated_sepa_debit
|
800
|
+
# The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
801
|
+
attr_reader :generated_sepa_debit_mandate
|
802
|
+
# Last four characters of the IBAN.
|
803
|
+
attr_reader :iban_last4
|
804
|
+
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
805
|
+
# Can be one of `de`, `en`, `es`, `fr`, `it`, `nl`, or `pl`
|
806
|
+
attr_reader :preferred_language
|
807
|
+
# Owner's verified full name. Values are verified or provided by SOFORT directly
|
808
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
809
|
+
attr_reader :verified_name
|
810
|
+
end
|
811
|
+
|
812
|
+
class StripeAccount < Stripe::StripeObject; end
|
813
|
+
|
814
|
+
class StripeBalance < Stripe::StripeObject
|
815
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
816
|
+
attr_reader :account
|
817
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
818
|
+
attr_reader :source_type
|
819
|
+
end
|
820
|
+
|
821
|
+
class Swish < Stripe::StripeObject
|
822
|
+
# Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer
|
823
|
+
attr_reader :fingerprint
|
824
|
+
# Payer bank reference number for the payment
|
825
|
+
attr_reader :payment_reference
|
826
|
+
# The last four digits of the Swish account phone number
|
827
|
+
attr_reader :verified_phone_last4
|
828
|
+
end
|
829
|
+
|
830
|
+
class Twint < Stripe::StripeObject; end
|
831
|
+
|
832
|
+
class UsBankAccount < Stripe::StripeObject
|
833
|
+
# Account holder type: individual or company.
|
834
|
+
attr_reader :account_holder_type
|
835
|
+
# Account type: checkings or savings. Defaults to checking if omitted.
|
836
|
+
attr_reader :account_type
|
837
|
+
# Name of the bank associated with the bank account.
|
838
|
+
attr_reader :bank_name
|
839
|
+
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
840
|
+
attr_reader :fingerprint
|
841
|
+
# Last four digits of the bank account number.
|
842
|
+
attr_reader :last4
|
843
|
+
# ID of the mandate used to make this payment.
|
844
|
+
attr_reader :mandate
|
845
|
+
# Reference number to locate ACH payments with customer's bank.
|
846
|
+
attr_reader :payment_reference
|
847
|
+
# Routing number of the bank account.
|
848
|
+
attr_reader :routing_number
|
849
|
+
end
|
850
|
+
|
851
|
+
class Wechat < Stripe::StripeObject; end
|
852
|
+
|
853
|
+
class WechatPay < Stripe::StripeObject
|
854
|
+
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
855
|
+
attr_reader :fingerprint
|
856
|
+
# Transaction ID of this particular WeChat Pay transaction.
|
857
|
+
attr_reader :transaction_id
|
858
|
+
end
|
859
|
+
|
860
|
+
class Zip < Stripe::StripeObject; end
|
861
|
+
# Attribute for field ach_credit_transfer
|
862
|
+
attr_reader :ach_credit_transfer
|
863
|
+
# Attribute for field ach_debit
|
864
|
+
attr_reader :ach_debit
|
865
|
+
# Attribute for field acss_debit
|
866
|
+
attr_reader :acss_debit
|
867
|
+
# Attribute for field affirm
|
868
|
+
attr_reader :affirm
|
869
|
+
# Attribute for field afterpay_clearpay
|
870
|
+
attr_reader :afterpay_clearpay
|
871
|
+
# Attribute for field alipay
|
872
|
+
attr_reader :alipay
|
873
|
+
# Attribute for field alma
|
874
|
+
attr_reader :alma
|
875
|
+
# Attribute for field amazon_pay
|
876
|
+
attr_reader :amazon_pay
|
877
|
+
# Attribute for field au_becs_debit
|
878
|
+
attr_reader :au_becs_debit
|
879
|
+
# Attribute for field bacs_debit
|
880
|
+
attr_reader :bacs_debit
|
881
|
+
# Attribute for field bancontact
|
882
|
+
attr_reader :bancontact
|
883
|
+
# Attribute for field billie
|
884
|
+
attr_reader :billie
|
885
|
+
# The billing details associated with the method of payment.
|
886
|
+
attr_reader :billing_details
|
887
|
+
# Attribute for field blik
|
888
|
+
attr_reader :blik
|
889
|
+
# Attribute for field boleto
|
890
|
+
attr_reader :boleto
|
891
|
+
# Details of the card used for this payment attempt.
|
892
|
+
attr_reader :card
|
893
|
+
# Attribute for field card_present
|
894
|
+
attr_reader :card_present
|
895
|
+
# Attribute for field cashapp
|
896
|
+
attr_reader :cashapp
|
897
|
+
# Custom Payment Methods represent Payment Method types not modeled directly in
|
898
|
+
# the Stripe API. This resource consists of details about the custom payment method
|
899
|
+
# used for this payment attempt.
|
900
|
+
attr_reader :custom
|
901
|
+
# Attribute for field customer_balance
|
902
|
+
attr_reader :customer_balance
|
903
|
+
# Attribute for field eps
|
904
|
+
attr_reader :eps
|
905
|
+
# Attribute for field fpx
|
906
|
+
attr_reader :fpx
|
907
|
+
# Attribute for field giropay
|
908
|
+
attr_reader :giropay
|
909
|
+
# Attribute for field gopay
|
910
|
+
attr_reader :gopay
|
911
|
+
# Attribute for field grabpay
|
912
|
+
attr_reader :grabpay
|
913
|
+
# Attribute for field id_bank_transfer
|
914
|
+
attr_reader :id_bank_transfer
|
915
|
+
# Attribute for field ideal
|
916
|
+
attr_reader :ideal
|
917
|
+
# Attribute for field interac_present
|
918
|
+
attr_reader :interac_present
|
919
|
+
# Attribute for field kakao_pay
|
920
|
+
attr_reader :kakao_pay
|
921
|
+
# Attribute for field klarna
|
922
|
+
attr_reader :klarna
|
923
|
+
# Attribute for field konbini
|
924
|
+
attr_reader :konbini
|
925
|
+
# Attribute for field kr_card
|
926
|
+
attr_reader :kr_card
|
927
|
+
# Attribute for field link
|
928
|
+
attr_reader :link
|
929
|
+
# Attribute for field mb_way
|
930
|
+
attr_reader :mb_way
|
931
|
+
# Attribute for field mobilepay
|
932
|
+
attr_reader :mobilepay
|
933
|
+
# Attribute for field multibanco
|
934
|
+
attr_reader :multibanco
|
935
|
+
# Attribute for field naver_pay
|
936
|
+
attr_reader :naver_pay
|
937
|
+
# Attribute for field nz_bank_account
|
938
|
+
attr_reader :nz_bank_account
|
939
|
+
# Attribute for field oxxo
|
940
|
+
attr_reader :oxxo
|
941
|
+
# Attribute for field p24
|
942
|
+
attr_reader :p24
|
943
|
+
# Attribute for field pay_by_bank
|
944
|
+
attr_reader :pay_by_bank
|
945
|
+
# Attribute for field payco
|
946
|
+
attr_reader :payco
|
947
|
+
# ID of the Stripe PaymentMethod used to make this payment.
|
948
|
+
attr_reader :payment_method
|
949
|
+
# Attribute for field paynow
|
950
|
+
attr_reader :paynow
|
951
|
+
# Attribute for field paypal
|
952
|
+
attr_reader :paypal
|
953
|
+
# Attribute for field payto
|
954
|
+
attr_reader :payto
|
955
|
+
# Attribute for field pix
|
956
|
+
attr_reader :pix
|
957
|
+
# Attribute for field promptpay
|
958
|
+
attr_reader :promptpay
|
959
|
+
# Attribute for field qris
|
960
|
+
attr_reader :qris
|
961
|
+
# Attribute for field rechnung
|
962
|
+
attr_reader :rechnung
|
963
|
+
# Attribute for field revolut_pay
|
964
|
+
attr_reader :revolut_pay
|
965
|
+
# Attribute for field samsung_pay
|
966
|
+
attr_reader :samsung_pay
|
967
|
+
# Attribute for field satispay
|
968
|
+
attr_reader :satispay
|
969
|
+
# Attribute for field sepa_credit_transfer
|
970
|
+
attr_reader :sepa_credit_transfer
|
971
|
+
# Attribute for field sepa_debit
|
972
|
+
attr_reader :sepa_debit
|
973
|
+
# Attribute for field shopeepay
|
974
|
+
attr_reader :shopeepay
|
975
|
+
# Attribute for field sofort
|
976
|
+
attr_reader :sofort
|
977
|
+
# Attribute for field stripe_account
|
978
|
+
attr_reader :stripe_account
|
979
|
+
# Attribute for field stripe_balance
|
980
|
+
attr_reader :stripe_balance
|
981
|
+
# Attribute for field swish
|
982
|
+
attr_reader :swish
|
983
|
+
# Attribute for field twint
|
984
|
+
attr_reader :twint
|
985
|
+
# The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://stripe.com/docs/api/payment_methods/object#payment_method_object-type) for the full list of possible types.
|
986
|
+
# An additional hash is included on `payment_method_details` with a name matching this value.
|
987
|
+
# It contains information specific to the payment method.
|
988
|
+
attr_reader :type
|
989
|
+
# Attribute for field us_bank_account
|
990
|
+
attr_reader :us_bank_account
|
991
|
+
# Attribute for field wechat
|
992
|
+
attr_reader :wechat
|
993
|
+
# Attribute for field wechat_pay
|
994
|
+
attr_reader :wechat_pay
|
995
|
+
# Attribute for field zip
|
996
|
+
attr_reader :zip
|
997
|
+
end
|
998
|
+
|
999
|
+
class ShippingDetails < Stripe::StripeObject
|
1000
|
+
class Address < Stripe::StripeObject
|
1001
|
+
# City, district, suburb, town, or village.
|
1002
|
+
attr_reader :city
|
1003
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1004
|
+
attr_reader :country
|
1005
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
1006
|
+
attr_reader :line1
|
1007
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1008
|
+
attr_reader :line2
|
1009
|
+
# ZIP or postal code.
|
1010
|
+
attr_reader :postal_code
|
1011
|
+
# State, county, province, or region.
|
1012
|
+
attr_reader :state
|
1013
|
+
end
|
1014
|
+
# A representation of a physical address.
|
1015
|
+
attr_reader :address
|
1016
|
+
# The shipping recipient's name.
|
1017
|
+
attr_reader :name
|
1018
|
+
# The shipping recipient's phone number.
|
1019
|
+
attr_reader :phone
|
1020
|
+
end
|
1021
|
+
|
1022
|
+
class ListParams < Stripe::RequestParams
|
1023
|
+
# Specifies which fields in the response should be expanded.
|
1024
|
+
attr_accessor :expand
|
1025
|
+
# The ID of the Payment Record.
|
1026
|
+
attr_accessor :payment_record
|
1027
|
+
|
1028
|
+
def initialize(expand: nil, payment_record: nil)
|
1029
|
+
@expand = expand
|
1030
|
+
@payment_record = payment_record
|
1031
|
+
end
|
1032
|
+
end
|
1033
|
+
# A representation of an amount of money, consisting of an amount and a currency.
|
1034
|
+
attr_reader :amount_canceled
|
1035
|
+
# A representation of an amount of money, consisting of an amount and a currency.
|
1036
|
+
attr_reader :amount_failed
|
1037
|
+
# A representation of an amount of money, consisting of an amount and a currency.
|
1038
|
+
attr_reader :amount_guaranteed
|
1039
|
+
# A representation of an amount of money, consisting of an amount and a currency.
|
1040
|
+
attr_reader :amount_requested
|
1041
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
1042
|
+
attr_reader :created
|
1043
|
+
# Customer information for this payment.
|
1044
|
+
attr_reader :customer_details
|
1045
|
+
# Indicates whether the customer was present in your checkout flow during this payment.
|
1046
|
+
attr_reader :customer_presence
|
1047
|
+
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1048
|
+
attr_reader :description
|
1049
|
+
# Unique identifier for the object.
|
1050
|
+
attr_reader :id
|
1051
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
1052
|
+
attr_reader :livemode
|
1053
|
+
# 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.
|
1054
|
+
attr_reader :metadata
|
1055
|
+
# String representing the object's type. Objects of the same type share the same value.
|
1056
|
+
attr_reader :object
|
1057
|
+
# Information about the Payment Method debited for this payment.
|
1058
|
+
attr_reader :payment_method_details
|
1059
|
+
# ID of the Payment Record this Payment Attempt Record belongs to.
|
1060
|
+
attr_reader :payment_record
|
1061
|
+
# An opaque string for manual reconciliation of this payment, for example a check number or a payment processor ID.
|
1062
|
+
attr_reader :payment_reference
|
1063
|
+
# Indicates who reported the payment.
|
1064
|
+
attr_reader :reported_by
|
1065
|
+
# Shipping information for this payment.
|
1066
|
+
attr_reader :shipping_details
|
1067
|
+
|
1068
|
+
# List all the Payment Attempt Records attached to the specified Payment Record.
|
1069
|
+
def self.list(params = {}, opts = {})
|
1070
|
+
request_stripe_object(
|
1071
|
+
method: :get,
|
1072
|
+
path: "/v1/payment_attempt_records",
|
1073
|
+
params: params,
|
1074
|
+
opts: opts
|
1075
|
+
)
|
1076
|
+
end
|
1077
|
+
end
|
1078
|
+
end
|