@stripe/stripe-js 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/confirmation-tokens.d.mts +8 -0
- package/dist/api/confirmation-tokens.d.ts +8 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/pure.js +1 -1
- package/dist/pure.mjs +1 -1
- package/dist/stripe-js/elements-group.d.mts +14 -0
- package/dist/stripe-js/elements-group.d.ts +14 -0
- package/dist/stripe-js/payment-intents.d.mts +3 -0
- package/dist/stripe-js/payment-intents.d.ts +3 -0
- package/package.json +1 -1
|
@@ -82,6 +82,14 @@ export interface ConfirmationTokenCreateParams {
|
|
|
82
82
|
* The customer's billing details.
|
|
83
83
|
*/
|
|
84
84
|
billing_details?: PaymentMethodCreateParams.BillingDetails;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Requires beta access:
|
|
88
|
+
* Contact [Stripe support](https://support.stripe.com/) for more information.
|
|
89
|
+
*
|
|
90
|
+
* Specifies if the PaymentMethod should be redisplayed when using the Saved Payment Method feature
|
|
91
|
+
*/
|
|
92
|
+
allow_redisplay?: 'always' | 'limited' | 'unspecified';
|
|
85
93
|
};
|
|
86
94
|
|
|
87
95
|
/**
|
|
@@ -82,6 +82,14 @@ export interface ConfirmationTokenCreateParams {
|
|
|
82
82
|
* The customer's billing details.
|
|
83
83
|
*/
|
|
84
84
|
billing_details?: PaymentMethodCreateParams.BillingDetails;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Requires beta access:
|
|
88
|
+
* Contact [Stripe support](https://support.stripe.com/) for more information.
|
|
89
|
+
*
|
|
90
|
+
* Specifies if the PaymentMethod should be redisplayed when using the Saved Payment Method feature
|
|
91
|
+
*/
|
|
92
|
+
allow_redisplay?: 'always' | 'limited' | 'unspecified';
|
|
85
93
|
};
|
|
86
94
|
|
|
87
95
|
/**
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/dist/pure.js
CHANGED
package/dist/pure.mjs
CHANGED
|
@@ -904,6 +904,20 @@ export interface StripeElementsUpdateOptions {
|
|
|
904
904
|
* @docs https://stripe.com/docs/payments/payment-methods/overview
|
|
905
905
|
*/
|
|
906
906
|
paymentMethodTypes?: string[];
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* The Stripe account ID which is the business of record.
|
|
910
|
+
*
|
|
911
|
+
* @docs https://stripe.com/docs/js/elements_object/create_without_intent#stripe_elements_no_intent-options-onBehalfOf
|
|
912
|
+
*/
|
|
913
|
+
onBehalfOf?: string;
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* The Stripe account ID which is the business of record.
|
|
917
|
+
*
|
|
918
|
+
* @docs https://stripe.com/docs/js/elements_object/create_without_intent#stripe_elements_no_intent-options-onBehalfOf
|
|
919
|
+
*/
|
|
920
|
+
on_behalf_of?: string;
|
|
907
921
|
}
|
|
908
922
|
|
|
909
923
|
/*
|
|
@@ -904,6 +904,20 @@ export interface StripeElementsUpdateOptions {
|
|
|
904
904
|
* @docs https://stripe.com/docs/payments/payment-methods/overview
|
|
905
905
|
*/
|
|
906
906
|
paymentMethodTypes?: string[];
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* The Stripe account ID which is the business of record.
|
|
910
|
+
*
|
|
911
|
+
* @docs https://stripe.com/docs/js/elements_object/create_without_intent#stripe_elements_no_intent-options-onBehalfOf
|
|
912
|
+
*/
|
|
913
|
+
onBehalfOf?: string;
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* The Stripe account ID which is the business of record.
|
|
917
|
+
*
|
|
918
|
+
* @docs https://stripe.com/docs/js/elements_object/create_without_intent#stripe_elements_no_intent-options-onBehalfOf
|
|
919
|
+
*/
|
|
920
|
+
on_behalf_of?: string;
|
|
907
921
|
}
|
|
908
922
|
|
|
909
923
|
/*
|
|
@@ -1424,6 +1424,9 @@ export interface ConfirmPaymentData extends PaymentIntentConfirmParams {
|
|
|
1424
1424
|
billing_details?: PaymentMethodCreateParams.BillingDetails;
|
|
1425
1425
|
|
|
1426
1426
|
/**
|
|
1427
|
+
* Requires beta access:
|
|
1428
|
+
* Contact [Stripe support](https://support.stripe.com/) for more information.
|
|
1429
|
+
*
|
|
1427
1430
|
* Specifies if the PaymentMethod should be redisplayed when using the Saved Payment Method feature
|
|
1428
1431
|
*/
|
|
1429
1432
|
allow_redisplay?: 'always' | 'limited' | 'unspecified';
|
|
@@ -1424,6 +1424,9 @@ export interface ConfirmPaymentData extends PaymentIntentConfirmParams {
|
|
|
1424
1424
|
billing_details?: PaymentMethodCreateParams.BillingDetails;
|
|
1425
1425
|
|
|
1426
1426
|
/**
|
|
1427
|
+
* Requires beta access:
|
|
1428
|
+
* Contact [Stripe support](https://support.stripe.com/) for more information.
|
|
1429
|
+
*
|
|
1427
1430
|
* Specifies if the PaymentMethod should be redisplayed when using the Saved Payment Method feature
|
|
1428
1431
|
*/
|
|
1429
1432
|
allow_redisplay?: 'always' | 'limited' | 'unspecified';
|