diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f857e7709..295e00eb99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,43 @@ # Changelog +## 17.3.0 - 2024-10-29 +* [#2204](https://github.com/stripe/stripe-node/pull/2204) Update generated code + * Add support for new resource `V2.EventDestinations` + * Add support for `create`, `retrieve`, `update`, `list`, `del`, `disable`, `enable` and `ping` methods on resource `V2.EventDestinations` + * Add support for `submit_card` test helper method on resource `Issuing.Card` + * Add support for `groups` on `AccountCreateParams`, `AccountUpdateParams`, and `Account` + * Add support for `alma_payments`, `kakao_pay_payments`, `kr_card_payments`, `naver_pay_payments`, `payco_payments`, and `samsung_pay_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities` + * Add support for `disable_stripe_user_authentication` on `AccountSession.components.account_management.features`, `AccountSession.components.account_onboarding.features`, `AccountSession.components.balances.features`, `AccountSession.components.notification_banner.features`, `AccountSession.components.payouts.features`, `AccountSessionCreateParams.components.account_management.features`, `AccountSessionCreateParams.components.account_onboarding.features`, `AccountSessionCreateParams.components.balances.features`, `AccountSessionCreateParams.components.notification_banner.features`, and `AccountSessionCreateParams.components.payouts.features` + * Add support for `schedule_at_period_end` on `BillingPortal.Configuration.features.subscription_update`, `BillingPortal.ConfigurationCreateParams.features.subscription_update`, and `BillingPortal.ConfigurationUpdateParams.features.subscription_update` + * Change `BillingPortal.ConfigurationCreateParams.business_profile` and `Refund.next_action.display_details` to be optional + * Add support for `alma` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethod`, `Refund.destination_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data` + * Add support for `kakao_pay` and `kr_card` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `Mandate.payment_method_details`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupAttempt.payment_method_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data` + * Add support for `naver_pay` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethodUpdateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data` + * Add support for `payco` and `samsung_pay` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data` + * Add support for new values `alma`, `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on enums `Checkout.SessionCreateParams.payment_method_types[]`, `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type` + * Add support for new values `by_tin`, `ma_vat`, `md_vat`, `tz_vat`, `uz_tin`, and `uz_vat` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, `Tax.Transaction.customer_details.tax_ids[].type`, and `TaxId.type` + * Add support for new values `alma`, `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on enums `ConfirmationTokenCreateParams.testHelpers.payment_method_data.type`, `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type` + * Add support for new values `alma`, `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type` + * Add support for new value `auto` on enum `CustomerUpdateParams.tax.validate_location` + * Add support for new values `by_tin`, `ma_vat`, `md_vat`, `tz_vat`, `uz_tin`, and `uz_vat` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `Tax.CalculationCreateParams.customer_details.tax_ids[].type`, and `TaxIdCreateParams.type` + * Add support for `enhanced_evidence` on `Dispute.evidence` and `DisputeUpdateParams.evidence` + * Add support for `enhanced_eligibility_types` on `Dispute` + * Add support for `enhanced_eligibility` on `Dispute.evidence_details` + * Add support for new values `issuing_transaction.purchase_details_receipt_updated` and `refund.failed` on enum `Event.type` + * Add support for `metadata` on `Forwarding.RequestCreateParams` and `Forwarding.Request` + * Add support for `automatically_finalizes_at` on `InvoiceCreateParams` and `InvoiceUpdateParams` + * Add support for new values `jp_credit_transfer`, `kakao_pay`, `kr_card`, `naver_pay`, and `payco` on enums `Invoice.payment_settings.payment_method_types[]`, `InvoiceCreateParams.payment_settings.payment_method_types[]`, `InvoiceUpdateParams.payment_settings.payment_method_types[]`, `Subscription.payment_settings.payment_method_types[]`, `SubscriptionCreateParams.payment_settings.payment_method_types[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_types[]` + * Add support for new value `retail_delivery_fee` on enums `InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type`, `InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type`, `Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type`, `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`, `Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type`, `Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type`, `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type` + * Add support for new value `alma` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]` + * Add support for `amazon_pay` on `PaymentMethodDomain` + * Change type of `Refund.next_action.display_details` from `RefundNextActionDisplayDetails | null` to `RefundNextActionDisplayDetails` + * Add support for `flat_amount` and `rate_type` on `Tax.Calculation.tax_breakdown[].tax_rate_details` and `TaxRate` + * Add support for `by`, `cr`, `ec`, `ma`, `md`, `rs`, `ru`, `tz`, and `uz` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options` + * Add support for new value `state_retail_delivery_fee` on enums `Tax.Registration.country_options.us.type` and `Tax.RegistrationCreateParams.country_options.us.type` + * Add support for `pln` on `Terminal.Configuration.tipping`, `Terminal.ConfigurationCreateParams.tipping`, and `Terminal.ConfigurationUpdateParams.tipping` + * Add support for new values `issuing_transaction.purchase_details_receipt_updated` and `refund.failed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` + * Add support for new value `2024-10-28.acacia` on enum `WebhookEndpointCreateParams.api_version` + ## 17.3.0-beta.1 - 2024-10-18 * [#2206](https://github.com/stripe/stripe-node/pull/2206) Update generated code for beta * Add support for `alma_payments`, `gopay_payments`, `kakao_pay_payments`, `kr_card_payments`, `naver_pay_payments`, `payco_payments`, `qris_payments`, `samsung_pay_payments`, `shopeepay_payments`, `treasury_evolve`, `treasury_fifth_third`, and `treasury_goldman_sachs` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities` @@ -25,6 +63,12 @@ * Add support for `bank` on `Treasury.FinancialAccountCreateParams.features.financial_addresses.aba`, `Treasury.FinancialAccountFeatures.financial_addresses.aba`, `Treasury.FinancialAccountUpdateFeaturesParams.financial_addresses.aba`, and `Treasury.FinancialAccountUpdateParams.features.financial_addresses.aba` * [#2209](https://github.com/stripe/stripe-node/pull/2209) Ramya/merge node beta +## 17.2.1 - 2024-10-18 +* [#2210](https://github.com/stripe/stripe-node/pull/2210) update object tags for meter-related classes + + - fixes a bug where the `object` property of the `MeterEvent`, `MeterEventAdjustment`, and `MeterEventSession` didn't match the server. +* [#2208](https://github.com/stripe/stripe-node/pull/2208) Update signature verification docs link + ## 17.2.0 - 2024-10-09 * [#2201](https://github.com/stripe/stripe-node/pull/2201) Add fetchRelatedObject to V2 Events if needed * `fetchRelatedObject` is added to events retrieved using `stripe.v2.core.events` and can be used to easily fetch the Stripe object related to a retrieved event diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 622f807666..c626f7dd81 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1314 \ No newline at end of file +v1319 \ No newline at end of file diff --git a/src/apiVersion.ts b/src/apiVersion.ts index c59d0bde0f..3ca0bbd17f 100644 --- a/src/apiVersion.ts +++ b/src/apiVersion.ts @@ -1,3 +1,3 @@ // File generated from our OpenAPI spec -export const ApiVersion = '2024-09-30.acacia'; +export const ApiVersion = '2024-10-28.acacia'; diff --git a/src/resources/PaymentIntents.ts b/src/resources/PaymentIntents.ts index ec8183abe5..4612d39d78 100644 --- a/src/resources/PaymentIntents.ts +++ b/src/resources/PaymentIntents.ts @@ -46,6 +46,10 @@ export const PaymentIntents = StripeResource.extend({ fullPath: '/v1/payment_intents/search', methodType: 'search', }), + triggerAction: stripeMethod({ + method: 'POST', + fullPath: '/v1/test/payment_intents/{intent}/trigger_action', + }), verifyMicrodeposits: stripeMethod({ method: 'POST', fullPath: '/v1/payment_intents/{intent}/verify_microdeposits', diff --git a/src/resources/V2/Core.ts b/src/resources/V2/Core.ts index 4f13f0cc90..10210e8ed1 100644 --- a/src/resources/V2/Core.ts +++ b/src/resources/V2/Core.ts @@ -1,10 +1,12 @@ // File generated from our OpenAPI spec import {StripeResource} from '../../StripeResource.js'; +import {EventDestinations} from './Core/EventDestinations.js'; import {Events} from './Core/Events.js'; export const Core = StripeResource.extend({ constructor: function(...args: any) { StripeResource.apply(this, args); + this.eventDestinations = new EventDestinations(...args); this.events = new Events(...args); }, }); diff --git a/src/resources/V2/Core/EventDestinations.ts b/src/resources/V2/Core/EventDestinations.ts new file mode 100644 index 0000000000..b857691e05 --- /dev/null +++ b/src/resources/V2/Core/EventDestinations.ts @@ -0,0 +1,39 @@ +// File generated from our OpenAPI spec + +import {StripeResource} from '../../../StripeResource.js'; +const stripeMethod = StripeResource.method; +export const EventDestinations = StripeResource.extend({ + create: stripeMethod({ + method: 'POST', + fullPath: '/v2/core/event_destinations', + }), + retrieve: stripeMethod({ + method: 'GET', + fullPath: '/v2/core/event_destinations/{id}', + }), + update: stripeMethod({ + method: 'POST', + fullPath: '/v2/core/event_destinations/{id}', + }), + list: stripeMethod({ + method: 'GET', + fullPath: '/v2/core/event_destinations', + methodType: 'list', + }), + del: stripeMethod({ + method: 'DELETE', + fullPath: '/v2/core/event_destinations/{id}', + }), + disable: stripeMethod({ + method: 'POST', + fullPath: '/v2/core/event_destinations/{id}/disable', + }), + enable: stripeMethod({ + method: 'POST', + fullPath: '/v2/core/event_destinations/{id}/enable', + }), + ping: stripeMethod({ + method: 'POST', + fullPath: '/v2/core/event_destinations/{id}/ping', + }), +}); diff --git a/test/resources/generated_examples_test.spec.js b/test/resources/generated_examples_test.spec.js index 21547433f6..323e17b183 100644 --- a/test/resources/generated_examples_test.spec.js +++ b/test/resources/generated_examples_test.spec.js @@ -176,7 +176,7 @@ describe('Generated tests', function() { method: 'GET', path: '/v1/accounts/acc_123', response: - '{"business_profile":{"annual_revenue":{"amount":1413853096,"currency":"currency","fiscal_year_end":"fiscal_year_end"},"estimated_worker_count":884794319,"mcc":"mcc","monthly_estimated_revenue":{"amount":1413853096,"currency":"currency"},"name":"name","product_description":"product_description","support_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"support_email":"support_email","support_phone":"support_phone","support_url":"support_url","url":"url"},"business_type":"government_entity","capabilities":{"acss_debit_payments":"inactive","affirm_payments":"pending","afterpay_clearpay_payments":"inactive","alma_payments":"pending","amazon_pay_payments":"inactive","au_becs_debit_payments":"active","bacs_debit_payments":"active","bancontact_payments":"inactive","bank_transfer_payments":"pending","blik_payments":"inactive","boleto_payments":"inactive","card_issuing":"active","card_payments":"active","cartes_bancaires_payments":"active","cashapp_payments":"active","eps_payments":"inactive","fpx_payments":"active","gb_bank_transfer_payments":"pending","giropay_payments":"active","gopay_payments":"active","grabpay_payments":"pending","ideal_payments":"inactive","india_international_payments":"inactive","jcb_payments":"inactive","jp_bank_transfer_payments":"pending","kakao_pay_payments":"active","klarna_payments":"active","konbini_payments":"active","kr_card_payments":"inactive","legacy_payments":"active","link_payments":"inactive","mb_way_payments":"active","mobilepay_payments":"pending","multibanco_payments":"inactive","mx_bank_transfer_payments":"pending","naver_pay_payments":"active","oxxo_payments":"pending","p24_payments":"inactive","payco_payments":"inactive","paynow_payments":"active","paypal_payments":"inactive","payto_payments":"pending","promptpay_payments":"active","qris_payments":"pending","rechnung_payments":"inactive","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","shopeepay_payments":"active","sofort_payments":"active","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","treasury_evolve":"inactive","treasury_fifth_third":"inactive","treasury_goldman_sachs":"active","twint_payments":"inactive","us_bank_account_ach_payments":"pending","us_bank_transfer_payments":"pending","zip_payments":"pending"},"charges_enabled":true,"company":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"directors_provided":true,"executives_provided":true,"export_license_id":"export_license_id","export_purpose_code":"export_purpose_code","name":"name","name_kana":"name_kana","name_kanji":"name_kanji","owners_provided":true,"ownership_declaration":{"date":"3076014","ip":"ip","user_agent":"user_agent"},"phone":"phone","structure":"single_member_llc","tax_id_provided":true,"tax_id_registrar":"tax_id_registrar","vat_id_provided":true,"verification":{"document":{"back":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"}}}},"controller":{"application":{"loss_liable":true,"onboarding_owner":true,"pricing_controls":true},"dashboard":{"type":"express"},"fees":{"payer":"account"},"is_controller":true,"losses":{"payments":"stripe"},"requirement_collection":"application","stripe_dashboard":{"type":"express"},"type":"account"},"country":"country","created":"1028554472","default_currency":"default_currency","details_submitted":true,"email":"email","external_accounts":null,"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":"270965154","currently_due":["currently_due"],"disabled_reason":"disabled_reason","errors":[{"code":"verification_failed_residential_address","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"groups":{"payments_pricing":"payments_pricing"},"id":"obj_123","individual":{"account":"account","additional_tos_acceptances":{"account":{"date":"3076014","ip":"ip","user_agent":"user_agent"}},"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"created":"1028554472","dob":{"day":99228,"month":104080000,"year":3704893},"email":"email","first_name":"first_name","first_name_kana":"first_name_kana","first_name_kanji":"first_name_kanji","full_name_aliases":["full_name_aliases"],"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"currently_due":["currently_due"],"errors":[{"code":"verification_failed_residential_address","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"gender":"gender","id":"obj_123","id_number_provided":true,"id_number_secondary_provided":true,"last_name":"last_name","last_name_kana":"last_name_kana","last_name_kanji":"last_name_kanji","maiden_name":"maiden_name","metadata":{"undefined":"metadata"},"nationality":"nationality","object":"person","phone":"phone","political_exposure":"none","registered_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"relationship":{"director":true,"executive":true,"legal_guardian":true,"owner":true,"percent_ownership":760989685,"representative":true,"title":"title"},"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"currently_due":["currently_due"],"errors":[{"code":"verification_failed_residential_address","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"ssn_last_4_provided":true,"verification":{"additional_document":{"back":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"}},"details":"details","details_code":"details_code","document":{"back":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"}},"status":"status"}},"metadata":{"undefined":"metadata"},"object":"account","payouts_enabled":true,"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":"270965154","currently_due":["currently_due"],"disabled_reason":"disabled_reason","errors":[{"code":"verification_failed_residential_address","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"risk_controls":{"charges":{"pause_requested":true},"payouts":{"pause_requested":true}},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_number"},"branding":{"icon":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"},"logo":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"},"primary_color":"primary_color","secondary_color":"secondary_color"},"capital":{"payout_destination":{"undefined":"payout_destination"},"payout_destination_selector":{"undefined":["payout_destination_selector"]}},"card_issuing":{"tos_acceptance":{"date":"3076014","ip":"ip","user_agent":"user_agent"}},"card_payments":{"decline_on":{"avs_failure":true,"cvc_failure":true},"statement_descriptor_prefix":"statement_descriptor_prefix","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"dashboard":{"display_name":"display_name","timezone":"timezone"},"invoices":{"default_account_tax_ids":[{"country":"country","created":"1028554472","customer":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"balance":339185956,"cash_balance":{"available":{"undefined":733902135},"customer":"customer","livemode":true,"object":"cash_balance","settings":{"reconciliation_mode":"manual","using_merchant_default":true}},"created":"1028554472","currency":"currency","default_source":null,"delinquent":true,"description":"description","discount":{"checkout_session":"checkout_session","coupon":null,"customer":null,"end":"100571","id":"obj_123","invoice":"invoice","invoice_item":"invoice_item","object":"discount","promotion_code":null,"start":"109757538","subscription":"subscription","subscription_item":"subscription_item"},"email":"email","id":"obj_123","invoice_credit_balance":{"undefined":1267696360},"invoice_prefix":"invoice_prefix","invoice_settings":{"custom_fields":[{"name":"name","value":"value"}],"default_payment_method":{"acss_debit":{"bank_name":"bank_name","fingerprint":"fingerprint","institution_number":"institution_number","last4":"last4","transit_number":"transit_number"},"affirm":{},"afterpay_clearpay":{},"alipay":{},"allow_redisplay":"unspecified","alma":{},"amazon_pay":{},"au_becs_debit":{"bsb_number":"bsb_number","fingerprint":"fingerprint","last4":"last4"},"bacs_debit":{"fingerprint":"fingerprint","last4":"last4","sort_code":"sort_code"},"bancontact":{},"billing_details":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","phone":"phone"},"blik":{},"boleto":{"tax_id":"tax_id"},"card":{"brand":"brand","checks":{"address_line1_check":"address_line1_check","address_postal_code_check":"address_postal_code_check","cvc_check":"cvc_check"},"country":"country","description":"description","display_brand":"display_brand","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","generated_from":{"charge":"charge","payment_method_details":{"card_present":{"amount_authorized":1406151710,"brand":"brand","brand_product":"brand_product","capture_before":"2079401320","cardholder_name":"cardholder_name","country":"country","description":"description","emv_auth_data":"emv_auth_data","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","generated_card":"generated_card","iin":"iin","incremental_authorization_supported":true,"issuer":"issuer","last4":"last4","network":"network","network_transaction_id":"network_transaction_id","offline":{"stored_at":"1692436047","type":"deferred"},"overcapture_supported":true,"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2","receipt":{"account_type":"checking","application_cryptogram":"application_cryptogram","application_preferred_name":"application_preferred_name","authorization_code":"authorization_code","authorization_response_code":"authorization_response_code","cardholder_verification_method":"cardholder_verification_method","dedicated_file_name":"dedicated_file_name","terminal_verification_results":"terminal_verification_results","transaction_status_information":"transaction_status_information"},"wallet":{"type":"samsung_pay"}},"type":"type"},"setup_attempt":null},"iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"three_d_secure_usage":{"supported":true},"wallet":{"amex_express_checkout":{},"apple_pay":{},"dynamic_last4":"dynamic_last4","google_pay":{},"link":{},"masterpass":{"billing_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","shipping_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"}},"samsung_pay":{},"type":"link","visa_checkout":{"billing_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","shipping_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"}}}},"card_present":{"brand":"brand","brand_product":"brand_product","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"offline":{"stored_at":"1692436047","type":"deferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2","wallet":{"type":"samsung_pay"}},"cashapp":{"buyer_id":"buyer_id","cashtag":"cashtag"},"created":"1028554472","customer":null,"customer_balance":{},"eps":{"bank":"btv_vier_lander_bank"},"fpx":{"account_holder_type":"individual","bank":"bsn"},"giropay":{},"gopay":{},"grabpay":{},"id":"obj_123","ideal":{"bank":"sns_bank","bic":"BUNQNL2A"},"interac_present":{"brand":"brand","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2"},"kakao_pay":{},"klarna":{"dob":{"day":99228,"month":104080000,"year":3704893}},"konbini":{},"kr_card":{"brand":"lotte","last4":"last4"},"link":{"email":"email","persistent_token":"persistent_token"},"livemode":true,"mb_way":{},"metadata":{"undefined":"metadata"},"mobilepay":{},"multibanco":{},"naver_pay":{"funding":"points"},"object":"payment_method","oxxo":{},"p24":{"bank":"noble_pay"},"payco":{},"paynow":{},"paypal":{"fingerprint":"fingerprint","payer_email":"payer_email","payer_id":"payer_id","verified_email":"verified_email"},"payto":{"bsb_number":"bsb_number","last4":"last4","pay_id":"pay_id"},"pix":{},"promptpay":{},"qris":{},"radar_options":{"session":"session"},"rechnung":{"dob":{"day":99228,"month":104080000,"year":3704893}},"revolut_pay":{},"samsung_pay":{},"sepa_debit":{"bank_code":"bank_code","branch_code":"branch_code","country":"country","fingerprint":"fingerprint","generated_from":{"charge":null,"setup_attempt":null},"last4":"last4"},"shopeepay":{},"sofort":{"country":"country"},"swish":{},"twint":{},"type":"acss_debit","us_bank_account":{"account_holder_type":"individual","account_number":"account_number","account_type":"checking","bank_name":"bank_name","financial_connections_account":"financial_connections_account","fingerprint":"fingerprint","last4":"last4","networks":{"preferred":"preferred","supported":["ach"]},"routing_number":"routing_number","status_details":{"blocked":{"network_code":"R29","reason":"bank_account_unusable"}}},"wechat_pay":{},"zip":{}},"footer":"footer","rendering_options":{"amount_tax_display":"amount_tax_display","template":"template"}},"livemode":true,"metadata":{"undefined":"metadata"},"name":"name","next_invoice_sequence":1356358751,"object":"customer","phone":"phone","preferred_locales":["preferred_locales"],"shipping":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"carrier":"carrier","name":"name","phone":"phone","tracking_number":"tracking_number"},"sources":null,"subscriptions":null,"tax":{"automatic_tax":"unrecognized_location","ip_address":"ip_address","location":{"country":"country","source":"ip_address","state":"state"}},"tax_exempt":"reverse","tax_ids":null,"test_clock":{"created":"1028554472","deletes_after":"73213179","frozen_time":"2033541876","id":"obj_123","livemode":true,"name":"name","object":"test_helpers.test_clock","status":"advancing","status_details":{"advancing":{"target_frozen_time":"833971362"}}}},"id":"obj_123","livemode":true,"object":"tax_id","owner":{"account":{"business_profile":{"annual_revenue":{"amount":1413853096,"currency":"currency","fiscal_year_end":"fiscal_year_end"},"estimated_worker_count":884794319,"mcc":"mcc","monthly_estimated_revenue":{"amount":1413853096,"currency":"currency"},"name":"name","product_description":"product_description","support_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"support_email":"support_email","support_phone":"support_phone","support_url":"support_url","url":"url"},"business_type":"government_entity","capabilities":{"acss_debit_payments":"inactive","affirm_payments":"pending","afterpay_clearpay_payments":"inactive","alma_payments":"pending","amazon_pay_payments":"inactive","au_becs_debit_payments":"active","bacs_debit_payments":"active","bancontact_payments":"inactive","bank_transfer_payments":"pending","blik_payments":"inactive","boleto_payments":"inactive","card_issuing":"active","card_payments":"active","cartes_bancaires_payments":"active","cashapp_payments":"active","eps_payments":"inactive","fpx_payments":"active","gb_bank_transfer_payments":"pending","giropay_payments":"active","gopay_payments":"active","grabpay_payments":"pending","ideal_payments":"inactive","india_international_payments":"inactive","jcb_payments":"inactive","jp_bank_transfer_payments":"pending","kakao_pay_payments":"active","klarna_payments":"active","konbini_payments":"active","kr_card_payments":"inactive","legacy_payments":"active","link_payments":"inactive","mb_way_payments":"active","mobilepay_payments":"pending","multibanco_payments":"inactive","mx_bank_transfer_payments":"pending","naver_pay_payments":"active","oxxo_payments":"pending","p24_payments":"inactive","payco_payments":"inactive","paynow_payments":"active","paypal_payments":"inactive","payto_payments":"pending","promptpay_payments":"active","qris_payments":"pending","rechnung_payments":"inactive","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","shopeepay_payments":"active","sofort_payments":"active","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","treasury_evolve":"inactive","treasury_fifth_third":"inactive","treasury_goldman_sachs":"active","twint_payments":"inactive","us_bank_account_ach_payments":"pending","us_bank_transfer_payments":"pending","zip_payments":"pending"},"charges_enabled":true,"company":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"directors_provided":true,"executives_provided":true,"export_license_id":"export_license_id","export_purpose_code":"export_purpose_code","name":"name","name_kana":"name_kana","name_kanji":"name_kanji","owners_provided":true,"ownership_declaration":{"date":"3076014","ip":"ip","user_agent":"user_agent"},"phone":"phone","structure":"single_member_llc","tax_id_provided":true,"tax_id_registrar":"tax_id_registrar","vat_id_provided":true,"verification":{"document":{"back":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"}}}},"controller":{"application":{"loss_liable":true,"onboarding_owner":true,"pricing_controls":true},"dashboard":{"type":"express"},"fees":{"payer":"account"},"is_controller":true,"losses":{"payments":"stripe"},"requirement_collection":"application","stripe_dashboard":{"type":"express"},"type":"account"},"country":"country","created":"1028554472","default_currency":"default_currency","details_submitted":true,"email":"email","external_accounts":null,"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":"270965154","currently_due":["currently_due"],"disabled_reason":"disabled_reason","errors":[{"code":"verification_failed_residential_address","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"groups":{"payments_pricing":"payments_pricing"},"id":"obj_123","individual":{"account":"account","additional_tos_acceptances":{"account":{"date":"3076014","ip":"ip","user_agent":"user_agent"}},"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"created":"1028554472","dob":{"day":99228,"month":104080000,"year":3704893},"email":"email","first_name":"first_name","first_name_kana":"first_name_kana","first_name_kanji":"first_name_kanji","full_name_aliases":["full_name_aliases"],"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"currently_due":["currently_due"],"errors":[{"code":"verification_failed_residential_address","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"gender":"gender","id":"obj_123","id_number_provided":true,"id_number_secondary_provided":true,"last_name":"last_name","last_name_kana":"last_name_kana","last_name_kanji":"last_name_kanji","maiden_name":"maiden_name","metadata":{"undefined":"metadata"},"nationality":"nationality","object":"person","phone":"phone","political_exposure":"none","registered_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"relationship":{"director":true,"executive":true,"legal_guardian":true,"owner":true,"percent_ownership":760989685,"representative":true,"title":"title"},"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"currently_due":["currently_due"],"errors":[{"code":"verification_failed_residential_address","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"ssn_last_4_provided":true,"verification":{"additional_document":{"back":null,"details":"details","details_code":"details_code","front":null},"details":"details","details_code":"details_code","document":{"back":null,"details":"details","details_code":"details_code","front":null},"status":"status"}},"metadata":{"undefined":"metadata"},"object":"account","payouts_enabled":true,"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":"270965154","currently_due":["currently_due"],"disabled_reason":"disabled_reason","errors":[{"code":"verification_failed_residential_address","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"risk_controls":{"charges":{"pause_requested":true},"payouts":{"pause_requested":true}},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_number"},"branding":{"icon":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"},"logo":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"},"primary_color":"primary_color","secondary_color":"secondary_color"},"capital":{"payout_destination":{"undefined":"payout_destination"},"payout_destination_selector":{"undefined":["payout_destination_selector"]}},"card_issuing":{"tos_acceptance":{"date":"3076014","ip":"ip","user_agent":"user_agent"}},"card_payments":{"decline_on":{"avs_failure":true,"cvc_failure":true},"statement_descriptor_prefix":"statement_descriptor_prefix","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"dashboard":{"display_name":"display_name","timezone":"timezone"},"invoices":{"default_account_tax_ids":[{"country":"country","created":"1028554472","customer":null,"id":"obj_123","livemode":true,"object":"tax_id","owner":{"account":null,"application":null,"customer":null,"type":"customer"},"type":"es_cif","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}]},"payments":{"statement_descriptor":"statement_descriptor","statement_descriptor_kana":"statement_descriptor_kana","statement_descriptor_kanji":"statement_descriptor_kanji","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":1647351405,"interval":"interval","monthly_anchor":1920305369,"weekly_anchor":"weekly_anchor"},"statement_descriptor":"statement_descriptor"},"sepa_debit_payments":{"creditor_id":"creditor_id"},"tax_forms":{"consented_to_paperless_delivery":true},"treasury":{"tos_acceptance":{"date":"3076014","ip":"ip","user_agent":"user_agent"}}},"tos_acceptance":{"date":"3076014","ip":"ip","service_agreement":"service_agreement","user_agent":"user_agent"},"type":"none"},"application":{"id":"obj_123","name":"name","object":"application"},"customer":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"balance":339185956,"cash_balance":{"available":{"undefined":733902135},"customer":"customer","livemode":true,"object":"cash_balance","settings":{"reconciliation_mode":"manual","using_merchant_default":true}},"created":"1028554472","currency":"currency","default_source":null,"delinquent":true,"description":"description","discount":{"checkout_session":"checkout_session","coupon":null,"customer":null,"end":"100571","id":"obj_123","invoice":"invoice","invoice_item":"invoice_item","object":"discount","promotion_code":null,"start":"109757538","subscription":"subscription","subscription_item":"subscription_item"},"email":"email","id":"obj_123","invoice_credit_balance":{"undefined":1267696360},"invoice_prefix":"invoice_prefix","invoice_settings":{"custom_fields":[{"name":"name","value":"value"}],"default_payment_method":{"acss_debit":{"bank_name":"bank_name","fingerprint":"fingerprint","institution_number":"institution_number","last4":"last4","transit_number":"transit_number"},"affirm":{},"afterpay_clearpay":{},"alipay":{},"allow_redisplay":"unspecified","alma":{},"amazon_pay":{},"au_becs_debit":{"bsb_number":"bsb_number","fingerprint":"fingerprint","last4":"last4"},"bacs_debit":{"fingerprint":"fingerprint","last4":"last4","sort_code":"sort_code"},"bancontact":{},"billing_details":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","phone":"phone"},"blik":{},"boleto":{"tax_id":"tax_id"},"card":{"brand":"brand","checks":{"address_line1_check":"address_line1_check","address_postal_code_check":"address_postal_code_check","cvc_check":"cvc_check"},"country":"country","description":"description","display_brand":"display_brand","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","generated_from":{"charge":"charge","payment_method_details":{"card_present":{"amount_authorized":1406151710,"brand":"brand","brand_product":"brand_product","capture_before":"2079401320","cardholder_name":"cardholder_name","country":"country","description":"description","emv_auth_data":"emv_auth_data","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","generated_card":"generated_card","iin":"iin","incremental_authorization_supported":true,"issuer":"issuer","last4":"last4","network":"network","network_transaction_id":"network_transaction_id","offline":{"stored_at":"1692436047","type":"deferred"},"overcapture_supported":true,"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2","receipt":{"account_type":"checking","application_cryptogram":"application_cryptogram","application_preferred_name":"application_preferred_name","authorization_code":"authorization_code","authorization_response_code":"authorization_response_code","cardholder_verification_method":"cardholder_verification_method","dedicated_file_name":"dedicated_file_name","terminal_verification_results":"terminal_verification_results","transaction_status_information":"transaction_status_information"},"wallet":{"type":"samsung_pay"}},"type":"type"},"setup_attempt":null},"iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"three_d_secure_usage":{"supported":true},"wallet":{"amex_express_checkout":{},"apple_pay":{},"dynamic_last4":"dynamic_last4","google_pay":{},"link":{},"masterpass":{"billing_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","shipping_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"}},"samsung_pay":{},"type":"link","visa_checkout":{"billing_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","shipping_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"}}}},"card_present":{"brand":"brand","brand_product":"brand_product","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"offline":{"stored_at":"1692436047","type":"deferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2","wallet":{"type":"samsung_pay"}},"cashapp":{"buyer_id":"buyer_id","cashtag":"cashtag"},"created":"1028554472","customer":null,"customer_balance":{},"eps":{"bank":"btv_vier_lander_bank"},"fpx":{"account_holder_type":"individual","bank":"bsn"},"giropay":{},"gopay":{},"grabpay":{},"id":"obj_123","ideal":{"bank":"sns_bank","bic":"BUNQNL2A"},"interac_present":{"brand":"brand","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2"},"kakao_pay":{},"klarna":{"dob":{"day":99228,"month":104080000,"year":3704893}},"konbini":{},"kr_card":{"brand":"lotte","last4":"last4"},"link":{"email":"email","persistent_token":"persistent_token"},"livemode":true,"mb_way":{},"metadata":{"undefined":"metadata"},"mobilepay":{},"multibanco":{},"naver_pay":{"funding":"points"},"object":"payment_method","oxxo":{},"p24":{"bank":"noble_pay"},"payco":{},"paynow":{},"paypal":{"fingerprint":"fingerprint","payer_email":"payer_email","payer_id":"payer_id","verified_email":"verified_email"},"payto":{"bsb_number":"bsb_number","last4":"last4","pay_id":"pay_id"},"pix":{},"promptpay":{},"qris":{},"radar_options":{"session":"session"},"rechnung":{"dob":{"day":99228,"month":104080000,"year":3704893}},"revolut_pay":{},"samsung_pay":{},"sepa_debit":{"bank_code":"bank_code","branch_code":"branch_code","country":"country","fingerprint":"fingerprint","generated_from":{"charge":null,"setup_attempt":null},"last4":"last4"},"shopeepay":{},"sofort":{"country":"country"},"swish":{},"twint":{},"type":"acss_debit","us_bank_account":{"account_holder_type":"individual","account_number":"account_number","account_type":"checking","bank_name":"bank_name","financial_connections_account":"financial_connections_account","fingerprint":"fingerprint","last4":"last4","networks":{"preferred":"preferred","supported":["ach"]},"routing_number":"routing_number","status_details":{"blocked":{"network_code":"R29","reason":"bank_account_unusable"}}},"wechat_pay":{},"zip":{}},"footer":"footer","rendering_options":{"amount_tax_display":"amount_tax_display","template":"template"}},"livemode":true,"metadata":{"undefined":"metadata"},"name":"name","next_invoice_sequence":1356358751,"object":"customer","phone":"phone","preferred_locales":["preferred_locales"],"shipping":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"carrier":"carrier","name":"name","phone":"phone","tracking_number":"tracking_number"},"sources":null,"subscriptions":null,"tax":{"automatic_tax":"unrecognized_location","ip_address":"ip_address","location":{"country":"country","source":"ip_address","state":"state"}},"tax_exempt":"reverse","tax_ids":null,"test_clock":{"created":"1028554472","deletes_after":"73213179","frozen_time":"2033541876","id":"obj_123","livemode":true,"name":"name","object":"test_helpers.test_clock","status":"advancing","status_details":{"advancing":{"target_frozen_time":"833971362"}}}},"type":"customer"},"type":"es_cif","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}]},"payments":{"statement_descriptor":"statement_descriptor","statement_descriptor_kana":"statement_descriptor_kana","statement_descriptor_kanji":"statement_descriptor_kanji","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":1647351405,"interval":"interval","monthly_anchor":1920305369,"weekly_anchor":"weekly_anchor"},"statement_descriptor":"statement_descriptor"},"sepa_debit_payments":{"creditor_id":"creditor_id"},"tax_forms":{"consented_to_paperless_delivery":true},"treasury":{"tos_acceptance":{"date":"3076014","ip":"ip","user_agent":"user_agent"}}},"tos_acceptance":{"date":"3076014","ip":"ip","service_agreement":"service_agreement","user_agent":"user_agent"},"type":"none"}', + '{"business_profile":{"annual_revenue":{"amount":1413853096,"currency":"currency","fiscal_year_end":"fiscal_year_end"},"estimated_worker_count":884794319,"mcc":"mcc","monthly_estimated_revenue":{"amount":1413853096,"currency":"currency"},"name":"name","product_description":"product_description","support_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"support_email":"support_email","support_phone":"support_phone","support_url":"support_url","url":"url"},"business_type":"government_entity","capabilities":{"acss_debit_payments":"inactive","affirm_payments":"pending","afterpay_clearpay_payments":"inactive","alma_payments":"pending","amazon_pay_payments":"inactive","au_becs_debit_payments":"active","bacs_debit_payments":"active","bancontact_payments":"inactive","bank_transfer_payments":"pending","blik_payments":"inactive","boleto_payments":"inactive","card_issuing":"active","card_payments":"active","cartes_bancaires_payments":"active","cashapp_payments":"active","eps_payments":"inactive","fpx_payments":"active","gb_bank_transfer_payments":"pending","giropay_payments":"active","gopay_payments":"active","grabpay_payments":"pending","id_bank_transfer_payments":"pending","id_bank_transfer_payments_bca":"active","ideal_payments":"inactive","india_international_payments":"inactive","jcb_payments":"inactive","jp_bank_transfer_payments":"pending","kakao_pay_payments":"active","klarna_payments":"active","konbini_payments":"active","kr_card_payments":"inactive","legacy_payments":"active","link_payments":"inactive","mb_way_payments":"active","mobilepay_payments":"pending","multibanco_payments":"inactive","mx_bank_transfer_payments":"pending","naver_pay_payments":"active","oxxo_payments":"pending","p24_payments":"inactive","payco_payments":"inactive","paynow_payments":"active","paypal_payments":"inactive","payto_payments":"pending","promptpay_payments":"active","qris_payments":"pending","rechnung_payments":"inactive","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","shopeepay_payments":"active","sofort_payments":"active","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","treasury_evolve":"inactive","treasury_fifth_third":"inactive","treasury_goldman_sachs":"active","twint_payments":"inactive","us_bank_account_ach_payments":"pending","us_bank_transfer_payments":"pending","zip_payments":"pending"},"charges_enabled":true,"company":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"directors_provided":true,"executives_provided":true,"export_license_id":"export_license_id","export_purpose_code":"export_purpose_code","name":"name","name_kana":"name_kana","name_kanji":"name_kanji","owners_provided":true,"ownership_declaration":{"date":"3076014","ip":"ip","user_agent":"user_agent"},"phone":"phone","structure":"single_member_llc","tax_id_provided":true,"tax_id_registrar":"tax_id_registrar","vat_id_provided":true,"verification":{"document":{"back":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"}}}},"controller":{"application":{"loss_liable":true,"onboarding_owner":true,"pricing_controls":true},"dashboard":{"type":"express"},"fees":{"payer":"account"},"is_controller":true,"losses":{"payments":"stripe"},"requirement_collection":"application","stripe_dashboard":{"type":"express"},"type":"account"},"country":"country","created":"1028554472","default_currency":"default_currency","details_submitted":true,"email":"email","external_accounts":null,"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":"270965154","currently_due":["currently_due"],"disabled_reason":"disabled_reason","errors":[{"code":"verification_failed_residential_address","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"groups":{"payments_pricing":"payments_pricing"},"id":"obj_123","individual":{"account":"account","additional_tos_acceptances":{"account":{"date":"3076014","ip":"ip","user_agent":"user_agent"}},"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"created":"1028554472","dob":{"day":99228,"month":104080000,"year":3704893},"email":"email","first_name":"first_name","first_name_kana":"first_name_kana","first_name_kanji":"first_name_kanji","full_name_aliases":["full_name_aliases"],"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"currently_due":["currently_due"],"errors":[{"code":"verification_failed_residential_address","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"gender":"gender","id":"obj_123","id_number_provided":true,"id_number_secondary_provided":true,"last_name":"last_name","last_name_kana":"last_name_kana","last_name_kanji":"last_name_kanji","maiden_name":"maiden_name","metadata":{"undefined":"metadata"},"nationality":"nationality","object":"person","phone":"phone","political_exposure":"none","registered_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"relationship":{"director":true,"executive":true,"legal_guardian":true,"owner":true,"percent_ownership":760989685,"representative":true,"title":"title"},"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"currently_due":["currently_due"],"errors":[{"code":"verification_failed_residential_address","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"ssn_last_4_provided":true,"verification":{"additional_document":{"back":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"}},"details":"details","details_code":"details_code","document":{"back":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"}},"status":"status"}},"metadata":{"undefined":"metadata"},"object":"account","payouts_enabled":true,"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":"270965154","currently_due":["currently_due"],"disabled_reason":"disabled_reason","errors":[{"code":"verification_failed_residential_address","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"risk_controls":{"charges":{"pause_requested":true},"payouts":{"pause_requested":true}},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_number"},"bank_bca_onboarding":{"account_holder_name":"account_holder_name","business_account_number":"business_account_number"},"branding":{"icon":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"},"logo":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"},"primary_color":"primary_color","secondary_color":"secondary_color"},"capital":{"payout_destination":{"undefined":"payout_destination"},"payout_destination_selector":{"undefined":["payout_destination_selector"]}},"card_issuing":{"tos_acceptance":{"date":"3076014","ip":"ip","user_agent":"user_agent"}},"card_payments":{"decline_on":{"avs_failure":true,"cvc_failure":true},"statement_descriptor_prefix":"statement_descriptor_prefix","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"dashboard":{"display_name":"display_name","timezone":"timezone"},"invoices":{"default_account_tax_ids":[{"country":"country","created":"1028554472","customer":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"balance":339185956,"cash_balance":{"available":{"undefined":733902135},"customer":"customer","livemode":true,"object":"cash_balance","settings":{"reconciliation_mode":"manual","using_merchant_default":true}},"created":"1028554472","currency":"currency","default_source":null,"delinquent":true,"description":"description","discount":{"checkout_session":"checkout_session","coupon":null,"customer":null,"end":"100571","id":"obj_123","invoice":"invoice","invoice_item":"invoice_item","object":"discount","promotion_code":null,"start":"109757538","subscription":"subscription","subscription_item":"subscription_item"},"email":"email","id":"obj_123","invoice_credit_balance":{"undefined":1267696360},"invoice_prefix":"invoice_prefix","invoice_settings":{"custom_fields":[{"name":"name","value":"value"}],"default_payment_method":{"acss_debit":{"bank_name":"bank_name","fingerprint":"fingerprint","institution_number":"institution_number","last4":"last4","transit_number":"transit_number"},"affirm":{},"afterpay_clearpay":{},"alipay":{},"allow_redisplay":"unspecified","alma":{},"amazon_pay":{},"au_becs_debit":{"bsb_number":"bsb_number","fingerprint":"fingerprint","last4":"last4"},"bacs_debit":{"fingerprint":"fingerprint","last4":"last4","sort_code":"sort_code"},"bancontact":{},"billing_details":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","phone":"phone"},"blik":{},"boleto":{"tax_id":"tax_id"},"card":{"brand":"brand","checks":{"address_line1_check":"address_line1_check","address_postal_code_check":"address_postal_code_check","cvc_check":"cvc_check"},"country":"country","description":"description","display_brand":"display_brand","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","generated_from":{"charge":"charge","payment_method_details":{"card_present":{"amount_authorized":1406151710,"brand":"brand","brand_product":"brand_product","capture_before":"2079401320","cardholder_name":"cardholder_name","country":"country","description":"description","emv_auth_data":"emv_auth_data","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","generated_card":"generated_card","iin":"iin","incremental_authorization_supported":true,"issuer":"issuer","last4":"last4","network":"network","network_transaction_id":"network_transaction_id","offline":{"stored_at":"1692436047","type":"deferred"},"overcapture_supported":true,"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2","receipt":{"account_type":"checking","application_cryptogram":"application_cryptogram","application_preferred_name":"application_preferred_name","authorization_code":"authorization_code","authorization_response_code":"authorization_response_code","cardholder_verification_method":"cardholder_verification_method","dedicated_file_name":"dedicated_file_name","terminal_verification_results":"terminal_verification_results","transaction_status_information":"transaction_status_information"},"wallet":{"type":"samsung_pay"}},"type":"type"},"setup_attempt":null},"iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"three_d_secure_usage":{"supported":true},"wallet":{"amex_express_checkout":{},"apple_pay":{},"dynamic_last4":"dynamic_last4","google_pay":{},"link":{},"masterpass":{"billing_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","shipping_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"}},"samsung_pay":{},"type":"link","visa_checkout":{"billing_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","shipping_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"}}}},"card_present":{"brand":"brand","brand_product":"brand_product","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"offline":{"stored_at":"1692436047","type":"deferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2","wallet":{"type":"samsung_pay"}},"cashapp":{"buyer_id":"buyer_id","cashtag":"cashtag"},"created":"1028554472","customer":null,"customer_balance":{},"eps":{"bank":"btv_vier_lander_bank"},"fpx":{"account_holder_type":"individual","bank":"bsn"},"giropay":{},"gopay":{},"grabpay":{},"id":"obj_123","id_bank_transfer":{"bank":"bri","bank_code":"bank_code","bank_name":"bank_name","display_name":"display_name"},"ideal":{"bank":"sns_bank","bic":"BUNQNL2A"},"interac_present":{"brand":"brand","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2"},"kakao_pay":{},"klarna":{"dob":{"day":99228,"month":104080000,"year":3704893}},"konbini":{},"kr_card":{"brand":"lotte","last4":"last4"},"link":{"email":"email","persistent_token":"persistent_token"},"livemode":true,"mb_way":{},"metadata":{"undefined":"metadata"},"mobilepay":{},"multibanco":{},"naver_pay":{"funding":"points"},"object":"payment_method","oxxo":{},"p24":{"bank":"noble_pay"},"payco":{},"paynow":{},"paypal":{"fingerprint":"fingerprint","payer_email":"payer_email","payer_id":"payer_id","verified_email":"verified_email"},"payto":{"bsb_number":"bsb_number","last4":"last4","pay_id":"pay_id"},"pix":{},"promptpay":{},"qris":{},"radar_options":{"session":"session"},"rechnung":{"dob":{"day":99228,"month":104080000,"year":3704893}},"revolut_pay":{},"samsung_pay":{},"sepa_debit":{"bank_code":"bank_code","branch_code":"branch_code","country":"country","fingerprint":"fingerprint","generated_from":{"charge":null,"setup_attempt":null},"last4":"last4"},"shopeepay":{},"sofort":{"country":"country"},"swish":{},"twint":{},"type":"pix","us_bank_account":{"account_holder_type":"individual","account_number":"account_number","account_type":"checking","bank_name":"bank_name","financial_connections_account":"financial_connections_account","fingerprint":"fingerprint","last4":"last4","networks":{"preferred":"preferred","supported":["ach"]},"routing_number":"routing_number","status_details":{"blocked":{"network_code":"R29","reason":"bank_account_unusable"}}},"wechat_pay":{},"zip":{}},"footer":"footer","rendering_options":{"amount_tax_display":"amount_tax_display","template":"template"}},"livemode":true,"metadata":{"undefined":"metadata"},"name":"name","next_invoice_sequence":1356358751,"object":"customer","phone":"phone","preferred_locales":["preferred_locales"],"shipping":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"carrier":"carrier","name":"name","phone":"phone","tracking_number":"tracking_number"},"sources":null,"subscriptions":null,"tax":{"automatic_tax":"unrecognized_location","ip_address":"ip_address","location":{"country":"country","source":"ip_address","state":"state"}},"tax_exempt":"reverse","tax_ids":null,"test_clock":{"created":"1028554472","deletes_after":"73213179","frozen_time":"2033541876","id":"obj_123","livemode":true,"name":"name","object":"test_helpers.test_clock","status":"advancing","status_details":{"advancing":{"target_frozen_time":"833971362"}}}},"id":"obj_123","livemode":true,"object":"tax_id","owner":{"account":{"business_profile":{"annual_revenue":{"amount":1413853096,"currency":"currency","fiscal_year_end":"fiscal_year_end"},"estimated_worker_count":884794319,"mcc":"mcc","monthly_estimated_revenue":{"amount":1413853096,"currency":"currency"},"name":"name","product_description":"product_description","support_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"support_email":"support_email","support_phone":"support_phone","support_url":"support_url","url":"url"},"business_type":"government_entity","capabilities":{"acss_debit_payments":"inactive","affirm_payments":"pending","afterpay_clearpay_payments":"inactive","alma_payments":"pending","amazon_pay_payments":"inactive","au_becs_debit_payments":"active","bacs_debit_payments":"active","bancontact_payments":"inactive","bank_transfer_payments":"pending","blik_payments":"inactive","boleto_payments":"inactive","card_issuing":"active","card_payments":"active","cartes_bancaires_payments":"active","cashapp_payments":"active","eps_payments":"inactive","fpx_payments":"active","gb_bank_transfer_payments":"pending","giropay_payments":"active","gopay_payments":"active","grabpay_payments":"pending","id_bank_transfer_payments":"pending","id_bank_transfer_payments_bca":"active","ideal_payments":"inactive","india_international_payments":"inactive","jcb_payments":"inactive","jp_bank_transfer_payments":"pending","kakao_pay_payments":"active","klarna_payments":"active","konbini_payments":"active","kr_card_payments":"inactive","legacy_payments":"active","link_payments":"inactive","mb_way_payments":"active","mobilepay_payments":"pending","multibanco_payments":"inactive","mx_bank_transfer_payments":"pending","naver_pay_payments":"active","oxxo_payments":"pending","p24_payments":"inactive","payco_payments":"inactive","paynow_payments":"active","paypal_payments":"inactive","payto_payments":"pending","promptpay_payments":"active","qris_payments":"pending","rechnung_payments":"inactive","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","shopeepay_payments":"active","sofort_payments":"active","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","treasury_evolve":"inactive","treasury_fifth_third":"inactive","treasury_goldman_sachs":"active","twint_payments":"inactive","us_bank_account_ach_payments":"pending","us_bank_transfer_payments":"pending","zip_payments":"pending"},"charges_enabled":true,"company":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"directors_provided":true,"executives_provided":true,"export_license_id":"export_license_id","export_purpose_code":"export_purpose_code","name":"name","name_kana":"name_kana","name_kanji":"name_kanji","owners_provided":true,"ownership_declaration":{"date":"3076014","ip":"ip","user_agent":"user_agent"},"phone":"phone","structure":"single_member_llc","tax_id_provided":true,"tax_id_registrar":"tax_id_registrar","vat_id_provided":true,"verification":{"document":{"back":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"}}}},"controller":{"application":{"loss_liable":true,"onboarding_owner":true,"pricing_controls":true},"dashboard":{"type":"express"},"fees":{"payer":"account"},"is_controller":true,"losses":{"payments":"stripe"},"requirement_collection":"application","stripe_dashboard":{"type":"express"},"type":"account"},"country":"country","created":"1028554472","default_currency":"default_currency","details_submitted":true,"email":"email","external_accounts":null,"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":"270965154","currently_due":["currently_due"],"disabled_reason":"disabled_reason","errors":[{"code":"verification_failed_residential_address","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"groups":{"payments_pricing":"payments_pricing"},"id":"obj_123","individual":{"account":"account","additional_tos_acceptances":{"account":{"date":"3076014","ip":"ip","user_agent":"user_agent"}},"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"created":"1028554472","dob":{"day":99228,"month":104080000,"year":3704893},"email":"email","first_name":"first_name","first_name_kana":"first_name_kana","first_name_kanji":"first_name_kanji","full_name_aliases":["full_name_aliases"],"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"currently_due":["currently_due"],"errors":[{"code":"verification_failed_residential_address","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"gender":"gender","id":"obj_123","id_number_provided":true,"id_number_secondary_provided":true,"last_name":"last_name","last_name_kana":"last_name_kana","last_name_kanji":"last_name_kanji","maiden_name":"maiden_name","metadata":{"undefined":"metadata"},"nationality":"nationality","object":"person","phone":"phone","political_exposure":"none","registered_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"relationship":{"director":true,"executive":true,"legal_guardian":true,"owner":true,"percent_ownership":760989685,"representative":true,"title":"title"},"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"currently_due":["currently_due"],"errors":[{"code":"verification_failed_residential_address","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"ssn_last_4_provided":true,"verification":{"additional_document":{"back":null,"details":"details","details_code":"details_code","front":null},"details":"details","details_code":"details_code","document":{"back":null,"details":"details","details_code":"details_code","front":null},"status":"status"}},"metadata":{"undefined":"metadata"},"object":"account","payouts_enabled":true,"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":"270965154","currently_due":["currently_due"],"disabled_reason":"disabled_reason","errors":[{"code":"verification_failed_residential_address","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"risk_controls":{"charges":{"pause_requested":true},"payouts":{"pause_requested":true}},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_number"},"bank_bca_onboarding":{"account_holder_name":"account_holder_name","business_account_number":"business_account_number"},"branding":{"icon":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"},"logo":{"created":"1028554472","expires_at":"833811170","filename":"filename","id":"obj_123","links":null,"object":"file","purpose":"business_icon","size":3530753,"title":"title","type":"type","url":"url"},"primary_color":"primary_color","secondary_color":"secondary_color"},"capital":{"payout_destination":{"undefined":"payout_destination"},"payout_destination_selector":{"undefined":["payout_destination_selector"]}},"card_issuing":{"tos_acceptance":{"date":"3076014","ip":"ip","user_agent":"user_agent"}},"card_payments":{"decline_on":{"avs_failure":true,"cvc_failure":true},"statement_descriptor_prefix":"statement_descriptor_prefix","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"dashboard":{"display_name":"display_name","timezone":"timezone"},"invoices":{"default_account_tax_ids":[{"country":"country","created":"1028554472","customer":null,"id":"obj_123","livemode":true,"object":"tax_id","owner":{"account":null,"application":null,"customer":null,"type":"customer"},"type":"es_cif","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}]},"payments":{"statement_descriptor":"statement_descriptor","statement_descriptor_kana":"statement_descriptor_kana","statement_descriptor_kanji":"statement_descriptor_kanji","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":1647351405,"interval":"interval","monthly_anchor":1920305369,"weekly_anchor":"weekly_anchor"},"statement_descriptor":"statement_descriptor"},"sepa_debit_payments":{"creditor_id":"creditor_id"},"tax_forms":{"consented_to_paperless_delivery":true},"treasury":{"tos_acceptance":{"date":"3076014","ip":"ip","user_agent":"user_agent"}}},"tos_acceptance":{"date":"3076014","ip":"ip","service_agreement":"service_agreement","user_agent":"user_agent"},"type":"none"},"application":{"id":"obj_123","name":"name","object":"application"},"customer":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"balance":339185956,"cash_balance":{"available":{"undefined":733902135},"customer":"customer","livemode":true,"object":"cash_balance","settings":{"reconciliation_mode":"manual","using_merchant_default":true}},"created":"1028554472","currency":"currency","default_source":null,"delinquent":true,"description":"description","discount":{"checkout_session":"checkout_session","coupon":null,"customer":null,"end":"100571","id":"obj_123","invoice":"invoice","invoice_item":"invoice_item","object":"discount","promotion_code":null,"start":"109757538","subscription":"subscription","subscription_item":"subscription_item"},"email":"email","id":"obj_123","invoice_credit_balance":{"undefined":1267696360},"invoice_prefix":"invoice_prefix","invoice_settings":{"custom_fields":[{"name":"name","value":"value"}],"default_payment_method":{"acss_debit":{"bank_name":"bank_name","fingerprint":"fingerprint","institution_number":"institution_number","last4":"last4","transit_number":"transit_number"},"affirm":{},"afterpay_clearpay":{},"alipay":{},"allow_redisplay":"unspecified","alma":{},"amazon_pay":{},"au_becs_debit":{"bsb_number":"bsb_number","fingerprint":"fingerprint","last4":"last4"},"bacs_debit":{"fingerprint":"fingerprint","last4":"last4","sort_code":"sort_code"},"bancontact":{},"billing_details":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","phone":"phone"},"blik":{},"boleto":{"tax_id":"tax_id"},"card":{"brand":"brand","checks":{"address_line1_check":"address_line1_check","address_postal_code_check":"address_postal_code_check","cvc_check":"cvc_check"},"country":"country","description":"description","display_brand":"display_brand","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","generated_from":{"charge":"charge","payment_method_details":{"card_present":{"amount_authorized":1406151710,"brand":"brand","brand_product":"brand_product","capture_before":"2079401320","cardholder_name":"cardholder_name","country":"country","description":"description","emv_auth_data":"emv_auth_data","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","generated_card":"generated_card","iin":"iin","incremental_authorization_supported":true,"issuer":"issuer","last4":"last4","network":"network","network_transaction_id":"network_transaction_id","offline":{"stored_at":"1692436047","type":"deferred"},"overcapture_supported":true,"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2","receipt":{"account_type":"checking","application_cryptogram":"application_cryptogram","application_preferred_name":"application_preferred_name","authorization_code":"authorization_code","authorization_response_code":"authorization_response_code","cardholder_verification_method":"cardholder_verification_method","dedicated_file_name":"dedicated_file_name","terminal_verification_results":"terminal_verification_results","transaction_status_information":"transaction_status_information"},"wallet":{"type":"samsung_pay"}},"type":"type"},"setup_attempt":null},"iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"three_d_secure_usage":{"supported":true},"wallet":{"amex_express_checkout":{},"apple_pay":{},"dynamic_last4":"dynamic_last4","google_pay":{},"link":{},"masterpass":{"billing_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","shipping_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"}},"samsung_pay":{},"type":"link","visa_checkout":{"billing_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","shipping_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"}}}},"card_present":{"brand":"brand","brand_product":"brand_product","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"offline":{"stored_at":"1692436047","type":"deferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2","wallet":{"type":"samsung_pay"}},"cashapp":{"buyer_id":"buyer_id","cashtag":"cashtag"},"created":"1028554472","customer":null,"customer_balance":{},"eps":{"bank":"btv_vier_lander_bank"},"fpx":{"account_holder_type":"individual","bank":"bsn"},"giropay":{},"gopay":{},"grabpay":{},"id":"obj_123","id_bank_transfer":{"bank":"bri","bank_code":"bank_code","bank_name":"bank_name","display_name":"display_name"},"ideal":{"bank":"sns_bank","bic":"BUNQNL2A"},"interac_present":{"brand":"brand","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2"},"kakao_pay":{},"klarna":{"dob":{"day":99228,"month":104080000,"year":3704893}},"konbini":{},"kr_card":{"brand":"lotte","last4":"last4"},"link":{"email":"email","persistent_token":"persistent_token"},"livemode":true,"mb_way":{},"metadata":{"undefined":"metadata"},"mobilepay":{},"multibanco":{},"naver_pay":{"funding":"points"},"object":"payment_method","oxxo":{},"p24":{"bank":"noble_pay"},"payco":{},"paynow":{},"paypal":{"fingerprint":"fingerprint","payer_email":"payer_email","payer_id":"payer_id","verified_email":"verified_email"},"payto":{"bsb_number":"bsb_number","last4":"last4","pay_id":"pay_id"},"pix":{},"promptpay":{},"qris":{},"radar_options":{"session":"session"},"rechnung":{"dob":{"day":99228,"month":104080000,"year":3704893}},"revolut_pay":{},"samsung_pay":{},"sepa_debit":{"bank_code":"bank_code","branch_code":"branch_code","country":"country","fingerprint":"fingerprint","generated_from":{"charge":null,"setup_attempt":null},"last4":"last4"},"shopeepay":{},"sofort":{"country":"country"},"swish":{},"twint":{},"type":"pix","us_bank_account":{"account_holder_type":"individual","account_number":"account_number","account_type":"checking","bank_name":"bank_name","financial_connections_account":"financial_connections_account","fingerprint":"fingerprint","last4":"last4","networks":{"preferred":"preferred","supported":["ach"]},"routing_number":"routing_number","status_details":{"blocked":{"network_code":"R29","reason":"bank_account_unusable"}}},"wechat_pay":{},"zip":{}},"footer":"footer","rendering_options":{"amount_tax_display":"amount_tax_display","template":"template"}},"livemode":true,"metadata":{"undefined":"metadata"},"name":"name","next_invoice_sequence":1356358751,"object":"customer","phone":"phone","preferred_locales":["preferred_locales"],"shipping":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"carrier":"carrier","name":"name","phone":"phone","tracking_number":"tracking_number"},"sources":null,"subscriptions":null,"tax":{"automatic_tax":"unrecognized_location","ip_address":"ip_address","location":{"country":"country","source":"ip_address","state":"state"}},"tax_exempt":"reverse","tax_ids":null,"test_clock":{"created":"1028554472","deletes_after":"73213179","frozen_time":"2033541876","id":"obj_123","livemode":true,"name":"name","object":"test_helpers.test_clock","status":"advancing","status_details":{"advancing":{"target_frozen_time":"833971362"}}}},"type":"customer"},"type":"es_cif","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}]},"payments":{"statement_descriptor":"statement_descriptor","statement_descriptor_kana":"statement_descriptor_kana","statement_descriptor_kanji":"statement_descriptor_kanji","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":1647351405,"interval":"interval","monthly_anchor":1920305369,"weekly_anchor":"weekly_anchor"},"statement_descriptor":"statement_descriptor"},"sepa_debit_payments":{"creditor_id":"creditor_id"},"tax_forms":{"consented_to_paperless_delivery":true},"treasury":{"tos_acceptance":{"date":"3076014","ip":"ip","user_agent":"user_agent"}}},"tos_acceptance":{"date":"3076014","ip":"ip","service_agreement":"service_agreement","user_agent":"user_agent"},"type":"none"}', }, ]); const account = await stripe.accounts.retrieve('acc_123'); diff --git a/types/AccountSessionsResource.d.ts b/types/AccountSessionsResource.d.ts index cf94a9f4da..8b1ef1c55d 100644 --- a/types/AccountSessionsResource.d.ts +++ b/types/AccountSessionsResource.d.ts @@ -121,6 +121,9 @@ declare module 'stripe' { */ payouts_list?: Components.PayoutsList; + /** + * Configuration for the recipients component. + */ recipients?: Components.Recipients; /** @@ -361,6 +364,9 @@ declare module 'stripe' { */ enabled: boolean; + /** + * The list of features enabled in the embedded component. + */ features?: FinancialAccount.Features; } @@ -640,14 +646,16 @@ declare module 'stripe' { */ enabled: boolean; - /** - * The list of features enabled in the embedded component. - */ features?: Recipients.Features; } namespace Recipients { - interface Features {} + interface Features { + /** + * Whether to allow sending money. + */ + send_money?: boolean; + } } interface ReportingChart { diff --git a/types/Accounts.d.ts b/types/Accounts.d.ts index 5b1e748589..b813e23ce5 100644 --- a/types/Accounts.d.ts +++ b/types/Accounts.d.ts @@ -324,6 +324,16 @@ declare module 'stripe' { */ grabpay_payments?: Capabilities.GrabpayPayments; + /** + * The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges. + */ + id_bank_transfer_payments?: Capabilities.IdBankTransferPayments; + + /** + * The status of Bank BCA onboarding of the account. + */ + id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca; + /** * The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges. */ @@ -578,6 +588,10 @@ declare module 'stripe' { type GrabpayPayments = 'active' | 'inactive' | 'pending'; + type IdBankTransferPayments = 'active' | 'inactive' | 'pending'; + + type IdBankTransferPaymentsBca = 'active' | 'inactive' | 'pending'; + type IdealPayments = 'active' | 'inactive' | 'pending'; type IndiaInternationalPayments = 'active' | 'inactive' | 'pending'; @@ -1363,6 +1377,8 @@ declare module 'stripe' { interface Settings { bacs_debit_payments?: Settings.BacsDebitPayments; + bank_bca_onboarding?: Settings.BankBcaOnboarding; + branding: Settings.Branding; capital?: Settings.Capital; @@ -1399,6 +1415,18 @@ declare module 'stripe' { service_user_number: string | null; } + interface BankBcaOnboarding { + /** + * Bank BCA business account holder name. + */ + account_holder_name?: string; + + /** + * Bank BCA business account number. + */ + business_account_number?: string; + } + interface Branding { /** * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. diff --git a/types/AccountsResource.d.ts b/types/AccountsResource.d.ts index 78cb06d726..90a10b6b77 100644 --- a/types/AccountsResource.d.ts +++ b/types/AccountsResource.d.ts @@ -309,6 +309,16 @@ declare module 'stripe' { */ grabpay_payments?: Capabilities.GrabpayPayments; + /** + * The id_bank_transfer_payments capability. + */ + id_bank_transfer_payments?: Capabilities.IdBankTransferPayments; + + /** + * The id_bank_transfer_payments_bca capability. + */ + id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca; + /** * The ideal_payments capability. */ @@ -668,6 +678,20 @@ declare module 'stripe' { requested?: boolean; } + interface IdBankTransferPayments { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + + interface IdBankTransferPaymentsBca { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + interface IdealPayments { /** * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. @@ -1593,6 +1617,11 @@ declare module 'stripe' { */ bacs_debit_payments?: Settings.BacsDebitPayments; + /** + * Settings specific to bank BCA onboarding for Indonesia bank transfers payments method. + */ + bank_bca_onboarding?: Settings.BankBcaOnboarding; + /** * Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products. */ @@ -1642,6 +1671,18 @@ declare module 'stripe' { display_name?: string; } + interface BankBcaOnboarding { + /** + * Bank BCA business account holder name + */ + account_holder_name?: string; + + /** + * Bank BCA business account number + */ + business_account_number?: string; + } + interface Branding { /** * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. @@ -2214,6 +2255,16 @@ declare module 'stripe' { */ grabpay_payments?: Capabilities.GrabpayPayments; + /** + * The id_bank_transfer_payments capability. + */ + id_bank_transfer_payments?: Capabilities.IdBankTransferPayments; + + /** + * The id_bank_transfer_payments_bca capability. + */ + id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca; + /** * The ideal_payments capability. */ @@ -2573,6 +2624,20 @@ declare module 'stripe' { requested?: boolean; } + interface IdBankTransferPayments { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + + interface IdBankTransferPaymentsBca { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + interface IdealPayments { /** * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. @@ -3407,6 +3472,11 @@ declare module 'stripe' { */ bacs_debit_payments?: Settings.BacsDebitPayments; + /** + * Settings specific to bank BCA onboarding for Indonesia bank transfers payments method. + */ + bank_bca_onboarding?: Settings.BankBcaOnboarding; + /** * Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products. */ @@ -3461,6 +3531,18 @@ declare module 'stripe' { display_name?: string; } + interface BankBcaOnboarding { + /** + * Bank BCA business account holder name + */ + account_holder_name?: string; + + /** + * Bank BCA business account number + */ + business_account_number?: string; + } + interface Branding { /** * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. @@ -4756,7 +4838,7 @@ declare module 'stripe' { ): Promise>; /** - * Creates a single-use login link for a connected account to access the Express Dashboard. + * Creates a login link for a connected account to access the Express Dashboard. * * You can only create login links for accounts that use the [Express Dashboard](https://stripe.com/connect/express-dashboard) and are connected to your platform. */ diff --git a/types/Charges.d.ts b/types/Charges.d.ts index 125a1a0447..a47cdaedcf 100644 --- a/types/Charges.d.ts +++ b/types/Charges.d.ts @@ -412,6 +412,8 @@ declare module 'stripe' { grabpay?: PaymentMethodDetails.Grabpay; + id_bank_transfer?: PaymentMethodDetails.IdBankTransfer; + ideal?: PaymentMethodDetails.Ideal; interac_present?: PaymentMethodDetails.InteracPresent; @@ -1471,6 +1473,37 @@ declare module 'stripe' { transaction_id: string | null; } + interface IdBankTransfer { + /** + * Account number of the bank account to transfer funds to. + */ + account_number: string; + + /** + * Bank where the account is located. + */ + bank: IdBankTransfer.Bank; + + /** + * Local bank code of the bank. + */ + bank_code?: string; + + /** + * Name of the bank associated with the bank account. + */ + bank_name?: string; + + /** + * Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer. + */ + display_name?: string; + } + + namespace IdBankTransfer { + type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; + } + interface Ideal { /** * 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`. diff --git a/types/Checkout/Sessions.d.ts b/types/Checkout/Sessions.d.ts index 8dab25c1ab..4a0685e238 100644 --- a/types/Checkout/Sessions.d.ts +++ b/types/Checkout/Sessions.d.ts @@ -1097,20 +1097,28 @@ declare module 'stripe' { ideal?: PaymentMethodOptions.Ideal; + kakao_pay?: PaymentMethodOptions.KakaoPay; + klarna?: PaymentMethodOptions.Klarna; konbini?: PaymentMethodOptions.Konbini; + kr_card?: PaymentMethodOptions.KrCard; + link?: PaymentMethodOptions.Link; mobilepay?: PaymentMethodOptions.Mobilepay; multibanco?: PaymentMethodOptions.Multibanco; + naver_pay?: PaymentMethodOptions.NaverPay; + oxxo?: PaymentMethodOptions.Oxxo; p24?: PaymentMethodOptions.P24; + payco?: PaymentMethodOptions.Payco; + paynow?: PaymentMethodOptions.Paynow; paypal?: PaymentMethodOptions.Paypal; @@ -1121,6 +1129,8 @@ declare module 'stripe' { revolut_pay?: PaymentMethodOptions.RevolutPay; + samsung_pay?: PaymentMethodOptions.SamsungPay; + sepa_debit?: PaymentMethodOptions.SepaDebit; sofort?: PaymentMethodOptions.Sofort; @@ -1510,6 +1520,28 @@ declare module 'stripe' { setup_future_usage?: 'none'; } + interface KakaoPay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication). + */ + setup_future_usage?: KakaoPay.SetupFutureUsage; + } + + namespace KakaoPay { + type SetupFutureUsage = 'none' | 'off_session'; + } + interface Klarna { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1545,6 +1577,28 @@ declare module 'stripe' { setup_future_usage?: 'none'; } + interface KrCard { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication). + */ + setup_future_usage?: KrCard.SetupFutureUsage; + } + + namespace KrCard { + type SetupFutureUsage = 'none' | 'off_session'; + } + interface Link { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1588,6 +1642,13 @@ declare module 'stripe' { setup_future_usage?: 'none'; } + interface NaverPay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + } + interface Oxxo { /** * The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. @@ -1619,6 +1680,13 @@ declare module 'stripe' { setup_future_usage?: 'none'; } + interface Payco { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + } + interface Paynow { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1776,6 +1844,13 @@ declare module 'stripe' { type SetupFutureUsage = 'none' | 'off_session'; } + interface SamsungPay { + /** + * Controls when the funds will be captured from the customer's account. + */ + capture_method?: 'manual'; + } + interface SepaDebit { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. diff --git a/types/Checkout/SessionsResource.d.ts b/types/Checkout/SessionsResource.d.ts index 464e64fd46..f4a8820f6d 100644 --- a/types/Checkout/SessionsResource.d.ts +++ b/types/Checkout/SessionsResource.d.ts @@ -1075,6 +1075,11 @@ declare module 'stripe' { */ ideal?: PaymentMethodOptions.Ideal; + /** + * contains details about the Kakao Pay payment method options. + */ + kakao_pay?: PaymentMethodOptions.KakaoPay; + /** * contains details about the Klarna payment method options. */ @@ -1085,6 +1090,11 @@ declare module 'stripe' { */ konbini?: PaymentMethodOptions.Konbini; + /** + * contains details about the Korean card payment method options. + */ + kr_card?: PaymentMethodOptions.KrCard; + /** * contains details about the Link payment method options. */ @@ -1100,6 +1110,11 @@ declare module 'stripe' { */ multibanco?: PaymentMethodOptions.Multibanco; + /** + * contains details about the Kakao Pay payment method options. + */ + naver_pay?: PaymentMethodOptions.NaverPay; + /** * contains details about the OXXO payment method options. */ @@ -1110,6 +1125,11 @@ declare module 'stripe' { */ p24?: PaymentMethodOptions.P24; + /** + * contains details about the PAYCO payment method options. + */ + payco?: PaymentMethodOptions.Payco; + /** * contains details about the PayNow payment method options. */ @@ -1135,6 +1155,11 @@ declare module 'stripe' { */ revolut_pay?: PaymentMethodOptions.RevolutPay; + /** + * contains details about the Samsung Pay payment method options. + */ + samsung_pay?: PaymentMethodOptions.SamsungPay; + /** * contains details about the Sepa Debit payment method options. */ @@ -1556,6 +1581,23 @@ declare module 'stripe' { setup_future_usage?: 'none'; } + interface KakaoPay { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication). + */ + setup_future_usage?: KakaoPay.SetupFutureUsage; + } + + namespace KakaoPay { + type SetupFutureUsage = 'none' | 'off_session'; + } + interface Klarna { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1587,6 +1629,23 @@ declare module 'stripe' { setup_future_usage?: 'none'; } + interface KrCard { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication). + */ + setup_future_usage?: KrCard.SetupFutureUsage; + } + + namespace KrCard { + type SetupFutureUsage = 'none' | 'off_session'; + } + interface Link { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1630,6 +1689,23 @@ declare module 'stripe' { setup_future_usage?: 'none'; } + interface NaverPay { + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication). + */ + setup_future_usage?: NaverPay.SetupFutureUsage; + } + + namespace NaverPay { + type SetupFutureUsage = 'none' | 'off_session'; + } + interface Oxxo { /** * The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. @@ -1666,6 +1742,8 @@ declare module 'stripe' { tos_shown_and_accepted?: boolean; } + interface Payco {} + interface Paynow { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -1861,6 +1939,8 @@ declare module 'stripe' { type SetupFutureUsage = 'none' | 'off_session'; } + interface SamsungPay {} + interface SepaDebit { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. diff --git a/types/ConfirmationTokens.d.ts b/types/ConfirmationTokens.d.ts index 40820274b3..40444232d1 100644 --- a/types/ConfirmationTokens.d.ts +++ b/types/ConfirmationTokens.d.ts @@ -190,6 +190,8 @@ declare module 'stripe' { grabpay?: PaymentMethodPreview.Grabpay; + id_bank_transfer?: PaymentMethodPreview.IdBankTransfer; + ideal?: PaymentMethodPreview.Ideal; interac_present?: PaymentMethodPreview.InteracPresent; @@ -1054,6 +1056,20 @@ declare module 'stripe' { interface Grabpay {} + interface IdBankTransfer { + bank: IdBankTransfer.Bank | null; + + bank_code: string | null; + + bank_name: string | null; + + display_name: string | null; + } + + namespace IdBankTransfer { + type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; + } + interface Ideal { /** * The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. @@ -1495,6 +1511,7 @@ declare module 'stripe' { | 'giropay' | 'gopay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' diff --git a/types/CustomersResource.d.ts b/types/CustomersResource.d.ts index b84f4ad756..fdd106e949 100644 --- a/types/CustomersResource.d.ts +++ b/types/CustomersResource.d.ts @@ -834,6 +834,7 @@ declare module 'stripe' { | 'giropay' | 'gopay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' diff --git a/types/Disputes.d.ts b/types/Disputes.d.ts index 0ebc980f89..c4c76ede2b 100644 --- a/types/Disputes.d.ts +++ b/types/Disputes.d.ts @@ -48,7 +48,7 @@ declare module 'stripe' { /** * List of eligibility types that are included in `enhanced_evidence`. */ - enhanced_eligibility_types?: Array<'visa_compelling_evidence_3'>; + enhanced_eligibility_types: Array<'visa_compelling_evidence_3'>; evidence: Dispute.Evidence; @@ -159,7 +159,7 @@ declare module 'stripe' { */ duplicate_charge_id: string | null; - enhanced_evidence?: Evidence.EnhancedEvidence; + enhanced_evidence: Evidence.EnhancedEvidence; /** * A description of the product or service that was sold. @@ -350,7 +350,7 @@ declare module 'stripe' { */ due_by: number | null; - enhanced_eligibility?: EvidenceDetails.EnhancedEligibility; + enhanced_eligibility: EvidenceDetails.EnhancedEligibility; /** * Whether evidence has been staged for this dispute. diff --git a/types/EventTypes.d.ts b/types/EventTypes.d.ts index 0de0560c29..6d6dda9eea 100644 --- a/types/EventTypes.d.ts +++ b/types/EventTypes.d.ts @@ -146,6 +146,7 @@ declare module 'stripe' { | IssuingTokenCreatedEvent | IssuingTokenUpdatedEvent | IssuingTransactionCreatedEvent + | IssuingTransactionPurchaseDetailsReceiptUpdatedEvent | IssuingTransactionUpdatedEvent | MandateUpdatedEvent | PaymentIntentAmountCapturableUpdatedEvent @@ -2571,6 +2572,23 @@ declare module 'stripe' { } } + /** + * Occurs whenever an issuing transaction is updated with receipt data. + */ + interface IssuingTransactionPurchaseDetailsReceiptUpdatedEvent + extends EventBase { + type: 'issuing_transaction.purchase_details_receipt_updated'; + data: IssuingTransactionPurchaseDetailsReceiptUpdatedEvent.Data; + } + + namespace IssuingTransactionPurchaseDetailsReceiptUpdatedEvent { + interface Data extends Stripe.Event.Data { + object: Stripe.Issuing.Transaction; + + previous_attributes?: Partial; + } + } + /** * Occurs whenever an issuing transaction is updated. */ diff --git a/types/Events.d.ts b/types/Events.d.ts index 1cb7a5352a..76fae14f58 100644 --- a/types/Events.d.ts +++ b/types/Events.d.ts @@ -230,6 +230,7 @@ declare module 'stripe' { | 'issuing_token.created' | 'issuing_token.updated' | 'issuing_transaction.created' + | 'issuing_transaction.purchase_details_receipt_updated' | 'issuing_transaction.updated' | 'mandate.updated' | 'payment_intent.amount_capturable_updated' diff --git a/types/Invoices.d.ts b/types/Invoices.d.ts index fc85ae9480..bf7b0ef41f 100644 --- a/types/Invoices.d.ts +++ b/types/Invoices.d.ts @@ -994,7 +994,6 @@ declare module 'stripe' { | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'payout_reconciliation_not_ready' - | 'payout_statement_descriptor_profanity' | 'payouts_limit_exceeded' | 'payouts_not_allowed' | 'platform_account_required' @@ -1090,6 +1089,11 @@ declare module 'stripe' { */ customer_balance: PaymentMethodOptions.CustomerBalance | null; + /** + * If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent. + */ + id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null; + /** * If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent. */ @@ -1195,6 +1199,8 @@ declare module 'stripe' { } } + interface IdBankTransfer {} + interface Konbini {} interface SepaDebit {} @@ -1273,6 +1279,7 @@ declare module 'stripe' { | 'fpx' | 'giropay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' diff --git a/types/InvoicesResource.d.ts b/types/InvoicesResource.d.ts index 272cee89f4..cb1b54cbb2 100644 --- a/types/InvoicesResource.d.ts +++ b/types/InvoicesResource.d.ts @@ -28,6 +28,11 @@ declare module 'stripe' { */ automatic_tax?: InvoiceCreateParams.AutomaticTax; + /** + * The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state. + */ + automatically_finalizes_at?: number; + /** * Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions. Defaults to `charge_automatically`. */ @@ -368,6 +373,13 @@ declare module 'stripe' { PaymentMethodOptions.CustomerBalance >; + /** + * If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent. + */ + id_bank_transfer?: Stripe.Emptyable< + PaymentMethodOptions.IdBankTransfer + >; + /** * If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent. */ @@ -511,6 +523,8 @@ declare module 'stripe' { } } + interface IdBankTransfer {} + interface Konbini {} interface SepaDebit {} @@ -595,6 +609,7 @@ declare module 'stripe' { | 'fpx' | 'giropay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' @@ -859,6 +874,11 @@ declare module 'stripe' { */ automatic_tax?: InvoiceUpdateParams.AutomaticTax; + /** + * The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state. To turn off automatic finalization, set `auto_advance` to false. + */ + automatically_finalizes_at?: number; + /** * Either `charge_automatically` or `send_invoice`. This field can be updated only on `draft` invoices. */ @@ -1162,6 +1182,13 @@ declare module 'stripe' { PaymentMethodOptions.CustomerBalance >; + /** + * If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent. + */ + id_bank_transfer?: Stripe.Emptyable< + PaymentMethodOptions.IdBankTransfer + >; + /** * If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent. */ @@ -1305,6 +1332,8 @@ declare module 'stripe' { } } + interface IdBankTransfer {} + interface Konbini {} interface SepaDebit {} @@ -1389,6 +1418,7 @@ declare module 'stripe' { | 'fpx' | 'giropay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' diff --git a/types/PaymentIntents.d.ts b/types/PaymentIntents.d.ts index 8000bf2bf4..f8b39d32c5 100644 --- a/types/PaymentIntents.d.ts +++ b/types/PaymentIntents.d.ts @@ -537,7 +537,6 @@ declare module 'stripe' { | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'payout_reconciliation_not_ready' - | 'payout_statement_descriptor_profanity' | 'payouts_limit_exceeded' | 'payouts_not_allowed' | 'platform_account_required' @@ -1636,6 +1635,8 @@ declare module 'stripe' { grabpay?: PaymentMethodOptions.Grabpay; + id_bank_transfer?: PaymentMethodOptions.IdBankTransfer; + ideal?: PaymentMethodOptions.Ideal; interac_present?: PaymentMethodOptions.InteracPresent; @@ -2388,6 +2389,29 @@ declare module 'stripe' { setup_future_usage?: 'none'; } + interface IdBankTransfer { + /** + * The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now. + */ + expires_after?: number | null; + + /** + * The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now. + */ + expires_at: number | null; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication). + */ + setup_future_usage?: 'none'; + } + interface Ideal { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. diff --git a/types/PaymentIntentsResource.d.ts b/types/PaymentIntentsResource.d.ts index 27c102fdfb..72f2c197c6 100644 --- a/types/PaymentIntentsResource.d.ts +++ b/types/PaymentIntentsResource.d.ts @@ -1040,6 +1040,11 @@ declare module 'stripe' { */ grabpay?: PaymentMethodData.Grabpay; + /** + * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. + */ + id_bank_transfer?: PaymentMethodData.IdBankTransfer; + /** * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. */ @@ -1387,6 +1392,17 @@ declare module 'stripe' { interface Grabpay {} + interface IdBankTransfer { + /** + * Bank where the account is held. + */ + bank?: IdBankTransfer.Bank; + } + + namespace IdBankTransfer { + type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; + } + interface Ideal { /** * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. @@ -1615,6 +1631,7 @@ declare module 'stripe' { | 'giropay' | 'gopay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' @@ -1789,6 +1806,13 @@ declare module 'stripe' { */ grabpay?: Stripe.Emptyable; + /** + * If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options. + */ + id_bank_transfer?: Stripe.Emptyable< + PaymentMethodOptions.IdBankTransfer + >; + /** * If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options. */ @@ -2776,6 +2800,31 @@ declare module 'stripe' { setup_future_usage?: 'none'; } + interface IdBankTransfer { + /** + * The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. + */ + expires_after?: number; + + /** + * The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now. + */ + expires_at?: number; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication). + * + * If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + */ + setup_future_usage?: 'none'; + } + interface Ideal { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -4746,6 +4795,11 @@ declare module 'stripe' { */ grabpay?: PaymentMethodData.Grabpay; + /** + * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. + */ + id_bank_transfer?: PaymentMethodData.IdBankTransfer; + /** * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. */ @@ -5093,6 +5147,17 @@ declare module 'stripe' { interface Grabpay {} + interface IdBankTransfer { + /** + * Bank where the account is held. + */ + bank?: IdBankTransfer.Bank; + } + + namespace IdBankTransfer { + type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; + } + interface Ideal { /** * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. @@ -5321,6 +5386,7 @@ declare module 'stripe' { | 'giropay' | 'gopay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' @@ -5495,6 +5561,13 @@ declare module 'stripe' { */ grabpay?: Stripe.Emptyable; + /** + * If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options. + */ + id_bank_transfer?: Stripe.Emptyable< + PaymentMethodOptions.IdBankTransfer + >; + /** * If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options. */ @@ -6482,6 +6555,31 @@ declare module 'stripe' { setup_future_usage?: 'none'; } + interface IdBankTransfer { + /** + * The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. + */ + expires_after?: number; + + /** + * The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now. + */ + expires_at?: number; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication). + * + * If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + */ + setup_future_usage?: 'none'; + } + interface Ideal { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -9207,6 +9305,11 @@ declare module 'stripe' { */ grabpay?: PaymentMethodData.Grabpay; + /** + * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. + */ + id_bank_transfer?: PaymentMethodData.IdBankTransfer; + /** * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. */ @@ -9554,6 +9657,17 @@ declare module 'stripe' { interface Grabpay {} + interface IdBankTransfer { + /** + * Bank where the account is held. + */ + bank?: IdBankTransfer.Bank; + } + + namespace IdBankTransfer { + type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; + } + interface Ideal { /** * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. @@ -9782,6 +9896,7 @@ declare module 'stripe' { | 'giropay' | 'gopay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' @@ -9956,6 +10071,13 @@ declare module 'stripe' { */ grabpay?: Stripe.Emptyable; + /** + * If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options. + */ + id_bank_transfer?: Stripe.Emptyable< + PaymentMethodOptions.IdBankTransfer + >; + /** * If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options. */ @@ -10943,6 +11065,31 @@ declare module 'stripe' { setup_future_usage?: 'none'; } + interface IdBankTransfer { + /** + * The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. + */ + expires_after?: number; + + /** + * The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now. + */ + expires_at?: number; + + /** + * Indicates that you intend to make future payments with this PaymentIntent's payment method. + * + * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + * + * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + * + * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication). + * + * If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + */ + setup_future_usage?: 'none'; + } + interface Ideal { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -12109,6 +12256,38 @@ declare module 'stripe' { page?: string; } + interface PaymentIntentTriggerActionParams { + /** + * The type of action to be simulated. + */ + type: PaymentIntentTriggerActionParams.Type; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * True to simulate success, false to simulate failure. + */ + scan_qr_code?: PaymentIntentTriggerActionParams.ScanQrCode; + } + + namespace PaymentIntentTriggerActionParams { + interface ScanQrCode { + /** + * Whether the QR Code scan's payment should succeed or fail. + */ + result?: ScanQrCode.Result; + } + + namespace ScanQrCode { + type Result = 'failure' | 'success'; + } + + type Type = 'expire' | 'fund'; + } + interface PaymentIntentVerifyMicrodepositsParams { /** * Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. @@ -12336,6 +12515,15 @@ declare module 'stripe' { options?: RequestOptions ): ApiSearchResultPromise; + /** + * Trigger an external action on a PaymentIntent. + */ + triggerAction( + id: string, + params: PaymentIntentTriggerActionParams, + options?: RequestOptions + ): Promise>; + /** * Verifies microdeposits on a PaymentIntent object. */ diff --git a/types/PaymentMethodConfigurations.d.ts b/types/PaymentMethodConfigurations.d.ts index 447216754e..8609282c85 100644 --- a/types/PaymentMethodConfigurations.d.ts +++ b/types/PaymentMethodConfigurations.d.ts @@ -79,8 +79,12 @@ declare module 'stripe' { google_pay?: PaymentMethodConfiguration.GooglePay; + gopay?: PaymentMethodConfiguration.Gopay; + grabpay?: PaymentMethodConfiguration.Grabpay; + id_bank_transfer?: PaymentMethodConfiguration.IdBankTransfer; + ideal?: PaymentMethodConfiguration.Ideal; /** @@ -127,10 +131,14 @@ declare module 'stripe' { promptpay?: PaymentMethodConfiguration.Promptpay; + qris?: PaymentMethodConfiguration.Qris; + revolut_pay?: PaymentMethodConfiguration.RevolutPay; sepa_debit?: PaymentMethodConfiguration.SepaDebit; + shopeepay?: PaymentMethodConfiguration.Shopeepay; + sofort?: PaymentMethodConfiguration.Sofort; swish?: PaymentMethodConfiguration.Swish; @@ -825,6 +833,40 @@ declare module 'stripe' { } } + interface Gopay { + /** + * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. + */ + available: boolean; + + display_preference: Gopay.DisplayPreference; + } + + namespace Gopay { + interface DisplayPreference { + /** + * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. + */ + overridable: boolean | null; + + /** + * The account's display preference. + */ + preference: DisplayPreference.Preference; + + /** + * The effective display preference value. + */ + value: DisplayPreference.Value; + } + + namespace DisplayPreference { + type Preference = 'none' | 'off' | 'on'; + + type Value = 'off' | 'on'; + } + } + interface Grabpay { /** * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. @@ -859,6 +901,40 @@ declare module 'stripe' { } } + interface IdBankTransfer { + /** + * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. + */ + available: boolean; + + display_preference: IdBankTransfer.DisplayPreference; + } + + namespace IdBankTransfer { + interface DisplayPreference { + /** + * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. + */ + overridable: boolean | null; + + /** + * The account's display preference. + */ + preference: DisplayPreference.Preference; + + /** + * The effective display preference value. + */ + value: DisplayPreference.Value; + } + + namespace DisplayPreference { + type Preference = 'none' | 'off' | 'on'; + + type Value = 'off' | 'on'; + } + } + interface Ideal { /** * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. @@ -1301,6 +1377,40 @@ declare module 'stripe' { } } + interface Qris { + /** + * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. + */ + available: boolean; + + display_preference: Qris.DisplayPreference; + } + + namespace Qris { + interface DisplayPreference { + /** + * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. + */ + overridable: boolean | null; + + /** + * The account's display preference. + */ + preference: DisplayPreference.Preference; + + /** + * The effective display preference value. + */ + value: DisplayPreference.Value; + } + + namespace DisplayPreference { + type Preference = 'none' | 'off' | 'on'; + + type Value = 'off' | 'on'; + } + } + interface RevolutPay { /** * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. @@ -1369,6 +1479,40 @@ declare module 'stripe' { } } + interface Shopeepay { + /** + * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. + */ + available: boolean; + + display_preference: Shopeepay.DisplayPreference; + } + + namespace Shopeepay { + interface DisplayPreference { + /** + * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. + */ + overridable: boolean | null; + + /** + * The account's display preference. + */ + preference: DisplayPreference.Preference; + + /** + * The effective display preference value. + */ + value: DisplayPreference.Value; + } + + namespace DisplayPreference { + type Preference = 'none' | 'off' | 'on'; + + type Value = 'off' | 'on'; + } + } + interface Sofort { /** * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. diff --git a/types/PaymentMethodConfigurationsResource.d.ts b/types/PaymentMethodConfigurationsResource.d.ts index 182592bc53..cc91bcdc2b 100644 --- a/types/PaymentMethodConfigurationsResource.d.ts +++ b/types/PaymentMethodConfigurationsResource.d.ts @@ -113,11 +113,21 @@ declare module 'stripe' { */ google_pay?: PaymentMethodConfigurationCreateParams.GooglePay; + /** + * GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment. + */ + gopay?: PaymentMethodConfigurationCreateParams.Gopay; + /** * GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details. */ grabpay?: PaymentMethodConfigurationCreateParams.Grabpay; + /** + * Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia. + */ + id_bank_transfer?: PaymentMethodConfigurationCreateParams.IdBankTransfer; + /** * iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details. */ @@ -193,6 +203,11 @@ declare module 'stripe' { */ promptpay?: PaymentMethodConfigurationCreateParams.Promptpay; + /** + * QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app. + */ + qris?: PaymentMethodConfigurationCreateParams.Qris; + /** * Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer's stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase. */ @@ -203,6 +218,11 @@ declare module 'stripe' { */ sepa_debit?: PaymentMethodConfigurationCreateParams.SepaDebit; + /** + * ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment. + */ + shopeepay?: PaymentMethodConfigurationCreateParams.Shopeepay; + /** * Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details. */ @@ -655,6 +675,26 @@ declare module 'stripe' { } } + interface Gopay { + /** + * Whether or not the payment method should be displayed. + */ + display_preference?: Gopay.DisplayPreference; + } + + namespace Gopay { + interface DisplayPreference { + /** + * The account's preference for whether or not to display this payment method. + */ + preference?: DisplayPreference.Preference; + } + + namespace DisplayPreference { + type Preference = 'none' | 'off' | 'on'; + } + } + interface Grabpay { /** * Whether or not the payment method should be displayed. @@ -675,6 +715,26 @@ declare module 'stripe' { } } + interface IdBankTransfer { + /** + * Whether or not the payment method should be displayed. + */ + display_preference?: IdBankTransfer.DisplayPreference; + } + + namespace IdBankTransfer { + interface DisplayPreference { + /** + * The account's preference for whether or not to display this payment method. + */ + preference?: DisplayPreference.Preference; + } + + namespace DisplayPreference { + type Preference = 'none' | 'off' | 'on'; + } + } + interface Ideal { /** * Whether or not the payment method should be displayed. @@ -935,6 +995,26 @@ declare module 'stripe' { } } + interface Qris { + /** + * Whether or not the payment method should be displayed. + */ + display_preference?: Qris.DisplayPreference; + } + + namespace Qris { + interface DisplayPreference { + /** + * The account's preference for whether or not to display this payment method. + */ + preference?: DisplayPreference.Preference; + } + + namespace DisplayPreference { + type Preference = 'none' | 'off' | 'on'; + } + } + interface RevolutPay { /** * Whether or not the payment method should be displayed. @@ -975,6 +1055,26 @@ declare module 'stripe' { } } + interface Shopeepay { + /** + * Whether or not the payment method should be displayed. + */ + display_preference?: Shopeepay.DisplayPreference; + } + + namespace Shopeepay { + interface DisplayPreference { + /** + * The account's preference for whether or not to display this payment method. + */ + preference?: DisplayPreference.Preference; + } + + namespace DisplayPreference { + type Preference = 'none' | 'off' | 'on'; + } + } + interface Sofort { /** * Whether or not the payment method should be displayed. @@ -1219,11 +1319,21 @@ declare module 'stripe' { */ google_pay?: PaymentMethodConfigurationUpdateParams.GooglePay; + /** + * GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment. + */ + gopay?: PaymentMethodConfigurationUpdateParams.Gopay; + /** * GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details. */ grabpay?: PaymentMethodConfigurationUpdateParams.Grabpay; + /** + * Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia. + */ + id_bank_transfer?: PaymentMethodConfigurationUpdateParams.IdBankTransfer; + /** * iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details. */ @@ -1294,6 +1404,11 @@ declare module 'stripe' { */ promptpay?: PaymentMethodConfigurationUpdateParams.Promptpay; + /** + * QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app. + */ + qris?: PaymentMethodConfigurationUpdateParams.Qris; + /** * Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer's stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase. */ @@ -1304,6 +1419,11 @@ declare module 'stripe' { */ sepa_debit?: PaymentMethodConfigurationUpdateParams.SepaDebit; + /** + * ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment. + */ + shopeepay?: PaymentMethodConfigurationUpdateParams.Shopeepay; + /** * Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details. */ @@ -1756,6 +1876,26 @@ declare module 'stripe' { } } + interface Gopay { + /** + * Whether or not the payment method should be displayed. + */ + display_preference?: Gopay.DisplayPreference; + } + + namespace Gopay { + interface DisplayPreference { + /** + * The account's preference for whether or not to display this payment method. + */ + preference?: DisplayPreference.Preference; + } + + namespace DisplayPreference { + type Preference = 'none' | 'off' | 'on'; + } + } + interface Grabpay { /** * Whether or not the payment method should be displayed. @@ -1776,6 +1916,26 @@ declare module 'stripe' { } } + interface IdBankTransfer { + /** + * Whether or not the payment method should be displayed. + */ + display_preference?: IdBankTransfer.DisplayPreference; + } + + namespace IdBankTransfer { + interface DisplayPreference { + /** + * The account's preference for whether or not to display this payment method. + */ + preference?: DisplayPreference.Preference; + } + + namespace DisplayPreference { + type Preference = 'none' | 'off' | 'on'; + } + } + interface Ideal { /** * Whether or not the payment method should be displayed. @@ -2036,6 +2196,26 @@ declare module 'stripe' { } } + interface Qris { + /** + * Whether or not the payment method should be displayed. + */ + display_preference?: Qris.DisplayPreference; + } + + namespace Qris { + interface DisplayPreference { + /** + * The account's preference for whether or not to display this payment method. + */ + preference?: DisplayPreference.Preference; + } + + namespace DisplayPreference { + type Preference = 'none' | 'off' | 'on'; + } + } + interface RevolutPay { /** * Whether or not the payment method should be displayed. @@ -2076,6 +2256,26 @@ declare module 'stripe' { } } + interface Shopeepay { + /** + * Whether or not the payment method should be displayed. + */ + display_preference?: Shopeepay.DisplayPreference; + } + + namespace Shopeepay { + interface DisplayPreference { + /** + * The account's preference for whether or not to display this payment method. + */ + preference?: DisplayPreference.Preference; + } + + namespace DisplayPreference { + type Preference = 'none' | 'off' | 'on'; + } + } + interface Sofort { /** * Whether or not the payment method should be displayed. diff --git a/types/PaymentMethods.d.ts b/types/PaymentMethods.d.ts index 70b91789b0..76bdf5b1ab 100644 --- a/types/PaymentMethods.d.ts +++ b/types/PaymentMethods.d.ts @@ -77,6 +77,8 @@ declare module 'stripe' { grabpay?: PaymentMethod.Grabpay; + id_bank_transfer?: PaymentMethod.IdBankTransfer; + ideal?: PaymentMethod.Ideal; interac_present?: PaymentMethod.InteracPresent; @@ -956,6 +958,20 @@ declare module 'stripe' { interface Grabpay {} + interface IdBankTransfer { + bank: IdBankTransfer.Bank | null; + + bank_code: string | null; + + bank_name: string | null; + + display_name: string | null; + } + + namespace IdBankTransfer { + type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; + } + interface Ideal { /** * The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. @@ -1404,6 +1420,7 @@ declare module 'stripe' { | 'giropay' | 'gopay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' diff --git a/types/PaymentMethodsResource.d.ts b/types/PaymentMethodsResource.d.ts index fd5d0f7c03..631cc953de 100644 --- a/types/PaymentMethodsResource.d.ts +++ b/types/PaymentMethodsResource.d.ts @@ -118,6 +118,11 @@ declare module 'stripe' { */ grabpay?: PaymentMethodCreateParams.Grabpay; + /** + * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. + */ + id_bank_transfer?: PaymentMethodCreateParams.IdBankTransfer; + /** * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. */ @@ -515,6 +520,17 @@ declare module 'stripe' { interface Grabpay {} + interface IdBankTransfer { + /** + * Bank where the account is held. + */ + bank?: IdBankTransfer.Bank; + } + + namespace IdBankTransfer { + type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; + } + interface Ideal { /** * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. @@ -744,6 +760,7 @@ declare module 'stripe' { | 'giropay' | 'gopay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' @@ -1009,6 +1026,7 @@ declare module 'stripe' { | 'giropay' | 'gopay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' diff --git a/types/QuotePreviewInvoices.d.ts b/types/QuotePreviewInvoices.d.ts index 33f652292b..99f5cb232d 100644 --- a/types/QuotePreviewInvoices.d.ts +++ b/types/QuotePreviewInvoices.d.ts @@ -968,7 +968,6 @@ declare module 'stripe' { | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'payout_reconciliation_not_ready' - | 'payout_statement_descriptor_profanity' | 'payouts_limit_exceeded' | 'payouts_not_allowed' | 'platform_account_required' @@ -1064,6 +1063,11 @@ declare module 'stripe' { */ customer_balance: PaymentMethodOptions.CustomerBalance | null; + /** + * If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent. + */ + id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null; + /** * If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent. */ @@ -1169,6 +1173,8 @@ declare module 'stripe' { } } + interface IdBankTransfer {} + interface Konbini {} interface SepaDebit {} @@ -1247,6 +1253,7 @@ declare module 'stripe' { | 'fpx' | 'giropay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' diff --git a/types/Refunds.d.ts b/types/Refunds.d.ts index 9c2edc83b5..10b19b9a4b 100644 --- a/types/Refunds.d.ts +++ b/types/Refunds.d.ts @@ -139,6 +139,8 @@ declare module 'stripe' { grabpay?: DestinationDetails.Grabpay; + id_bank_transfer?: DestinationDetails.IdBankTransfer; + jp_bank_transfer?: DestinationDetails.JpBankTransfer; klarna?: DestinationDetails.Klarna; @@ -272,6 +274,18 @@ declare module 'stripe' { interface Grabpay {} + interface IdBankTransfer { + /** + * The reference assigned to the refund. + */ + reference: string | null; + + /** + * Status of the reference on the refund. This can be `pending`, `available` or `unavailable`. + */ + reference_status: string | null; + } + interface JpBankTransfer { /** * The reference assigned to the refund. @@ -374,10 +388,7 @@ declare module 'stripe' { } interface NextAction { - /** - * Contains the refund details. - */ - display_details: NextAction.DisplayDetails | null; + display_details?: NextAction.DisplayDetails; /** * Type of the next action to perform. diff --git a/types/SetupAttempts.d.ts b/types/SetupAttempts.d.ts index c0078d746f..0ff2e9aa87 100644 --- a/types/SetupAttempts.d.ts +++ b/types/SetupAttempts.d.ts @@ -108,6 +108,8 @@ declare module 'stripe' { cashapp?: PaymentMethodDetails.Cashapp; + id_bank_transfer?: PaymentMethodDetails.IdBankTransfer; + ideal?: PaymentMethodDetails.Ideal; kakao_pay?: PaymentMethodDetails.KakaoPay; @@ -396,6 +398,32 @@ declare module 'stripe' { interface Cashapp {} + interface IdBankTransfer { + /** + * Bank where the account is located. + */ + bank: IdBankTransfer.Bank | null; + + /** + * Local bank code of the bank. + */ + bank_code: string | null; + + /** + * Name of the bank associated with the bank account. + */ + bank_name: string | null; + + /** + * Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer. + */ + display_name: string | null; + } + + namespace IdBankTransfer { + type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; + } + interface Ideal { /** * 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`. @@ -765,7 +793,6 @@ declare module 'stripe' { | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'payout_reconciliation_not_ready' - | 'payout_statement_descriptor_profanity' | 'payouts_limit_exceeded' | 'payouts_not_allowed' | 'platform_account_required' diff --git a/types/SetupIntents.d.ts b/types/SetupIntents.d.ts index 8f2540cf01..d7758694e6 100644 --- a/types/SetupIntents.d.ts +++ b/types/SetupIntents.d.ts @@ -418,7 +418,6 @@ declare module 'stripe' { | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'payout_reconciliation_not_ready' - | 'payout_statement_descriptor_profanity' | 'payouts_limit_exceeded' | 'payouts_not_allowed' | 'platform_account_required' diff --git a/types/SetupIntentsResource.d.ts b/types/SetupIntentsResource.d.ts index 6188c9d90e..afa38935a3 100644 --- a/types/SetupIntentsResource.d.ts +++ b/types/SetupIntentsResource.d.ts @@ -284,6 +284,11 @@ declare module 'stripe' { */ grabpay?: PaymentMethodData.Grabpay; + /** + * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. + */ + id_bank_transfer?: PaymentMethodData.IdBankTransfer; + /** * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. */ @@ -631,6 +636,17 @@ declare module 'stripe' { interface Grabpay {} + interface IdBankTransfer { + /** + * Bank where the account is held. + */ + bank?: IdBankTransfer.Bank; + } + + namespace IdBankTransfer { + type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; + } + interface Ideal { /** * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. @@ -859,6 +875,7 @@ declare module 'stripe' { | 'giropay' | 'gopay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' @@ -1665,6 +1682,11 @@ declare module 'stripe' { */ grabpay?: PaymentMethodData.Grabpay; + /** + * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. + */ + id_bank_transfer?: PaymentMethodData.IdBankTransfer; + /** * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. */ @@ -2012,6 +2034,17 @@ declare module 'stripe' { interface Grabpay {} + interface IdBankTransfer { + /** + * Bank where the account is held. + */ + bank?: IdBankTransfer.Bank; + } + + namespace IdBankTransfer { + type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; + } + interface Ideal { /** * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. @@ -2240,6 +2273,7 @@ declare module 'stripe' { | 'giropay' | 'gopay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' @@ -3095,6 +3129,11 @@ declare module 'stripe' { */ grabpay?: PaymentMethodData.Grabpay; + /** + * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. + */ + id_bank_transfer?: PaymentMethodData.IdBankTransfer; + /** * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. */ @@ -3442,6 +3481,17 @@ declare module 'stripe' { interface Grabpay {} + interface IdBankTransfer { + /** + * Bank where the account is held. + */ + bank?: IdBankTransfer.Bank; + } + + namespace IdBankTransfer { + type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; + } + interface Ideal { /** * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. @@ -3670,6 +3720,7 @@ declare module 'stripe' { | 'giropay' | 'gopay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' diff --git a/types/Subscriptions.d.ts b/types/Subscriptions.d.ts index 6d1658df57..7fa17f2552 100644 --- a/types/Subscriptions.d.ts +++ b/types/Subscriptions.d.ts @@ -478,6 +478,11 @@ declare module 'stripe' { */ customer_balance: PaymentMethodOptions.CustomerBalance | null; + /** + * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription. + */ + id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null; + /** * This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription. */ @@ -616,6 +621,8 @@ declare module 'stripe' { } } + interface IdBankTransfer {} + interface Konbini {} interface SepaDebit {} @@ -694,6 +701,7 @@ declare module 'stripe' { | 'fpx' | 'giropay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' diff --git a/types/SubscriptionsResource.d.ts b/types/SubscriptionsResource.d.ts index d6268c3e6f..0aea6de181 100644 --- a/types/SubscriptionsResource.d.ts +++ b/types/SubscriptionsResource.d.ts @@ -716,6 +716,13 @@ declare module 'stripe' { PaymentMethodOptions.CustomerBalance >; + /** + * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent. + */ + id_bank_transfer?: Stripe.Emptyable< + PaymentMethodOptions.IdBankTransfer + >; + /** * This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent. */ @@ -864,6 +871,8 @@ declare module 'stripe' { } } + interface IdBankTransfer {} + interface Konbini {} interface SepaDebit {} @@ -948,6 +957,7 @@ declare module 'stripe' { | 'fpx' | 'giropay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' @@ -1757,6 +1767,13 @@ declare module 'stripe' { PaymentMethodOptions.CustomerBalance >; + /** + * This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent. + */ + id_bank_transfer?: Stripe.Emptyable< + PaymentMethodOptions.IdBankTransfer + >; + /** * This sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent. */ @@ -1905,6 +1922,8 @@ declare module 'stripe' { } } + interface IdBankTransfer {} + interface Konbini {} interface SepaDebit {} @@ -1989,6 +2008,7 @@ declare module 'stripe' { | 'fpx' | 'giropay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'jp_credit_transfer' | 'kakao_pay' diff --git a/types/TestHelpers/ConfirmationTokensResource.d.ts b/types/TestHelpers/ConfirmationTokensResource.d.ts index ec24df7e98..8db35a6f1a 100644 --- a/types/TestHelpers/ConfirmationTokensResource.d.ts +++ b/types/TestHelpers/ConfirmationTokensResource.d.ts @@ -139,6 +139,11 @@ declare module 'stripe' { */ grabpay?: PaymentMethodData.Grabpay; + /** + * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. + */ + id_bank_transfer?: PaymentMethodData.IdBankTransfer; + /** * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. */ @@ -486,6 +491,17 @@ declare module 'stripe' { interface Grabpay {} + interface IdBankTransfer { + /** + * Bank where the account is held. + */ + bank?: IdBankTransfer.Bank; + } + + namespace IdBankTransfer { + type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata'; + } + interface Ideal { /** * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. @@ -714,6 +730,7 @@ declare module 'stripe' { | 'giropay' | 'gopay' | 'grabpay' + | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' diff --git a/types/V2/Core/EventDestinationsResource.d.ts b/types/V2/Core/EventDestinationsResource.d.ts new file mode 100644 index 0000000000..f6c2fe9b7b --- /dev/null +++ b/types/V2/Core/EventDestinationsResource.d.ts @@ -0,0 +1,281 @@ +// File generated from our OpenAPI spec + +declare module 'stripe' { + namespace Stripe { + namespace V2 { + namespace Core { + interface EventDestinationCreateParams { + /** + * The list of events to enable for this endpoint. + */ + enabled_events: Array; + + /** + * Payload type of events being subscribed to. + */ + event_payload: EventDestinationCreateParams.EventPayload; + + /** + * Event destination name. + */ + name: string; + + /** + * Event destination type. + */ + type: EventDestinationCreateParams.Type; + + /** + * Amazon EventBridge configuration. + */ + amazon_eventbridge?: EventDestinationCreateParams.AmazonEventbridge; + + /** + * An optional description of what the event destination is used for. + */ + description?: string; + + /** + * Where events should be routed from. + */ + events_from?: Array; + + /** + * Additional fields to include in the response. + */ + include?: Array; + + /** + * Metadata. + */ + metadata?: Stripe.MetadataParam; + + /** + * If using the snapshot event payload, the API version events are rendered as. + */ + snapshot_api_version?: string; + + /** + * Webhook endpoint configuration. + */ + webhook_endpoint?: EventDestinationCreateParams.WebhookEndpoint; + } + + namespace EventDestinationCreateParams { + interface AmazonEventbridge { + /** + * The AWS account ID. + */ + aws_account_id: string; + + /** + * The region of the AWS event source. + */ + aws_region: string; + } + + type EventPayload = 'snapshot' | 'thin'; + + type EventsFrom = 'other_accounts' | 'self'; + + type Include = + | 'webhook_endpoint.signing_secret' + | 'webhook_endpoint.url'; + + type Type = 'amazon_eventbridge' | 'webhook_endpoint'; + + interface WebhookEndpoint { + /** + * The URL of the webhook endpoint. + */ + url: string; + } + } + } + + namespace Core { + interface EventDestinationRetrieveParams { + /** + * Additional fields to include in the response. + */ + include?: Array<'webhook_endpoint.url'>; + } + } + + namespace Core { + interface EventDestinationUpdateParams { + /** + * An optional description of what the event destination is used for. + */ + description?: string; + + /** + * The list of events to enable for this endpoint. + */ + enabled_events?: Array; + + /** + * Additional fields to include in the response. Currently supports `webhook_endpoint.url`. + */ + include?: Array<'webhook_endpoint.url'>; + + /** + * Metadata. + */ + metadata?: Stripe.MetadataParam; + + /** + * Event destination name. + */ + name?: string; + + /** + * Webhook endpoint configuration. + */ + webhook_endpoint?: EventDestinationUpdateParams.WebhookEndpoint; + } + + namespace EventDestinationUpdateParams { + interface WebhookEndpoint { + /** + * The URL of the webhook endpoint. + */ + url: string; + } + } + } + + namespace Core { + interface EventDestinationListParams { + /** + * Additional fields to include in the response. Currently supports `webhook_endpoint.url`. + */ + include?: Array<'webhook_endpoint.url'>; + + /** + * The page size. + */ + limit?: number; + + /** + * The requested page. + */ + page?: string; + } + } + + namespace Core { + interface EventDestinationDeleteParams {} + } + + namespace Core { + interface EventDestinationDisableParams {} + } + + namespace Core { + interface EventDestinationEnableParams {} + } + + namespace Core { + interface EventDestinationPingParams {} + } + + namespace Core { + class EventDestinationsResource { + /** + * Create a new event destination. + */ + create( + params: EventDestinationCreateParams, + options?: RequestOptions + ): Promise>; + + /** + * Retrieves the details of an event destination. + */ + retrieve( + id: string, + params?: EventDestinationRetrieveParams, + options?: RequestOptions + ): Promise>; + retrieve( + id: string, + options?: RequestOptions + ): Promise>; + + /** + * Update the details of an event destination. + */ + update( + id: string, + params?: EventDestinationUpdateParams, + options?: RequestOptions + ): Promise>; + + /** + * Lists all event destinations. + */ + list( + params?: EventDestinationListParams, + options?: RequestOptions + ): ApiListPromise; + list( + options?: RequestOptions + ): ApiListPromise; + + /** + * Delete an event destination. + */ + del( + id: string, + params?: EventDestinationDeleteParams, + options?: RequestOptions + ): Promise>; + del( + id: string, + options?: RequestOptions + ): Promise>; + + /** + * Disable an event destination. + */ + disable( + id: string, + params?: EventDestinationDisableParams, + options?: RequestOptions + ): Promise>; + disable( + id: string, + options?: RequestOptions + ): Promise>; + + /** + * Enable an event destination. + */ + enable( + id: string, + params?: EventDestinationEnableParams, + options?: RequestOptions + ): Promise>; + enable( + id: string, + options?: RequestOptions + ): Promise>; + + /** + * Send a `ping` event to an event destination. + */ + ping( + id: string, + params?: EventDestinationPingParams, + options?: RequestOptions + ): Promise>; + ping( + id: string, + options?: RequestOptions + ): Promise>; + } + } + } + } +} diff --git a/types/V2/Core/EventsResource.d.ts b/types/V2/Core/EventsResource.d.ts index 21a09fa644..bb3489e290 100644 --- a/types/V2/Core/EventsResource.d.ts +++ b/types/V2/Core/EventsResource.d.ts @@ -22,7 +22,7 @@ declare module 'stripe' { limit?: number; /** - * The requested page number. + * The requested page. */ page?: string; } diff --git a/types/V2/CoreResource.d.ts b/types/V2/CoreResource.d.ts index f65f8a4b98..f9e54d2ffc 100644 --- a/types/V2/CoreResource.d.ts +++ b/types/V2/CoreResource.d.ts @@ -4,6 +4,7 @@ declare module 'stripe' { namespace Stripe { namespace V2 { class CoreResource { + eventDestinations: Stripe.V2.Core.EventDestinationsResource; events: Stripe.V2.Core.EventsResource; } } diff --git a/types/V2/EventDestinations.d.ts b/types/V2/EventDestinations.d.ts new file mode 100644 index 0000000000..5eb69f715d --- /dev/null +++ b/types/V2/EventDestinations.d.ts @@ -0,0 +1,164 @@ +// File generated from our OpenAPI spec + +declare module 'stripe' { + namespace Stripe { + namespace V2 { + /** + * The EventDestination object. + */ + interface EventDestination { + /** + * Unique identifier for the object. + */ + id: string; + + /** + * String representing the object's type. Objects of the same type share the same value of the object field. + */ + object: 'v2.core.event_destination'; + + /** + * Amazon EventBridge configuration. + */ + amazon_eventbridge: EventDestination.AmazonEventbridge | null; + + /** + * Time at which the object was created. + */ + created: string; + + /** + * An optional description of what the event destination is used for. + */ + description: string; + + /** + * The list of events to enable for this endpoint. + */ + enabled_events: Array; + + /** + * Payload type of events being subscribed to. + */ + event_payload: EventDestination.EventPayload; + + /** + * Where events should be routed from. + */ + events_from: Array | null; + + /** + * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. + */ + livemode: boolean; + + /** + * Metadata. + */ + metadata: Stripe.Metadata | null; + + /** + * Event destination name. + */ + name: string; + + /** + * If using the snapshot event payload, the API version events are rendered as. + */ + snapshot_api_version: string | null; + + /** + * Status. It can be set to either enabled or disabled. + */ + status: EventDestination.Status; + + /** + * Additional information about event destination status. + */ + status_details: EventDestination.StatusDetails | null; + + /** + * Event destination type. + */ + type: EventDestination.Type; + + /** + * Time at which the object was last updated. + */ + updated: string; + + /** + * Webhook endpoint configuration. + */ + webhook_endpoint: EventDestination.WebhookEndpoint | null; + } + + namespace EventDestination { + interface AmazonEventbridge { + /** + * The AWS account ID. + */ + aws_account_id: string; + + /** + * The ARN of the AWS event source. + */ + aws_event_source_arn: string; + + /** + * The state of the AWS event source. + */ + aws_event_source_status: AmazonEventbridge.AwsEventSourceStatus; + } + + namespace AmazonEventbridge { + type AwsEventSourceStatus = + | 'active' + | 'deleted' + | 'pending' + | 'unknown'; + } + + type EventPayload = 'snapshot' | 'thin'; + + type EventsFrom = 'other_accounts' | 'self'; + + type Status = 'disabled' | 'enabled'; + + interface StatusDetails { + /** + * Details about why the event destination has been disabled. + */ + disabled: StatusDetails.Disabled | null; + } + + namespace StatusDetails { + interface Disabled { + /** + * Reason event destination has been disabled. + */ + reason: Disabled.Reason; + } + + namespace Disabled { + type Reason = 'no_aws_event_source_exists' | 'user'; + } + } + + type Type = 'amazon_eventbridge' | 'webhook_endpoint'; + + interface WebhookEndpoint { + /** + * The signing secret of the webhook endpoint, only includable on creation. + */ + signing_secret: string | null; + + /** + * The URL of the webhook endpoint, includable. + */ + url: string | null; + } + } + } + } +} diff --git a/types/WebhookEndpointsResource.d.ts b/types/WebhookEndpointsResource.d.ts index 6aa61904d3..ceda0aeffa 100644 --- a/types/WebhookEndpointsResource.d.ts +++ b/types/WebhookEndpointsResource.d.ts @@ -143,7 +143,8 @@ declare module 'stripe' { | '2023-10-16' | '2024-04-10' | '2024-06-20' - | '2024-09-30.acacia'; + | '2024-09-30.acacia' + | '2024-10-28.acacia'; type EnabledEvent = | '*' @@ -290,6 +291,7 @@ declare module 'stripe' { | 'issuing_token.created' | 'issuing_token.updated' | 'issuing_transaction.created' + | 'issuing_transaction.purchase_details_receipt_updated' | 'issuing_transaction.updated' | 'mandate.updated' | 'payment_intent.amount_capturable_updated' @@ -604,6 +606,7 @@ declare module 'stripe' { | 'issuing_token.created' | 'issuing_token.updated' | 'issuing_transaction.created' + | 'issuing_transaction.purchase_details_receipt_updated' | 'issuing_transaction.updated' | 'mandate.updated' | 'payment_intent.amount_capturable_updated' diff --git a/types/index.d.ts b/types/index.d.ts index 895ad1a5b2..103d9c84cf 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -148,6 +148,7 @@ /// /// /// +/// /// /// /// @@ -316,6 +317,7 @@ /// /// /// +/// /// /// // Imports: The end of the section generated from our OpenAPI spec