stripe 22.4.0-alpha.4 → 22.4.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -0
- package/OPENAPI_VERSION +1 -1
- package/VERSION +1 -1
- package/cjs/resources/Accounts.d.ts +3 -3
- package/cjs/resources/Accounts.js +1 -1
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertNotifications.d.ts +75 -0
- package/cjs/resources/Billing/AlertNotifications.js +4 -0
- package/cjs/resources/Billing/AlertNotifications.js.map +1 -0
- package/cjs/resources/Billing/Alerts.d.ts +42 -2
- package/cjs/resources/Billing/Alerts.js +8 -0
- package/cjs/resources/Billing/Alerts.js.map +1 -1
- package/cjs/resources/Billing/index.d.ts +4 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Charges.d.ts +3 -3
- package/cjs/resources/ConfirmationTokens.d.ts +4 -1
- package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +1 -1
- package/cjs/resources/Crypto/DepositAddresses.d.ts +89 -0
- package/cjs/resources/Crypto/DepositAddresses.js +31 -0
- package/cjs/resources/Crypto/DepositAddresses.js.map +1 -0
- package/cjs/resources/Crypto/OnrampSessions.d.ts +7 -3
- package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +1 -1
- package/cjs/resources/Crypto/index.d.ts +15 -8
- package/cjs/resources/Crypto/index.js +2 -0
- package/cjs/resources/Crypto/index.js.map +1 -1
- package/cjs/resources/Customers.d.ts +1 -1
- package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +4 -0
- package/cjs/resources/Invoices.d.ts +3 -3
- package/cjs/resources/PaymentAttemptRecords.d.ts +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +35 -0
- package/cjs/resources/PaymentIntents.d.ts +496 -21
- package/cjs/resources/PaymentMethodConfigurations.d.ts +70 -0
- package/cjs/resources/PaymentMethods.d.ts +12 -3
- package/cjs/resources/PaymentRecords.d.ts +19 -19
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/QuotePreviewInvoices.d.ts +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +22 -0
- package/cjs/resources/SetupAttempts.d.ts +1 -1
- package/cjs/resources/SetupIntents.d.ts +24 -6
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1 -722
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +3 -3
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +7 -1
- package/cjs/resources/V2/Core/Accounts.d.ts +122 -2
- package/cjs/resources/V2/Core/Accounts.js +95 -0
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/Events.d.ts +1 -1
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +2 -2
- package/cjs/resources.js +2 -0
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +155 -126
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/Accounts.d.ts +3 -3
- package/esm/resources/Accounts.js +1 -1
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertNotifications.d.ts +75 -0
- package/esm/resources/Billing/AlertNotifications.js +3 -0
- package/esm/resources/Billing/AlertNotifications.js.map +1 -0
- package/esm/resources/Billing/Alerts.d.ts +42 -2
- package/esm/resources/Billing/Alerts.js +8 -0
- package/esm/resources/Billing/Alerts.js.map +1 -1
- package/esm/resources/Billing/index.d.ts +4 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Charges.d.ts +3 -3
- package/esm/resources/ConfirmationTokens.d.ts +4 -1
- package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +1 -1
- package/esm/resources/Crypto/DepositAddresses.d.ts +89 -0
- package/esm/resources/Crypto/DepositAddresses.js +27 -0
- package/esm/resources/Crypto/DepositAddresses.js.map +1 -0
- package/esm/resources/Crypto/OnrampSessions.d.ts +7 -3
- package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +1 -1
- package/esm/resources/Crypto/index.d.ts +15 -8
- package/esm/resources/Crypto/index.js +2 -0
- package/esm/resources/Crypto/index.js.map +1 -1
- package/esm/resources/Customers.d.ts +1 -1
- package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +4 -0
- package/esm/resources/Invoices.d.ts +3 -3
- package/esm/resources/PaymentAttemptRecords.d.ts +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +35 -0
- package/esm/resources/PaymentIntents.d.ts +496 -21
- package/esm/resources/PaymentMethodConfigurations.d.ts +70 -0
- package/esm/resources/PaymentMethods.d.ts +12 -3
- package/esm/resources/PaymentRecords.d.ts +19 -19
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/QuotePreviewInvoices.d.ts +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +22 -0
- package/esm/resources/SetupAttempts.d.ts +1 -1
- package/esm/resources/SetupIntents.d.ts +24 -6
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +1 -722
- package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +3 -3
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +7 -1
- package/esm/resources/V2/Core/Accounts.d.ts +122 -2
- package/esm/resources/V2/Core/Accounts.js +95 -0
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/Events.d.ts +1 -1
- package/esm/resources/V2/Signals/AccountSignals.d.ts +2 -2
- package/esm/resources.js +2 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.js +1 -1
- package/esm/stripe.esm.node.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 22.4.0-alpha.5 - 2026-07-22
|
|
4
|
+
* [#2791](https://github.com/stripe/stripe-node/pull/2791) Update generated code for private-preview
|
|
5
|
+
* Add support for new resources `Billing.AlertNotification` and `Crypto.DepositAddress`
|
|
6
|
+
* Add support for `create`, `list`, and `retrieve` methods on resource `Crypto.DepositAddress`
|
|
7
|
+
* Add support for `list` method on resource `Billing.AlertNotification`
|
|
8
|
+
* ⚠️ Add support for new values `partner_disabled_dispute_rate`, `partner_disabled_responsibilities`, `partner_disabled_restricted_business`, and `partner_disabled_suspected_fraud` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `BankAccount.future_requirements.errors[].code`, `BankAccount.requirements.errors[].code`, `Capability.future_requirements.errors[].code`, `Capability.requirements.errors[].code`, `Person.future_requirements.errors[].code`, and `Person.requirements.errors[].code`
|
|
9
|
+
* Add support for new value `data_share_only` on enums `Charge.payment_method_details.card.three_d_secure.result`, `PaymentAttemptRecord.payment_method_details.card.three_d_secure.result`, `PaymentRecord.payment_method_details.card.three_d_secure.result`, and `SetupAttempt.payment_method_details.card.three_d_secure.result`
|
|
10
|
+
* Add support for `vipps` on `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`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
|
|
11
|
+
* Add support for new value `vipps` 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`
|
|
12
|
+
* Add support for new value `vipps` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
|
|
13
|
+
* Add support for new value `sui` on enum `Crypto.CustomerConsumerWallet.network`
|
|
14
|
+
* Add support for new value `sui` on enums `Crypto.OnrampSession.transaction_details.destination_network`, `Crypto.OnrampSessionCreateParams.destination_network`, `Crypto.OnrampSessionListParams.destination_network`, and `Crypto.OnrampTransactionLimitRetrieveParams.destination_network`
|
|
15
|
+
* Add support for new value `sui` on enums `Crypto.OnrampSession.transaction_details.destination_networks` and `Crypto.OnrampSessionCreateParams.destination_networks`
|
|
16
|
+
* Add support for `sui` on `Crypto.OnrampSession.transaction_details.wallet_addresses`
|
|
17
|
+
* Add support for new value `vipps` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
|
|
18
|
+
* Add support for `use_stripe_sdk` on `DelegatedCheckout.RequestedSessionConfirmParams`
|
|
19
|
+
* Add support for new value `mb_way` on enums `Invoice.payment_settings.payment_method_types`, `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `QuotePreviewInvoice.payment_settings.payment_method_types`, `Subscription.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types`
|
|
20
|
+
* Add support for `ev_charging` on `PaymentIntentAmountDetailsLineItem.payment_method_options.card`, `PaymentIntentCaptureParams.amount_details.line_items[].payment_method_options.card`, `PaymentIntentConfirmParams.amount_details.line_items[].payment_method_options.card`, `PaymentIntentCreateParams.amount_details.line_items[].payment_method_options.card`, `PaymentIntentDecrementAuthorizationParams.amount_details.line_items[].payment_method_options.card`, `PaymentIntentIncrementAuthorizationParams.amount_details.line_items[].payment_method_options.card`, and `PaymentIntentUpdateParams.amount_details.line_items[].payment_method_options.card`
|
|
21
|
+
* Add support for new values `ev_battery_exchanges`, `ev_charging_fee`, `evc_level_1`, `evc_level_2`, `evc_level_3`, `evc_level_4`, and `evc_level_5` on enums `PaymentIntentCaptureParams.amount_details.line_items[].payment_method_options.card.fleet_data.product_type`, `PaymentIntentConfirmParams.amount_details.line_items[].payment_method_options.card.fleet_data.product_type`, `PaymentIntentCreateParams.amount_details.line_items[].payment_method_options.card.fleet_data.product_type`, `PaymentIntentDecrementAuthorizationParams.amount_details.line_items[].payment_method_options.card.fleet_data.product_type`, `PaymentIntentIncrementAuthorizationParams.amount_details.line_items[].payment_method_options.card.fleet_data.product_type`, and `PaymentIntentUpdateParams.amount_details.line_items[].payment_method_options.card.fleet_data.product_type`
|
|
22
|
+
* Add support for new value `vipps` on enums `PaymentIntent.excluded_payment_method_types`, `PaymentIntentConfirmParams.excluded_payment_method_types`, `PaymentIntentCreateParams.excluded_payment_method_types`, `PaymentIntentUpdateParams.excluded_payment_method_types`, `SetupIntent.excluded_payment_method_types`, `SetupIntentCreateParams.excluded_payment_method_types`, and `SetupIntentUpdateParams.excluded_payment_method_types`
|
|
23
|
+
* ⚠️ Change type of `PaymentIntent.allowed_payment_method_types` from `string` to `enum`
|
|
24
|
+
* Add support for `tax_items` on `PaymentIntent.payment_details.car_rental_data[].total.tax`, `PaymentIntent.payment_details.flight_data[].total.tax`, and `PaymentIntent.payment_details.lodging_data[].total.tax`
|
|
25
|
+
* ⚠️ Remove support for `taxes` on `PaymentIntent.payment_details.car_rental_data[].total.tax`, `PaymentIntent.payment_details.flight_data[].total.tax`, and `PaymentIntent.payment_details.lodging_data[].total.tax`
|
|
26
|
+
* Change `PaymentRecordCreateParams.closed` to be optional
|
|
27
|
+
* Change `PaymentRecordCreateParams.funded` to be optional
|
|
28
|
+
* Add support for `card` on `Radar.PaymentEvaluationCreateParams.payment_details.payment_method_details`
|
|
29
|
+
* ⚠️ Remove support for `acss_debit`, `afterpay_clearpay`, `alipay`, `alma`, `amazon_pay`, `au_becs_debit`, `bacs_debit`, `bancontact`, `billie`, `bizum`, `blik`, `boleto`, `card_present`, `cashapp`, `crypto`, `customer_balance`, `eps`, `fpx`, `gift_card`, `giropay`, `gopay`, `grabpay`, `id_bank_transfer`, `ideal`, `interac_present`, `kakao_pay`, `konbini`, `kr_card`, `mb_way`, `mobilepay`, `multibanco`, `naver_pay`, `nz_bank_account`, `oxxo`, `p24`, `pay_by_bank`, `payco`, `paynow`, `paypal`, `paypay`, `payto`, `pix`, `promptpay`, `qris`, `rechnung`, `revolut_pay`, `samsung_pay`, `satispay`, `scalapay`, `sepa_debit`, `shopeepay`, `sofort`, `stripe_balance`, `sunbit`, `swish`, `tamara`, `twint`, `upi`, `us_bank_account`, `wechat_pay`, and `zip` on `SharedPayment.GrantedToken.payment_method_details`
|
|
30
|
+
* ⚠️ Add support for new value `shop_pay` on enum `SharedPayment.GrantedToken.payment_method_details.type`
|
|
31
|
+
* ⚠️ Remove support for values `acss_debit`, `afterpay_clearpay`, `alipay`, `alma`, `amazon_pay`, `au_becs_debit`, `bacs_debit`, `bancontact`, `billie`, `bizum`, `blik`, `boleto`, `card_present`, `cashapp`, `crypto`, `custom`, `customer_balance`, `eps`, `fpx`, `gift_card`, `giropay`, `gopay`, `grabpay`, `id_bank_transfer`, `ideal`, `interac_present`, `kakao_pay`, `konbini`, `kr_card`, `mb_way`, `mobilepay`, `multibanco`, `naver_pay`, `nz_bank_account`, `oxxo`, `p24`, `pay_by_bank`, `payco`, `paynow`, `paypal`, `paypay`, `payto`, `pix`, `promptpay`, `qris`, `rechnung`, `revolut_pay`, `samsung_pay`, `satispay`, `scalapay`, `sepa_debit`, `shopeepay`, `sofort`, `stripe_balance`, `sunbit`, `swish`, `tamara`, `twint`, `upi`, `us_bank_account`, `wechat_pay`, and `zip` from enum `SharedPayment.GrantedToken.payment_method_details.type`
|
|
32
|
+
* Add support for `spend_card` on `V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.commercial.stripe`, and `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.commercial.stripe`
|
|
33
|
+
* Add support for new value `commercial.stripe.spend_card` on enums `V2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capability` and `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability`
|
|
34
|
+
* Add support for new value `payment_delinquency_exposure` on enums `V2.Signals.AccountSignal.type` and `V2.Signals.AccountSignalListParams.type`
|
|
35
|
+
* Add support for new value `commercial.stripe.spend_card` on enum `EventsV2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.updated_capability`
|
|
36
|
+
|
|
3
37
|
## 22.4.0-alpha.4 - 2026-07-16
|
|
4
38
|
* [#2782](https://github.com/stripe/stripe-node/pull/2782) Update generated code for private-preview
|
|
5
39
|
* ⚠️ Remove support for resource `FrMealVouchersOnboarding`
|
package/OPENAPI_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
v2345
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
22.4.0-alpha.
|
|
1
|
+
22.4.0-alpha.5
|
|
@@ -60,7 +60,7 @@ export declare class AccountResource extends StripeResource {
|
|
|
60
60
|
/**
|
|
61
61
|
* With [Connect](https://docs.stripe.com/connect), you can reject accounts that you have flagged as suspicious.
|
|
62
62
|
*
|
|
63
|
-
* Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected.
|
|
63
|
+
* Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected.
|
|
64
64
|
*/
|
|
65
65
|
reject(id: string, params: AccountRejectParams, options?: RequestOptions): Promise<Response<Account>>;
|
|
66
66
|
serializeBatchDelete(account: string, params?: Record<string, unknown>, options?: {
|
|
@@ -1173,7 +1173,7 @@ export declare namespace Account {
|
|
|
1173
1173
|
requirement: string;
|
|
1174
1174
|
}
|
|
1175
1175
|
namespace Error {
|
|
1176
|
-
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_signator' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_length' | 'invalid_url_web_presence_detected' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_value_other' | 'unsupported_business_type' | 'verification_data_not_found' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_authorizer_authority' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_legal_entity_structure_mismatch' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_rejected_ownership_exemption_reason' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_supportability';
|
|
1176
|
+
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_signator' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_length' | 'invalid_url_web_presence_detected' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_value_other' | 'partner_disabled_dispute_rate' | 'partner_disabled_responsibilities' | 'partner_disabled_restricted_business' | 'partner_disabled_suspected_fraud' | 'unsupported_business_type' | 'verification_data_not_found' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_authorizer_authority' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_legal_entity_structure_mismatch' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_rejected_ownership_exemption_reason' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_supportability';
|
|
1177
1177
|
}
|
|
1178
1178
|
}
|
|
1179
1179
|
namespace Requirements {
|
|
@@ -1203,7 +1203,7 @@ export declare namespace Account {
|
|
|
1203
1203
|
requirement: string;
|
|
1204
1204
|
}
|
|
1205
1205
|
namespace Error {
|
|
1206
|
-
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_signator' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_length' | 'invalid_url_web_presence_detected' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_value_other' | 'unsupported_business_type' | 'verification_data_not_found' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_authorizer_authority' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_legal_entity_structure_mismatch' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_rejected_ownership_exemption_reason' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_supportability';
|
|
1206
|
+
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_signator' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_length' | 'invalid_url_web_presence_detected' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_value_other' | 'partner_disabled_dispute_rate' | 'partner_disabled_responsibilities' | 'partner_disabled_restricted_business' | 'partner_disabled_suspected_fraud' | 'unsupported_business_type' | 'verification_data_not_found' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_authorizer_authority' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_legal_entity_structure_mismatch' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_rejected_ownership_exemption_reason' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_supportability';
|
|
1207
1207
|
}
|
|
1208
1208
|
}
|
|
1209
1209
|
namespace RiskControls {
|
|
@@ -73,7 +73,7 @@ class AccountResource extends StripeResource_js_1.StripeResource {
|
|
|
73
73
|
/**
|
|
74
74
|
* With [Connect](https://docs.stripe.com/connect), you can reject accounts that you have flagged as suspicious.
|
|
75
75
|
*
|
|
76
|
-
* Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected.
|
|
76
|
+
* Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected.
|
|
77
77
|
*/
|
|
78
78
|
reject(id, params, options) {
|
|
79
79
|
return this._makeRequest('POST', `/v1/accounts/${encodeURIComponent(id)}/reject`, params, options);
|
|
@@ -157,7 +157,7 @@ export declare namespace BankAccount {
|
|
|
157
157
|
requirement: string;
|
|
158
158
|
}
|
|
159
159
|
namespace Error {
|
|
160
|
-
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_signator' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_length' | 'invalid_url_web_presence_detected' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_value_other' | 'unsupported_business_type' | 'verification_data_not_found' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_authorizer_authority' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_legal_entity_structure_mismatch' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_rejected_ownership_exemption_reason' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_supportability';
|
|
160
|
+
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_signator' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_length' | 'invalid_url_web_presence_detected' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_value_other' | 'partner_disabled_dispute_rate' | 'partner_disabled_responsibilities' | 'partner_disabled_restricted_business' | 'partner_disabled_suspected_fraud' | 'unsupported_business_type' | 'verification_data_not_found' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_authorizer_authority' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_legal_entity_structure_mismatch' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_rejected_ownership_exemption_reason' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_supportability';
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
namespace Requirements {
|
|
@@ -176,7 +176,7 @@ export declare namespace BankAccount {
|
|
|
176
176
|
requirement: string;
|
|
177
177
|
}
|
|
178
178
|
namespace Error {
|
|
179
|
-
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_signator' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_length' | 'invalid_url_web_presence_detected' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_value_other' | 'unsupported_business_type' | 'verification_data_not_found' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_authorizer_authority' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_legal_entity_structure_mismatch' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_rejected_ownership_exemption_reason' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_supportability';
|
|
179
|
+
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_signator' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_length' | 'invalid_url_web_presence_detected' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_value_other' | 'partner_disabled_dispute_rate' | 'partner_disabled_responsibilities' | 'partner_disabled_restricted_business' | 'partner_disabled_suspected_fraud' | 'unsupported_business_type' | 'verification_data_not_found' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_authorizer_authority' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_legal_entity_structure_mismatch' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_rejected_ownership_exemption_reason' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_supportability';
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { OtherString } from '../../shared.js';
|
|
2
|
+
export interface AlertNotification {
|
|
3
|
+
/**
|
|
4
|
+
* Unique identifier for the object.
|
|
5
|
+
*/
|
|
6
|
+
id: string;
|
|
7
|
+
/**
|
|
8
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
9
|
+
*/
|
|
10
|
+
object: 'billing.alert_notification';
|
|
11
|
+
/**
|
|
12
|
+
* Whether the alert was triggered or recovered.
|
|
13
|
+
*/
|
|
14
|
+
action: AlertNotification.Action;
|
|
15
|
+
/**
|
|
16
|
+
* End of the aggregation period for which this notification was sent. Only present for usage threshold alerts.
|
|
17
|
+
*/
|
|
18
|
+
aggregation_period_end: number | null;
|
|
19
|
+
/**
|
|
20
|
+
* Start of the aggregation period for which this notification was sent. Only present for usage threshold alerts.
|
|
21
|
+
*/
|
|
22
|
+
aggregation_period_start: number | null;
|
|
23
|
+
/**
|
|
24
|
+
* ID of the billing alert that generated this notification.
|
|
25
|
+
*/
|
|
26
|
+
alert: string;
|
|
27
|
+
/**
|
|
28
|
+
* The type of billing alert that generated this notification.
|
|
29
|
+
*/
|
|
30
|
+
alert_type: AlertNotification.AlertType;
|
|
31
|
+
/**
|
|
32
|
+
* The billing cadence associated with this notification. Only present for spend threshold alerts grouped by billing cadence.
|
|
33
|
+
*/
|
|
34
|
+
cadence: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* Three-letter ISO currency code for the value, in lowercase. Only present for spend and credit balance threshold alerts.
|
|
37
|
+
*/
|
|
38
|
+
currency: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* Custom pricing unit for the threshold value
|
|
41
|
+
*/
|
|
42
|
+
custom_pricing_unit?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* ID of the customer for which the alert notification was sent.
|
|
45
|
+
*/
|
|
46
|
+
customer: string;
|
|
47
|
+
/**
|
|
48
|
+
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
49
|
+
*/
|
|
50
|
+
livemode: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* ID of the billing meter associated with this notification. Only present for usage threshold alerts.
|
|
53
|
+
*/
|
|
54
|
+
meter: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* ID of the event delivered for this notification. Retrievable via the Events API for a limited time; for long-term audit scenarios, capture the full event payload at webhook delivery time.
|
|
57
|
+
*/
|
|
58
|
+
notification_event: string;
|
|
59
|
+
/**
|
|
60
|
+
* Time at which the notification was sent. Measured in seconds since the Unix epoch.
|
|
61
|
+
*/
|
|
62
|
+
notified_at: number;
|
|
63
|
+
/**
|
|
64
|
+
* ID of the subscription associated with this notification. Only present for spend threshold alerts grouped by subscription.
|
|
65
|
+
*/
|
|
66
|
+
subscription: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* The value that triggered the alert. This may be a decimal string for custom pricing unit alerts. For usage threshold alerts, this is the meter event count. For credit balance and spend threshold alerts, this is the amount in the smallest currency unit.
|
|
69
|
+
*/
|
|
70
|
+
value: string;
|
|
71
|
+
}
|
|
72
|
+
export declare namespace AlertNotification {
|
|
73
|
+
type Action = 'recovered' | 'triggered' | OtherString;
|
|
74
|
+
type AlertType = 'credit_balance_threshold' | 'spend_threshold' | 'usage_threshold' | OtherString;
|
|
75
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertNotifications.js","sourceRoot":"","sources":["../../../src/resources/Billing/AlertNotifications.ts"],"names":[],"mappings":";AAAA,uCAAuC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { StripeResource } from '../../StripeResource.js';
|
|
2
|
+
import { AlertNotification } from './AlertNotifications.js';
|
|
2
3
|
import { Customer } from './../Customers.js';
|
|
3
4
|
import { Meter } from './Meters.js';
|
|
4
|
-
import { OtherString, Decimal, PaginationParams, Metadata } from '../../shared.js';
|
|
5
|
+
import { OtherString, Decimal, PaginationParams, RangeQueryParam, Metadata } from '../../shared.js';
|
|
5
6
|
import { RequestOptions, ApiListPromise, Response } from '../../lib.js';
|
|
6
7
|
export declare class AlertResource extends StripeResource {
|
|
7
8
|
/**
|
|
@@ -28,6 +29,10 @@ export declare class AlertResource extends StripeResource {
|
|
|
28
29
|
* Deactivates this alert, preventing it from triggering.
|
|
29
30
|
*/
|
|
30
31
|
deactivate(id: string, params?: Billing.AlertDeactivateParams, options?: RequestOptions): Promise<Response<Alert>>;
|
|
32
|
+
/**
|
|
33
|
+
* Lists sent billing alert triggered and recovered notifications for a billing alert.
|
|
34
|
+
*/
|
|
35
|
+
listNotifications(id: string, params: Billing.AlertListNotificationsParams, options?: RequestOptions): ApiListPromise<AlertNotification>;
|
|
31
36
|
}
|
|
32
37
|
export interface Alert {
|
|
33
38
|
/**
|
|
@@ -353,7 +358,7 @@ export declare namespace Billing {
|
|
|
353
358
|
*/
|
|
354
359
|
filters?: Array<UsageThreshold.Filter>;
|
|
355
360
|
/**
|
|
356
|
-
* Defines the threshold value that triggers the alert.
|
|
361
|
+
* Defines the threshold value that triggers the alert. The value must be greater than 0.
|
|
357
362
|
*/
|
|
358
363
|
gte: number;
|
|
359
364
|
/**
|
|
@@ -592,3 +597,38 @@ export declare namespace Billing {
|
|
|
592
597
|
expand?: Array<string>;
|
|
593
598
|
}
|
|
594
599
|
}
|
|
600
|
+
export declare namespace Billing {
|
|
601
|
+
interface AlertListNotificationsParams extends PaginationParams {
|
|
602
|
+
/**
|
|
603
|
+
* The customer to list notifications for.
|
|
604
|
+
*/
|
|
605
|
+
customer: string;
|
|
606
|
+
/**
|
|
607
|
+
* Filter results to only include triggered or recovered notifications.
|
|
608
|
+
*/
|
|
609
|
+
action?: AlertListNotificationsParams.Action;
|
|
610
|
+
/**
|
|
611
|
+
* Filter results to only include notifications for the given billing cadence.
|
|
612
|
+
*/
|
|
613
|
+
cadence?: string;
|
|
614
|
+
/**
|
|
615
|
+
* Specifies which fields in the response should be expanded.
|
|
616
|
+
*/
|
|
617
|
+
expand?: Array<string>;
|
|
618
|
+
/**
|
|
619
|
+
* Filter results to only include notifications for the given meter.
|
|
620
|
+
*/
|
|
621
|
+
meter?: string;
|
|
622
|
+
/**
|
|
623
|
+
* Filter results according to when the notification was sent.
|
|
624
|
+
*/
|
|
625
|
+
notified_at?: RangeQueryParam | number;
|
|
626
|
+
/**
|
|
627
|
+
* Filter results to only include notifications for the given subscription.
|
|
628
|
+
*/
|
|
629
|
+
subscription?: string;
|
|
630
|
+
}
|
|
631
|
+
namespace AlertListNotificationsParams {
|
|
632
|
+
type Action = 'recovered' | 'triggered';
|
|
633
|
+
}
|
|
634
|
+
}
|
|
@@ -358,6 +358,14 @@ class AlertResource extends StripeResource_js_1.StripeResource {
|
|
|
358
358
|
},
|
|
359
359
|
});
|
|
360
360
|
}
|
|
361
|
+
/**
|
|
362
|
+
* Lists sent billing alert triggered and recovered notifications for a billing alert.
|
|
363
|
+
*/
|
|
364
|
+
listNotifications(id, params, options) {
|
|
365
|
+
return this._makeRequest('GET', `/v1/billing/alerts/${encodeURIComponent(id)}/notifications`, params, options, {
|
|
366
|
+
methodType: 'list',
|
|
367
|
+
});
|
|
368
|
+
}
|
|
361
369
|
}
|
|
362
370
|
exports.AlertResource = AlertResource;
|
|
363
371
|
//# sourceMappingURL=Alerts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alerts.js","sourceRoot":"","sources":["../../../src/resources/Billing/Alerts.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;
|
|
1
|
+
{"version":3,"file":"Alerts.js","sourceRoot":"","sources":["../../../src/resources/Billing/Alerts.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAavD,MAAa,aAAc,SAAQ,kCAAc;IAC/C;;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4BACd,MAAM,EAAE;gCACN,GAAG,EAAE;oCACH,IAAI,EAAE,QAAQ;oCACd,MAAM,EAAE;wCACN,mBAAmB,EAAE;4CACnB,IAAI,EAAE,UAAU;4CAChB,KAAK,EAAE;gDACL,IAAI,EAAE,QAAQ;gDACd,MAAM,EAAE,EAAC,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC,EAAC;6CAC1C;yCACF;qCACF;iCACF;6BACF;yBACF;qBACF;oBACD,eAAe,EAAE;wBACf,IAAI,EAAE,UAAU;wBAChB,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;4BACd,MAAM,EAAE;gCACN,GAAG,EAAE;oCACH,IAAI,EAAE,QAAQ;oCACd,MAAM,EAAE;wCACN,mBAAmB,EAAE;4CACnB,IAAI,EAAE,UAAU;4CAChB,KAAK,EAAE;gDACL,IAAI,EAAE,QAAQ;gDACd,MAAM,EAAE,EAAC,KAAK,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC,EAAC;6CAC1C;yCACF;qCACF;iCACF;6BACF;yBACF;qBACF;iBACF;aACF;SACF,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,iBAAiB,CACf,EAAU,EACV,MAA4C,EAC5C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,sBAAsB,kBAAkB,CAAC,EAAE,CAAC,gBAAgB,EAC5D,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;CACF;AAnaD,sCAmaC"}
|
|
@@ -8,6 +8,7 @@ import { Billing as BillingNamespace5, MeterEvent, MeterEventResource } from './
|
|
|
8
8
|
import { Billing as BillingNamespace6, MeterEventAdjustment, MeterEventAdjustmentResource } from './MeterEventAdjustments.js';
|
|
9
9
|
import { AlertRecovered } from './AlertRecovereds.js';
|
|
10
10
|
import { AlertTriggered } from './AlertTriggereds.js';
|
|
11
|
+
import { AlertNotification } from './AlertNotifications.js';
|
|
11
12
|
import { MeterEventSummary } from './MeterEventSummaries.js';
|
|
12
13
|
import { Analytics } from './Analytics/index.js';
|
|
13
14
|
export { Alert } from './Alerts.js';
|
|
@@ -19,6 +20,7 @@ export { MeterEvent } from './MeterEvents.js';
|
|
|
19
20
|
export { MeterEventAdjustment } from './MeterEventAdjustments.js';
|
|
20
21
|
export { AlertRecovered } from './AlertRecovereds.js';
|
|
21
22
|
export { AlertTriggered } from './AlertTriggereds.js';
|
|
23
|
+
export { AlertNotification } from './AlertNotifications.js';
|
|
22
24
|
export { MeterEventSummary } from './MeterEventSummaries.js';
|
|
23
25
|
export declare class Billing {
|
|
24
26
|
private readonly stripe;
|
|
@@ -39,6 +41,7 @@ export declare namespace Billing {
|
|
|
39
41
|
export import AlertActivateParams = BillingNamespace0.AlertActivateParams;
|
|
40
42
|
export import AlertArchiveParams = BillingNamespace0.AlertArchiveParams;
|
|
41
43
|
export import AlertDeactivateParams = BillingNamespace0.AlertDeactivateParams;
|
|
44
|
+
export import AlertListNotificationsParams = BillingNamespace0.AlertListNotificationsParams;
|
|
42
45
|
export { Alert, AlertResource };
|
|
43
46
|
export import CreditBalanceSummaryRetrieveParams = BillingNamespace1.CreditBalanceSummaryRetrieveParams;
|
|
44
47
|
export { CreditBalanceSummary, CreditBalanceSummaryResource };
|
|
@@ -66,6 +69,7 @@ export declare namespace Billing {
|
|
|
66
69
|
export { MeterEventAdjustment, MeterEventAdjustmentResource };
|
|
67
70
|
export { AlertRecovered };
|
|
68
71
|
export { AlertTriggered };
|
|
72
|
+
export { AlertNotification };
|
|
69
73
|
export { MeterEventSummary };
|
|
70
74
|
export { Analytics };
|
|
71
75
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Billing/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,2CAA+E;AAC/E,uEAImC;AACnC,iFAIwC;AACxC,uDAI2B;AAC3B,2CAA+E;AAC/E,qDAI0B;AAC1B,yEAIoC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Billing/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,2CAA+E;AAC/E,uEAImC;AACnC,iFAIwC;AACxC,uDAI2B;AAC3B,2CAA+E;AAC/E,qDAI0B;AAC1B,yEAIoC;AAKpC,mDAA+C;AAc/C,MAAa,OAAO;IAUlB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,MAAM,GAAG,IAAI,yBAAa,CAAC,MAAM,CAAC,CAAC;QACxC,IAAI,CAAC,sBAAsB,GAAG,IAAI,sDAA4B,CAAC,MAAM,CAAC,CAAC;QACvE,IAAI,CAAC,yBAAyB,GAAG,IAAI,+DAAgC,CACnE,MAAM,CACP,CAAC;QACF,IAAI,CAAC,YAAY,GAAG,IAAI,qCAAmB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,MAAM,GAAG,IAAI,yBAAa,CAAC,MAAM,CAAC,CAAC;QACxC,IAAI,CAAC,WAAW,GAAG,IAAI,mCAAkB,CAAC,MAAM,CAAC,CAAC;QAClD,IAAI,CAAC,qBAAqB,GAAG,IAAI,uDAA4B,CAAC,MAAM,CAAC,CAAC;QACtE,IAAI,CAAC,SAAS,GAAG,IAAI,oBAAS,CAAC,MAAM,CAAC,CAAC;IACzC,CAAC;CACF;AAtBD,0BAsBC"}
|
|
@@ -129,7 +129,7 @@ export declare namespace Capability {
|
|
|
129
129
|
requirement: string;
|
|
130
130
|
}
|
|
131
131
|
namespace Error {
|
|
132
|
-
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_signator' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_length' | 'invalid_url_web_presence_detected' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_value_other' | 'unsupported_business_type' | 'verification_data_not_found' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_authorizer_authority' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_legal_entity_structure_mismatch' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_rejected_ownership_exemption_reason' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_supportability';
|
|
132
|
+
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_signator' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_length' | 'invalid_url_web_presence_detected' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_value_other' | 'partner_disabled_dispute_rate' | 'partner_disabled_responsibilities' | 'partner_disabled_restricted_business' | 'partner_disabled_suspected_fraud' | 'unsupported_business_type' | 'verification_data_not_found' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_authorizer_authority' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_legal_entity_structure_mismatch' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_rejected_ownership_exemption_reason' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_supportability';
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
namespace Protections {
|
|
@@ -178,7 +178,7 @@ export declare namespace Capability {
|
|
|
178
178
|
requirement: string;
|
|
179
179
|
}
|
|
180
180
|
namespace Error {
|
|
181
|
-
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_signator' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_length' | 'invalid_url_web_presence_detected' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_value_other' | 'unsupported_business_type' | 'verification_data_not_found' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_authorizer_authority' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_legal_entity_structure_mismatch' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_rejected_ownership_exemption_reason' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_supportability';
|
|
181
|
+
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_signator' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_length' | 'invalid_url_web_presence_detected' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_value_other' | 'partner_disabled_dispute_rate' | 'partner_disabled_responsibilities' | 'partner_disabled_restricted_business' | 'partner_disabled_suspected_fraud' | 'unsupported_business_type' | 'verification_data_not_found' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_authorizer_authority' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_legal_entity_structure_mismatch' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_rejected_ownership_exemption_reason' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_supportability';
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
}
|
|
@@ -1747,7 +1747,7 @@ export declare namespace Charge {
|
|
|
1747
1747
|
namespace Funding {
|
|
1748
1748
|
interface Card {
|
|
1749
1749
|
/**
|
|
1750
|
-
* Card brand. Can be `
|
|
1750
|
+
* Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
1751
1751
|
*/
|
|
1752
1752
|
brand: string | null;
|
|
1753
1753
|
/**
|
|
@@ -1979,7 +1979,7 @@ export declare namespace Charge {
|
|
|
1979
1979
|
type AuthenticationFlow = 'challenge' | 'frictionless' | OtherString;
|
|
1980
1980
|
type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07' | OtherString;
|
|
1981
1981
|
type ExemptionIndicator = 'low_risk' | 'none' | OtherString;
|
|
1982
|
-
type Result = 'attempt_acknowledged' | 'authenticated' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
|
|
1982
|
+
type Result = 'attempt_acknowledged' | 'authenticated' | 'data_share_only' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
|
|
1983
1983
|
type ResultReason = 'abandoned' | 'bypassed' | 'canceled' | 'card_not_enrolled' | 'network_not_supported' | 'protocol_error' | 'rejected' | OtherString;
|
|
1984
1984
|
type Version = '1.0.2' | '2.1.0' | '2.2.0' | '2.3.0' | '2.3.1' | OtherString;
|
|
1985
1985
|
}
|
|
@@ -2273,7 +2273,7 @@ export declare namespace Charge {
|
|
|
2273
2273
|
namespace Funding {
|
|
2274
2274
|
interface Card {
|
|
2275
2275
|
/**
|
|
2276
|
-
* Card brand. Can be `
|
|
2276
|
+
* Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
2277
2277
|
*/
|
|
2278
2278
|
brand: string | null;
|
|
2279
2279
|
/**
|
|
@@ -162,6 +162,7 @@ export declare namespace ConfirmationToken {
|
|
|
162
162
|
type: PaymentMethodPreview.Type;
|
|
163
163
|
upi?: PaymentMethodPreview.Upi;
|
|
164
164
|
us_bank_account?: PaymentMethodPreview.UsBankAccount;
|
|
165
|
+
vipps?: PaymentMethodPreview.Vipps;
|
|
165
166
|
wechat_pay?: PaymentMethodPreview.WechatPay;
|
|
166
167
|
zip?: PaymentMethodPreview.Zip;
|
|
167
168
|
}
|
|
@@ -820,7 +821,7 @@ export declare namespace ConfirmationToken {
|
|
|
820
821
|
}
|
|
821
822
|
interface Twint {
|
|
822
823
|
}
|
|
823
|
-
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'card_present' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
824
|
+
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'card_present' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
|
|
824
825
|
interface Upi {
|
|
825
826
|
/**
|
|
826
827
|
* Customer's unique Virtual Payment Address
|
|
@@ -869,6 +870,8 @@ export declare namespace ConfirmationToken {
|
|
|
869
870
|
*/
|
|
870
871
|
status_details: UsBankAccount.StatusDetails | null;
|
|
871
872
|
}
|
|
873
|
+
interface Vipps {
|
|
874
|
+
}
|
|
872
875
|
interface WechatPay {
|
|
873
876
|
}
|
|
874
877
|
interface Zip {
|
|
@@ -26,5 +26,5 @@ export interface CustomerConsumerWallet {
|
|
|
26
26
|
wallet_address: string;
|
|
27
27
|
}
|
|
28
28
|
export declare namespace CustomerConsumerWallet {
|
|
29
|
-
type Network = 'aptos' | 'avalanche' | 'base' | 'bitcoin' | 'ethereum' | 'optimism' | 'polygon' | 'solana' | 'stellar' | 'worldchain' | OtherString;
|
|
29
|
+
type Network = 'aptos' | 'avalanche' | 'base' | 'bitcoin' | 'ethereum' | 'optimism' | 'polygon' | 'solana' | 'stellar' | 'sui' | 'worldchain' | OtherString;
|
|
30
30
|
}
|