stripe 22.2.0-alpha.2 → 22.2.0-alpha.3
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 +6 -0
- package/VERSION +1 -1
- package/cjs/resources/V2/Core/Accounts.d.ts +251 -2
- package/cjs/resources/V2/Core/Events.d.ts +1 -1
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/V2/Core/Accounts.d.ts +251 -2
- package/esm/resources/V2/Core/Events.d.ts +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,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 22.2.0-alpha.3 - 2026-04-28
|
|
4
|
+
* [#2696](https://github.com/stripe/stripe-node/pull/2696) Update generated code for private-preview
|
|
5
|
+
* Add support for `debit_card` on `V2.Core.Account.configuration.card_creator.capabilities.consumer.lead`, `V2.Core.Account.identity.attestations.terms_of_service.card_creator.consumer.lead`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.consumer.lead`, `V2.Core.AccountCreateParams.identity.attestations.terms_of_service.card_creator.consumer.lead`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.consumer.lead`, and `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service.card_creator.consumer.lead`
|
|
6
|
+
* ⚠️ Add support for new value `consumer.lead.debit_card` on enums `V2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capability` and `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability`
|
|
7
|
+
* ⚠️ Add support for new value `consumer.lead.debit_card` on enum `EventsV2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.updated_capability`
|
|
8
|
+
|
|
3
9
|
## 22.2.0-alpha.2 - 2026-04-28
|
|
4
10
|
* [#2695](https://github.com/stripe/stripe-node/pull/2695) Update generated code for private-preview
|
|
5
11
|
* Add support for new resource `V2.Data.Analytics.MetricQueryResult`
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
22.2.0-alpha.
|
|
1
|
+
22.2.0-alpha.3
|
|
@@ -711,6 +711,10 @@ export declare namespace V2 {
|
|
|
711
711
|
prepaid_card?: CrossRiverBank.PrepaidCard;
|
|
712
712
|
}
|
|
713
713
|
interface Lead {
|
|
714
|
+
/**
|
|
715
|
+
* Can create consumer issuing debit cards with Lead as BIN sponsor.
|
|
716
|
+
*/
|
|
717
|
+
debit_card?: Lead.DebitCard;
|
|
714
718
|
/**
|
|
715
719
|
* Can create consumer issuing prepaid cards with Lead as BIN sponsor.
|
|
716
720
|
*/
|
|
@@ -775,6 +779,16 @@ export declare namespace V2 {
|
|
|
775
779
|
}
|
|
776
780
|
}
|
|
777
781
|
namespace Lead {
|
|
782
|
+
interface DebitCard {
|
|
783
|
+
/**
|
|
784
|
+
* The status of the Capability.
|
|
785
|
+
*/
|
|
786
|
+
status: DebitCard.Status;
|
|
787
|
+
/**
|
|
788
|
+
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
789
|
+
*/
|
|
790
|
+
status_details: Array<DebitCard.StatusDetail>;
|
|
791
|
+
}
|
|
778
792
|
interface PrepaidCard {
|
|
779
793
|
/**
|
|
780
794
|
* The status of the Capability.
|
|
@@ -785,6 +799,23 @@ export declare namespace V2 {
|
|
|
785
799
|
*/
|
|
786
800
|
status_details: Array<PrepaidCard.StatusDetail>;
|
|
787
801
|
}
|
|
802
|
+
namespace DebitCard {
|
|
803
|
+
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
804
|
+
interface StatusDetail {
|
|
805
|
+
/**
|
|
806
|
+
* Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
807
|
+
*/
|
|
808
|
+
code: StatusDetail.Code;
|
|
809
|
+
/**
|
|
810
|
+
* Machine-readable code explaining how to make the Capability active.
|
|
811
|
+
*/
|
|
812
|
+
resolution: StatusDetail.Resolution;
|
|
813
|
+
}
|
|
814
|
+
namespace StatusDetail {
|
|
815
|
+
type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
|
|
816
|
+
type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
|
|
817
|
+
}
|
|
818
|
+
}
|
|
788
819
|
namespace PrepaidCard {
|
|
789
820
|
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
790
821
|
interface StatusDetail {
|
|
@@ -3585,7 +3616,7 @@ export declare namespace V2 {
|
|
|
3585
3616
|
deadline: RestrictsCapability.Deadline;
|
|
3586
3617
|
}
|
|
3587
3618
|
namespace RestrictsCapability {
|
|
3588
|
-
type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.holds_currencies.usd' | 'consumer.lead.prepaid_card' | 'crypto_wallets' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_payments.paper_checks' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments';
|
|
3619
|
+
type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.holds_currencies.usd' | 'consumer.lead.debit_card' | 'consumer.lead.prepaid_card' | 'crypto_wallets' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_payments.paper_checks' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments';
|
|
3589
3620
|
type Configuration = 'card_creator' | 'customer' | 'merchant' | 'recipient' | 'storer';
|
|
3590
3621
|
interface Deadline {
|
|
3591
3622
|
/**
|
|
@@ -4594,6 +4625,10 @@ export declare namespace V2 {
|
|
|
4594
4625
|
* Terms of service acceptances for commercial issuing Apple Pay cards with Lead as BIN sponsor.
|
|
4595
4626
|
*/
|
|
4596
4627
|
apple_pay?: Lead.ApplePay;
|
|
4628
|
+
/**
|
|
4629
|
+
* Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor.
|
|
4630
|
+
*/
|
|
4631
|
+
debit_card?: Lead.DebitCard;
|
|
4597
4632
|
/**
|
|
4598
4633
|
* Terms of service acceptances for commercial issuing revolving credit cards with Lead as BIN sponsor.
|
|
4599
4634
|
*/
|
|
@@ -4780,6 +4815,20 @@ export declare namespace V2 {
|
|
|
4780
4815
|
*/
|
|
4781
4816
|
user_agent?: string;
|
|
4782
4817
|
}
|
|
4818
|
+
interface DebitCard {
|
|
4819
|
+
/**
|
|
4820
|
+
* Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
4821
|
+
*/
|
|
4822
|
+
bank_terms?: DebitCard.BankTerms;
|
|
4823
|
+
/**
|
|
4824
|
+
* Financial disclosures terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
4825
|
+
*/
|
|
4826
|
+
financing_disclosures?: DebitCard.FinancingDisclosures;
|
|
4827
|
+
/**
|
|
4828
|
+
* Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
4829
|
+
*/
|
|
4830
|
+
platform?: DebitCard.Platform;
|
|
4831
|
+
}
|
|
4783
4832
|
interface PrepaidCard {
|
|
4784
4833
|
/**
|
|
4785
4834
|
* Bank terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor.
|
|
@@ -4794,6 +4843,62 @@ export declare namespace V2 {
|
|
|
4794
4843
|
*/
|
|
4795
4844
|
platform?: PrepaidCard.Platform;
|
|
4796
4845
|
}
|
|
4846
|
+
namespace DebitCard {
|
|
4847
|
+
interface BankTerms {
|
|
4848
|
+
/**
|
|
4849
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
4850
|
+
*/
|
|
4851
|
+
date?: string;
|
|
4852
|
+
/**
|
|
4853
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
4854
|
+
*/
|
|
4855
|
+
ip?: string;
|
|
4856
|
+
/**
|
|
4857
|
+
* The URL to the service agreement the Account's representative accepted.
|
|
4858
|
+
*/
|
|
4859
|
+
url?: string;
|
|
4860
|
+
/**
|
|
4861
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
4862
|
+
*/
|
|
4863
|
+
user_agent?: string;
|
|
4864
|
+
}
|
|
4865
|
+
interface FinancingDisclosures {
|
|
4866
|
+
/**
|
|
4867
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
4868
|
+
*/
|
|
4869
|
+
date?: string;
|
|
4870
|
+
/**
|
|
4871
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
4872
|
+
*/
|
|
4873
|
+
ip?: string;
|
|
4874
|
+
/**
|
|
4875
|
+
* The URL to the service agreement the Account's representative accepted.
|
|
4876
|
+
*/
|
|
4877
|
+
url?: string;
|
|
4878
|
+
/**
|
|
4879
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
4880
|
+
*/
|
|
4881
|
+
user_agent?: string;
|
|
4882
|
+
}
|
|
4883
|
+
interface Platform {
|
|
4884
|
+
/**
|
|
4885
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
4886
|
+
*/
|
|
4887
|
+
date?: string;
|
|
4888
|
+
/**
|
|
4889
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
4890
|
+
*/
|
|
4891
|
+
ip?: string;
|
|
4892
|
+
/**
|
|
4893
|
+
* The URL to the service agreement the Account's representative accepted.
|
|
4894
|
+
*/
|
|
4895
|
+
url?: string;
|
|
4896
|
+
/**
|
|
4897
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
4898
|
+
*/
|
|
4899
|
+
user_agent?: string;
|
|
4900
|
+
}
|
|
4901
|
+
}
|
|
4797
4902
|
namespace PrepaidCard {
|
|
4798
4903
|
interface BankTerms {
|
|
4799
4904
|
/**
|
|
@@ -5655,7 +5760,7 @@ export declare namespace V2 {
|
|
|
5655
5760
|
deadline: RestrictsCapability.Deadline;
|
|
5656
5761
|
}
|
|
5657
5762
|
namespace RestrictsCapability {
|
|
5658
|
-
type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.holds_currencies.usd' | 'consumer.lead.prepaid_card' | 'crypto_wallets' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_payments.paper_checks' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments';
|
|
5763
|
+
type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.holds_currencies.usd' | 'consumer.lead.debit_card' | 'consumer.lead.prepaid_card' | 'crypto_wallets' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_payments.paper_checks' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments';
|
|
5659
5764
|
type Configuration = 'card_creator' | 'customer' | 'merchant' | 'recipient' | 'storer';
|
|
5660
5765
|
interface Deadline {
|
|
5661
5766
|
/**
|
|
@@ -6107,6 +6212,10 @@ export declare namespace V2 {
|
|
|
6107
6212
|
prepaid_card?: CrossRiverBank.PrepaidCard;
|
|
6108
6213
|
}
|
|
6109
6214
|
interface Lead {
|
|
6215
|
+
/**
|
|
6216
|
+
* Can create consumer issuing debit cards with Lead as BIN sponsor.
|
|
6217
|
+
*/
|
|
6218
|
+
debit_card?: Lead.DebitCard;
|
|
6110
6219
|
/**
|
|
6111
6220
|
* Can create consumer issuing prepaid cards with Lead as BIN sponsor.
|
|
6112
6221
|
*/
|
|
@@ -6129,6 +6238,12 @@ export declare namespace V2 {
|
|
|
6129
6238
|
}
|
|
6130
6239
|
}
|
|
6131
6240
|
namespace Lead {
|
|
6241
|
+
interface DebitCard {
|
|
6242
|
+
/**
|
|
6243
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
6244
|
+
*/
|
|
6245
|
+
requested: boolean;
|
|
6246
|
+
}
|
|
6132
6247
|
interface PrepaidCard {
|
|
6133
6248
|
/**
|
|
6134
6249
|
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
@@ -8134,6 +8249,10 @@ export declare namespace V2 {
|
|
|
8134
8249
|
user_agent?: string;
|
|
8135
8250
|
}
|
|
8136
8251
|
interface Lead {
|
|
8252
|
+
/**
|
|
8253
|
+
* Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor.
|
|
8254
|
+
*/
|
|
8255
|
+
debit_card?: Lead.DebitCard;
|
|
8137
8256
|
/**
|
|
8138
8257
|
* Terms of service acceptances for consumer issuing prepaid cards with Lead as BIN sponsor.
|
|
8139
8258
|
*/
|
|
@@ -8274,6 +8393,20 @@ export declare namespace V2 {
|
|
|
8274
8393
|
}
|
|
8275
8394
|
}
|
|
8276
8395
|
namespace Lead {
|
|
8396
|
+
interface DebitCard {
|
|
8397
|
+
/**
|
|
8398
|
+
* Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
8399
|
+
*/
|
|
8400
|
+
bank_terms?: DebitCard.BankTerms;
|
|
8401
|
+
/**
|
|
8402
|
+
* Financial disclosures terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
8403
|
+
*/
|
|
8404
|
+
financing_disclosures?: DebitCard.FinancingDisclosures;
|
|
8405
|
+
/**
|
|
8406
|
+
* Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
8407
|
+
*/
|
|
8408
|
+
platform?: DebitCard.Platform;
|
|
8409
|
+
}
|
|
8277
8410
|
interface PrepaidCard {
|
|
8278
8411
|
/**
|
|
8279
8412
|
* Bank terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor.
|
|
@@ -8288,6 +8421,50 @@ export declare namespace V2 {
|
|
|
8288
8421
|
*/
|
|
8289
8422
|
platform?: PrepaidCard.Platform;
|
|
8290
8423
|
}
|
|
8424
|
+
namespace DebitCard {
|
|
8425
|
+
interface BankTerms {
|
|
8426
|
+
/**
|
|
8427
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
8428
|
+
*/
|
|
8429
|
+
date: string;
|
|
8430
|
+
/**
|
|
8431
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
8432
|
+
*/
|
|
8433
|
+
ip: string;
|
|
8434
|
+
/**
|
|
8435
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
8436
|
+
*/
|
|
8437
|
+
user_agent?: string;
|
|
8438
|
+
}
|
|
8439
|
+
interface FinancingDisclosures {
|
|
8440
|
+
/**
|
|
8441
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
8442
|
+
*/
|
|
8443
|
+
date: string;
|
|
8444
|
+
/**
|
|
8445
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
8446
|
+
*/
|
|
8447
|
+
ip: string;
|
|
8448
|
+
/**
|
|
8449
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
8450
|
+
*/
|
|
8451
|
+
user_agent?: string;
|
|
8452
|
+
}
|
|
8453
|
+
interface Platform {
|
|
8454
|
+
/**
|
|
8455
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
8456
|
+
*/
|
|
8457
|
+
date: string;
|
|
8458
|
+
/**
|
|
8459
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
8460
|
+
*/
|
|
8461
|
+
ip: string;
|
|
8462
|
+
/**
|
|
8463
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
8464
|
+
*/
|
|
8465
|
+
user_agent?: string;
|
|
8466
|
+
}
|
|
8467
|
+
}
|
|
8291
8468
|
namespace PrepaidCard {
|
|
8292
8469
|
interface BankTerms {
|
|
8293
8470
|
/**
|
|
@@ -9460,6 +9637,10 @@ export declare namespace V2 {
|
|
|
9460
9637
|
prepaid_card?: CrossRiverBank.PrepaidCard;
|
|
9461
9638
|
}
|
|
9462
9639
|
interface Lead {
|
|
9640
|
+
/**
|
|
9641
|
+
* Can create consumer issuing debit cards with Lead as BIN sponsor.
|
|
9642
|
+
*/
|
|
9643
|
+
debit_card?: Lead.DebitCard;
|
|
9463
9644
|
/**
|
|
9464
9645
|
* Can create consumer issuing prepaid cards with Lead as BIN sponsor.
|
|
9465
9646
|
*/
|
|
@@ -9482,6 +9663,12 @@ export declare namespace V2 {
|
|
|
9482
9663
|
}
|
|
9483
9664
|
}
|
|
9484
9665
|
namespace Lead {
|
|
9666
|
+
interface DebitCard {
|
|
9667
|
+
/**
|
|
9668
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
9669
|
+
*/
|
|
9670
|
+
requested?: boolean;
|
|
9671
|
+
}
|
|
9485
9672
|
interface PrepaidCard {
|
|
9486
9673
|
/**
|
|
9487
9674
|
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
@@ -11450,6 +11637,10 @@ export declare namespace V2 {
|
|
|
11450
11637
|
* Terms of service acceptances for consumer issuing Apple Pay cards with Lead as BIN sponsor.
|
|
11451
11638
|
*/
|
|
11452
11639
|
apple_pay?: Lead.ApplePay;
|
|
11640
|
+
/**
|
|
11641
|
+
* Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor.
|
|
11642
|
+
*/
|
|
11643
|
+
debit_card?: Lead.DebitCard;
|
|
11453
11644
|
/**
|
|
11454
11645
|
* Terms of service acceptances for consumer issuing prepaid cards with Lead as BIN sponsor.
|
|
11455
11646
|
*/
|
|
@@ -11604,6 +11795,20 @@ export declare namespace V2 {
|
|
|
11604
11795
|
*/
|
|
11605
11796
|
user_agent?: string;
|
|
11606
11797
|
}
|
|
11798
|
+
interface DebitCard {
|
|
11799
|
+
/**
|
|
11800
|
+
* Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
11801
|
+
*/
|
|
11802
|
+
bank_terms?: DebitCard.BankTerms;
|
|
11803
|
+
/**
|
|
11804
|
+
* Financial disclosures terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
11805
|
+
*/
|
|
11806
|
+
financing_disclosures?: DebitCard.FinancingDisclosures;
|
|
11807
|
+
/**
|
|
11808
|
+
* Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
11809
|
+
*/
|
|
11810
|
+
platform?: DebitCard.Platform;
|
|
11811
|
+
}
|
|
11607
11812
|
interface PrepaidCard {
|
|
11608
11813
|
/**
|
|
11609
11814
|
* Bank terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor.
|
|
@@ -11618,6 +11823,50 @@ export declare namespace V2 {
|
|
|
11618
11823
|
*/
|
|
11619
11824
|
platform?: PrepaidCard.Platform;
|
|
11620
11825
|
}
|
|
11826
|
+
namespace DebitCard {
|
|
11827
|
+
interface BankTerms {
|
|
11828
|
+
/**
|
|
11829
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
11830
|
+
*/
|
|
11831
|
+
date?: string;
|
|
11832
|
+
/**
|
|
11833
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
11834
|
+
*/
|
|
11835
|
+
ip?: string;
|
|
11836
|
+
/**
|
|
11837
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
11838
|
+
*/
|
|
11839
|
+
user_agent?: string;
|
|
11840
|
+
}
|
|
11841
|
+
interface FinancingDisclosures {
|
|
11842
|
+
/**
|
|
11843
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
11844
|
+
*/
|
|
11845
|
+
date?: string;
|
|
11846
|
+
/**
|
|
11847
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
11848
|
+
*/
|
|
11849
|
+
ip?: string;
|
|
11850
|
+
/**
|
|
11851
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
11852
|
+
*/
|
|
11853
|
+
user_agent?: string;
|
|
11854
|
+
}
|
|
11855
|
+
interface Platform {
|
|
11856
|
+
/**
|
|
11857
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
11858
|
+
*/
|
|
11859
|
+
date?: string;
|
|
11860
|
+
/**
|
|
11861
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
11862
|
+
*/
|
|
11863
|
+
ip?: string;
|
|
11864
|
+
/**
|
|
11865
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
11866
|
+
*/
|
|
11867
|
+
user_agent?: string;
|
|
11868
|
+
}
|
|
11869
|
+
}
|
|
11621
11870
|
namespace PrepaidCard {
|
|
11622
11871
|
interface BankTerms {
|
|
11623
11872
|
/**
|
|
@@ -4019,7 +4019,7 @@ export declare namespace V2CoreAccountIncludingConfigurationCardCreatorCapabilit
|
|
|
4019
4019
|
updated_capability: Data.UpdatedCapability;
|
|
4020
4020
|
}
|
|
4021
4021
|
namespace Data {
|
|
4022
|
-
type UpdatedCapability = 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.lead.prepaid_card';
|
|
4022
|
+
type UpdatedCapability = 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.lead.debit_card' | 'consumer.lead.prepaid_card';
|
|
4023
4023
|
}
|
|
4024
4024
|
}
|
|
4025
4025
|
/**
|
package/cjs/stripe.core.js
CHANGED
|
@@ -612,7 +612,7 @@ class Stripe {
|
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
614
|
exports.Stripe = Stripe;
|
|
615
|
-
Stripe.PACKAGE_VERSION = '22.2.0-alpha.
|
|
615
|
+
Stripe.PACKAGE_VERSION = '22.2.0-alpha.3';
|
|
616
616
|
Stripe.API_VERSION = apiVersion_js_1.ApiVersion;
|
|
617
617
|
Stripe.aiAgent = typeof process !== 'undefined' && process.env
|
|
618
618
|
? (0, utils_js_1.detectAIAgent)(process.env)
|
|
@@ -711,6 +711,10 @@ export declare namespace V2 {
|
|
|
711
711
|
prepaid_card?: CrossRiverBank.PrepaidCard;
|
|
712
712
|
}
|
|
713
713
|
interface Lead {
|
|
714
|
+
/**
|
|
715
|
+
* Can create consumer issuing debit cards with Lead as BIN sponsor.
|
|
716
|
+
*/
|
|
717
|
+
debit_card?: Lead.DebitCard;
|
|
714
718
|
/**
|
|
715
719
|
* Can create consumer issuing prepaid cards with Lead as BIN sponsor.
|
|
716
720
|
*/
|
|
@@ -775,6 +779,16 @@ export declare namespace V2 {
|
|
|
775
779
|
}
|
|
776
780
|
}
|
|
777
781
|
namespace Lead {
|
|
782
|
+
interface DebitCard {
|
|
783
|
+
/**
|
|
784
|
+
* The status of the Capability.
|
|
785
|
+
*/
|
|
786
|
+
status: DebitCard.Status;
|
|
787
|
+
/**
|
|
788
|
+
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
789
|
+
*/
|
|
790
|
+
status_details: Array<DebitCard.StatusDetail>;
|
|
791
|
+
}
|
|
778
792
|
interface PrepaidCard {
|
|
779
793
|
/**
|
|
780
794
|
* The status of the Capability.
|
|
@@ -785,6 +799,23 @@ export declare namespace V2 {
|
|
|
785
799
|
*/
|
|
786
800
|
status_details: Array<PrepaidCard.StatusDetail>;
|
|
787
801
|
}
|
|
802
|
+
namespace DebitCard {
|
|
803
|
+
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
804
|
+
interface StatusDetail {
|
|
805
|
+
/**
|
|
806
|
+
* Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
807
|
+
*/
|
|
808
|
+
code: StatusDetail.Code;
|
|
809
|
+
/**
|
|
810
|
+
* Machine-readable code explaining how to make the Capability active.
|
|
811
|
+
*/
|
|
812
|
+
resolution: StatusDetail.Resolution;
|
|
813
|
+
}
|
|
814
|
+
namespace StatusDetail {
|
|
815
|
+
type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
|
|
816
|
+
type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
|
|
817
|
+
}
|
|
818
|
+
}
|
|
788
819
|
namespace PrepaidCard {
|
|
789
820
|
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
790
821
|
interface StatusDetail {
|
|
@@ -3585,7 +3616,7 @@ export declare namespace V2 {
|
|
|
3585
3616
|
deadline: RestrictsCapability.Deadline;
|
|
3586
3617
|
}
|
|
3587
3618
|
namespace RestrictsCapability {
|
|
3588
|
-
type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.holds_currencies.usd' | 'consumer.lead.prepaid_card' | 'crypto_wallets' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_payments.paper_checks' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments';
|
|
3619
|
+
type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.holds_currencies.usd' | 'consumer.lead.debit_card' | 'consumer.lead.prepaid_card' | 'crypto_wallets' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_payments.paper_checks' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments';
|
|
3589
3620
|
type Configuration = 'card_creator' | 'customer' | 'merchant' | 'recipient' | 'storer';
|
|
3590
3621
|
interface Deadline {
|
|
3591
3622
|
/**
|
|
@@ -4594,6 +4625,10 @@ export declare namespace V2 {
|
|
|
4594
4625
|
* Terms of service acceptances for commercial issuing Apple Pay cards with Lead as BIN sponsor.
|
|
4595
4626
|
*/
|
|
4596
4627
|
apple_pay?: Lead.ApplePay;
|
|
4628
|
+
/**
|
|
4629
|
+
* Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor.
|
|
4630
|
+
*/
|
|
4631
|
+
debit_card?: Lead.DebitCard;
|
|
4597
4632
|
/**
|
|
4598
4633
|
* Terms of service acceptances for commercial issuing revolving credit cards with Lead as BIN sponsor.
|
|
4599
4634
|
*/
|
|
@@ -4780,6 +4815,20 @@ export declare namespace V2 {
|
|
|
4780
4815
|
*/
|
|
4781
4816
|
user_agent?: string;
|
|
4782
4817
|
}
|
|
4818
|
+
interface DebitCard {
|
|
4819
|
+
/**
|
|
4820
|
+
* Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
4821
|
+
*/
|
|
4822
|
+
bank_terms?: DebitCard.BankTerms;
|
|
4823
|
+
/**
|
|
4824
|
+
* Financial disclosures terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
4825
|
+
*/
|
|
4826
|
+
financing_disclosures?: DebitCard.FinancingDisclosures;
|
|
4827
|
+
/**
|
|
4828
|
+
* Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
4829
|
+
*/
|
|
4830
|
+
platform?: DebitCard.Platform;
|
|
4831
|
+
}
|
|
4783
4832
|
interface PrepaidCard {
|
|
4784
4833
|
/**
|
|
4785
4834
|
* Bank terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor.
|
|
@@ -4794,6 +4843,62 @@ export declare namespace V2 {
|
|
|
4794
4843
|
*/
|
|
4795
4844
|
platform?: PrepaidCard.Platform;
|
|
4796
4845
|
}
|
|
4846
|
+
namespace DebitCard {
|
|
4847
|
+
interface BankTerms {
|
|
4848
|
+
/**
|
|
4849
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
4850
|
+
*/
|
|
4851
|
+
date?: string;
|
|
4852
|
+
/**
|
|
4853
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
4854
|
+
*/
|
|
4855
|
+
ip?: string;
|
|
4856
|
+
/**
|
|
4857
|
+
* The URL to the service agreement the Account's representative accepted.
|
|
4858
|
+
*/
|
|
4859
|
+
url?: string;
|
|
4860
|
+
/**
|
|
4861
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
4862
|
+
*/
|
|
4863
|
+
user_agent?: string;
|
|
4864
|
+
}
|
|
4865
|
+
interface FinancingDisclosures {
|
|
4866
|
+
/**
|
|
4867
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
4868
|
+
*/
|
|
4869
|
+
date?: string;
|
|
4870
|
+
/**
|
|
4871
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
4872
|
+
*/
|
|
4873
|
+
ip?: string;
|
|
4874
|
+
/**
|
|
4875
|
+
* The URL to the service agreement the Account's representative accepted.
|
|
4876
|
+
*/
|
|
4877
|
+
url?: string;
|
|
4878
|
+
/**
|
|
4879
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
4880
|
+
*/
|
|
4881
|
+
user_agent?: string;
|
|
4882
|
+
}
|
|
4883
|
+
interface Platform {
|
|
4884
|
+
/**
|
|
4885
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
4886
|
+
*/
|
|
4887
|
+
date?: string;
|
|
4888
|
+
/**
|
|
4889
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
4890
|
+
*/
|
|
4891
|
+
ip?: string;
|
|
4892
|
+
/**
|
|
4893
|
+
* The URL to the service agreement the Account's representative accepted.
|
|
4894
|
+
*/
|
|
4895
|
+
url?: string;
|
|
4896
|
+
/**
|
|
4897
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
4898
|
+
*/
|
|
4899
|
+
user_agent?: string;
|
|
4900
|
+
}
|
|
4901
|
+
}
|
|
4797
4902
|
namespace PrepaidCard {
|
|
4798
4903
|
interface BankTerms {
|
|
4799
4904
|
/**
|
|
@@ -5655,7 +5760,7 @@ export declare namespace V2 {
|
|
|
5655
5760
|
deadline: RestrictsCapability.Deadline;
|
|
5656
5761
|
}
|
|
5657
5762
|
namespace RestrictsCapability {
|
|
5658
|
-
type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.holds_currencies.usd' | 'consumer.lead.prepaid_card' | 'crypto_wallets' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_payments.paper_checks' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments';
|
|
5763
|
+
type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.instant' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.holds_currencies.usd' | 'consumer.lead.debit_card' | 'consumer.lead.prepaid_card' | 'crypto_wallets' | 'eps_payments' | 'financial_addresses.bank_accounts' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'holds_currencies.eur' | 'holds_currencies.gbp' | 'holds_currencies.usd' | 'ideal_payments' | 'inbound_transfers.financial_accounts' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'outbound_payments.bank_accounts' | 'outbound_payments.cards' | 'outbound_payments.financial_accounts' | 'outbound_payments.paper_checks' | 'outbound_transfers.bank_accounts' | 'outbound_transfers.financial_accounts' | 'oxxo_payments' | 'p24_payments' | 'paper_checks' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments';
|
|
5659
5764
|
type Configuration = 'card_creator' | 'customer' | 'merchant' | 'recipient' | 'storer';
|
|
5660
5765
|
interface Deadline {
|
|
5661
5766
|
/**
|
|
@@ -6107,6 +6212,10 @@ export declare namespace V2 {
|
|
|
6107
6212
|
prepaid_card?: CrossRiverBank.PrepaidCard;
|
|
6108
6213
|
}
|
|
6109
6214
|
interface Lead {
|
|
6215
|
+
/**
|
|
6216
|
+
* Can create consumer issuing debit cards with Lead as BIN sponsor.
|
|
6217
|
+
*/
|
|
6218
|
+
debit_card?: Lead.DebitCard;
|
|
6110
6219
|
/**
|
|
6111
6220
|
* Can create consumer issuing prepaid cards with Lead as BIN sponsor.
|
|
6112
6221
|
*/
|
|
@@ -6129,6 +6238,12 @@ export declare namespace V2 {
|
|
|
6129
6238
|
}
|
|
6130
6239
|
}
|
|
6131
6240
|
namespace Lead {
|
|
6241
|
+
interface DebitCard {
|
|
6242
|
+
/**
|
|
6243
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
6244
|
+
*/
|
|
6245
|
+
requested: boolean;
|
|
6246
|
+
}
|
|
6132
6247
|
interface PrepaidCard {
|
|
6133
6248
|
/**
|
|
6134
6249
|
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
@@ -8134,6 +8249,10 @@ export declare namespace V2 {
|
|
|
8134
8249
|
user_agent?: string;
|
|
8135
8250
|
}
|
|
8136
8251
|
interface Lead {
|
|
8252
|
+
/**
|
|
8253
|
+
* Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor.
|
|
8254
|
+
*/
|
|
8255
|
+
debit_card?: Lead.DebitCard;
|
|
8137
8256
|
/**
|
|
8138
8257
|
* Terms of service acceptances for consumer issuing prepaid cards with Lead as BIN sponsor.
|
|
8139
8258
|
*/
|
|
@@ -8274,6 +8393,20 @@ export declare namespace V2 {
|
|
|
8274
8393
|
}
|
|
8275
8394
|
}
|
|
8276
8395
|
namespace Lead {
|
|
8396
|
+
interface DebitCard {
|
|
8397
|
+
/**
|
|
8398
|
+
* Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
8399
|
+
*/
|
|
8400
|
+
bank_terms?: DebitCard.BankTerms;
|
|
8401
|
+
/**
|
|
8402
|
+
* Financial disclosures terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
8403
|
+
*/
|
|
8404
|
+
financing_disclosures?: DebitCard.FinancingDisclosures;
|
|
8405
|
+
/**
|
|
8406
|
+
* Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
8407
|
+
*/
|
|
8408
|
+
platform?: DebitCard.Platform;
|
|
8409
|
+
}
|
|
8277
8410
|
interface PrepaidCard {
|
|
8278
8411
|
/**
|
|
8279
8412
|
* Bank terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor.
|
|
@@ -8288,6 +8421,50 @@ export declare namespace V2 {
|
|
|
8288
8421
|
*/
|
|
8289
8422
|
platform?: PrepaidCard.Platform;
|
|
8290
8423
|
}
|
|
8424
|
+
namespace DebitCard {
|
|
8425
|
+
interface BankTerms {
|
|
8426
|
+
/**
|
|
8427
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
8428
|
+
*/
|
|
8429
|
+
date: string;
|
|
8430
|
+
/**
|
|
8431
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
8432
|
+
*/
|
|
8433
|
+
ip: string;
|
|
8434
|
+
/**
|
|
8435
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
8436
|
+
*/
|
|
8437
|
+
user_agent?: string;
|
|
8438
|
+
}
|
|
8439
|
+
interface FinancingDisclosures {
|
|
8440
|
+
/**
|
|
8441
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
8442
|
+
*/
|
|
8443
|
+
date: string;
|
|
8444
|
+
/**
|
|
8445
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
8446
|
+
*/
|
|
8447
|
+
ip: string;
|
|
8448
|
+
/**
|
|
8449
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
8450
|
+
*/
|
|
8451
|
+
user_agent?: string;
|
|
8452
|
+
}
|
|
8453
|
+
interface Platform {
|
|
8454
|
+
/**
|
|
8455
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
8456
|
+
*/
|
|
8457
|
+
date: string;
|
|
8458
|
+
/**
|
|
8459
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
8460
|
+
*/
|
|
8461
|
+
ip: string;
|
|
8462
|
+
/**
|
|
8463
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
8464
|
+
*/
|
|
8465
|
+
user_agent?: string;
|
|
8466
|
+
}
|
|
8467
|
+
}
|
|
8291
8468
|
namespace PrepaidCard {
|
|
8292
8469
|
interface BankTerms {
|
|
8293
8470
|
/**
|
|
@@ -9460,6 +9637,10 @@ export declare namespace V2 {
|
|
|
9460
9637
|
prepaid_card?: CrossRiverBank.PrepaidCard;
|
|
9461
9638
|
}
|
|
9462
9639
|
interface Lead {
|
|
9640
|
+
/**
|
|
9641
|
+
* Can create consumer issuing debit cards with Lead as BIN sponsor.
|
|
9642
|
+
*/
|
|
9643
|
+
debit_card?: Lead.DebitCard;
|
|
9463
9644
|
/**
|
|
9464
9645
|
* Can create consumer issuing prepaid cards with Lead as BIN sponsor.
|
|
9465
9646
|
*/
|
|
@@ -9482,6 +9663,12 @@ export declare namespace V2 {
|
|
|
9482
9663
|
}
|
|
9483
9664
|
}
|
|
9484
9665
|
namespace Lead {
|
|
9666
|
+
interface DebitCard {
|
|
9667
|
+
/**
|
|
9668
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
9669
|
+
*/
|
|
9670
|
+
requested?: boolean;
|
|
9671
|
+
}
|
|
9485
9672
|
interface PrepaidCard {
|
|
9486
9673
|
/**
|
|
9487
9674
|
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
@@ -11450,6 +11637,10 @@ export declare namespace V2 {
|
|
|
11450
11637
|
* Terms of service acceptances for consumer issuing Apple Pay cards with Lead as BIN sponsor.
|
|
11451
11638
|
*/
|
|
11452
11639
|
apple_pay?: Lead.ApplePay;
|
|
11640
|
+
/**
|
|
11641
|
+
* Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor.
|
|
11642
|
+
*/
|
|
11643
|
+
debit_card?: Lead.DebitCard;
|
|
11453
11644
|
/**
|
|
11454
11645
|
* Terms of service acceptances for consumer issuing prepaid cards with Lead as BIN sponsor.
|
|
11455
11646
|
*/
|
|
@@ -11604,6 +11795,20 @@ export declare namespace V2 {
|
|
|
11604
11795
|
*/
|
|
11605
11796
|
user_agent?: string;
|
|
11606
11797
|
}
|
|
11798
|
+
interface DebitCard {
|
|
11799
|
+
/**
|
|
11800
|
+
* Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
11801
|
+
*/
|
|
11802
|
+
bank_terms?: DebitCard.BankTerms;
|
|
11803
|
+
/**
|
|
11804
|
+
* Financial disclosures terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
11805
|
+
*/
|
|
11806
|
+
financing_disclosures?: DebitCard.FinancingDisclosures;
|
|
11807
|
+
/**
|
|
11808
|
+
* Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
|
|
11809
|
+
*/
|
|
11810
|
+
platform?: DebitCard.Platform;
|
|
11811
|
+
}
|
|
11607
11812
|
interface PrepaidCard {
|
|
11608
11813
|
/**
|
|
11609
11814
|
* Bank terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor.
|
|
@@ -11618,6 +11823,50 @@ export declare namespace V2 {
|
|
|
11618
11823
|
*/
|
|
11619
11824
|
platform?: PrepaidCard.Platform;
|
|
11620
11825
|
}
|
|
11826
|
+
namespace DebitCard {
|
|
11827
|
+
interface BankTerms {
|
|
11828
|
+
/**
|
|
11829
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
11830
|
+
*/
|
|
11831
|
+
date?: string;
|
|
11832
|
+
/**
|
|
11833
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
11834
|
+
*/
|
|
11835
|
+
ip?: string;
|
|
11836
|
+
/**
|
|
11837
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
11838
|
+
*/
|
|
11839
|
+
user_agent?: string;
|
|
11840
|
+
}
|
|
11841
|
+
interface FinancingDisclosures {
|
|
11842
|
+
/**
|
|
11843
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
11844
|
+
*/
|
|
11845
|
+
date?: string;
|
|
11846
|
+
/**
|
|
11847
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
11848
|
+
*/
|
|
11849
|
+
ip?: string;
|
|
11850
|
+
/**
|
|
11851
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
11852
|
+
*/
|
|
11853
|
+
user_agent?: string;
|
|
11854
|
+
}
|
|
11855
|
+
interface Platform {
|
|
11856
|
+
/**
|
|
11857
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
11858
|
+
*/
|
|
11859
|
+
date?: string;
|
|
11860
|
+
/**
|
|
11861
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
11862
|
+
*/
|
|
11863
|
+
ip?: string;
|
|
11864
|
+
/**
|
|
11865
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
11866
|
+
*/
|
|
11867
|
+
user_agent?: string;
|
|
11868
|
+
}
|
|
11869
|
+
}
|
|
11621
11870
|
namespace PrepaidCard {
|
|
11622
11871
|
interface BankTerms {
|
|
11623
11872
|
/**
|
|
@@ -4019,7 +4019,7 @@ export declare namespace V2CoreAccountIncludingConfigurationCardCreatorCapabilit
|
|
|
4019
4019
|
updated_capability: Data.UpdatedCapability;
|
|
4020
4020
|
}
|
|
4021
4021
|
namespace Data {
|
|
4022
|
-
type UpdatedCapability = 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.lead.prepaid_card';
|
|
4022
|
+
type UpdatedCapability = 'commercial.celtic.charge_card' | 'commercial.celtic.spend_card' | 'commercial.cross_river_bank.charge_card' | 'commercial.cross_river_bank.prepaid_card' | 'commercial.cross_river_bank.spend_card' | 'commercial.fifth_third.charge_card' | 'commercial.lead.prepaid_card' | 'commercial.stripe.charge_card' | 'commercial.stripe.prepaid_card' | 'consumer.celtic.revolving_credit_card' | 'consumer.cross_river_bank.prepaid_card' | 'consumer.lead.debit_card' | 'consumer.lead.prepaid_card';
|
|
4023
4023
|
}
|
|
4024
4024
|
}
|
|
4025
4025
|
/**
|
package/esm/stripe.core.js
CHANGED
|
@@ -608,7 +608,7 @@ export class Stripe {
|
|
|
608
608
|
return eventNotification;
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
|
-
Stripe.PACKAGE_VERSION = '22.2.0-alpha.
|
|
611
|
+
Stripe.PACKAGE_VERSION = '22.2.0-alpha.3';
|
|
612
612
|
Stripe.API_VERSION = ApiVersion;
|
|
613
613
|
Stripe.aiAgent = typeof process !== 'undefined' && process.env
|
|
614
614
|
? detectAIAgent(process.env)
|
package/esm/stripe.esm.node.js
CHANGED
|
@@ -609,7 +609,7 @@ export class Stripe {
|
|
|
609
609
|
return eventNotification;
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
Stripe.PACKAGE_VERSION = '22.2.0-alpha.
|
|
612
|
+
Stripe.PACKAGE_VERSION = '22.2.0-alpha.3';
|
|
613
613
|
Stripe.API_VERSION = ApiVersion;
|
|
614
614
|
Stripe.aiAgent = typeof process !== 'undefined' && process.env
|
|
615
615
|
? detectAIAgent(process.env)
|