Skip to content

Commit 434f564

Browse files
Update generated code for v2277 and 1af5aa444ea8141a2d2b8d86e76c73f788f65e09
1 parent 0569aba commit 434f564

5 files changed

Lines changed: 285 additions & 1 deletion

CODEGEN_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
fab7e39871e2caacb49df35737dad10c6ca6a2ca
1+
1af5aa444ea8141a2d2b8d86e76c73f788f65e09

stripe/params/_payment_intent_confirm_params.py

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,77 @@ class PaymentIntentConfirmParams(RequestOptions):
1111
"""
1212
Allocated Funds configuration for this PaymentIntent.
1313
"""
14+
allowed_payment_method_types: NotRequired[
15+
List[
16+
Literal[
17+
"acss_debit",
18+
"affirm",
19+
"afterpay_clearpay",
20+
"alipay",
21+
"alma",
22+
"amazon_pay",
23+
"au_becs_debit",
24+
"bacs_debit",
25+
"bancontact",
26+
"billie",
27+
"bizum",
28+
"blik",
29+
"boleto",
30+
"card",
31+
"cashapp",
32+
"crypto",
33+
"customer_balance",
34+
"eps",
35+
"fpx",
36+
"gift_card",
37+
"giropay",
38+
"gopay",
39+
"grabpay",
40+
"id_bank_transfer",
41+
"ideal",
42+
"kakao_pay",
43+
"klarna",
44+
"konbini",
45+
"kr_card",
46+
"link",
47+
"mb_way",
48+
"mobilepay",
49+
"multibanco",
50+
"naver_pay",
51+
"nz_bank_account",
52+
"oxxo",
53+
"p24",
54+
"pay_by_bank",
55+
"payco",
56+
"paynow",
57+
"paypal",
58+
"paypay",
59+
"payto",
60+
"pix",
61+
"promptpay",
62+
"qris",
63+
"rechnung",
64+
"revolut_pay",
65+
"samsung_pay",
66+
"satispay",
67+
"scalapay",
68+
"sepa_debit",
69+
"shopeepay",
70+
"sofort",
71+
"stripe_balance",
72+
"sunbit",
73+
"swish",
74+
"twint",
75+
"upi",
76+
"us_bank_account",
77+
"wechat_pay",
78+
"zip",
79+
]
80+
]
81+
]
82+
"""
83+
The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.
84+
"""
1485
amount_details: NotRequired[
1586
"Literal['']|PaymentIntentConfirmParamsAmountDetails"
1687
]

stripe/params/_payment_intent_create_params.py

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,77 @@ class PaymentIntentCreateParams(RequestOptions):
1111
"""
1212
Allocated Funds configuration for this PaymentIntent.
1313
"""
14+
allowed_payment_method_types: NotRequired[
15+
List[
16+
Literal[
17+
"acss_debit",
18+
"affirm",
19+
"afterpay_clearpay",
20+
"alipay",
21+
"alma",
22+
"amazon_pay",
23+
"au_becs_debit",
24+
"bacs_debit",
25+
"bancontact",
26+
"billie",
27+
"bizum",
28+
"blik",
29+
"boleto",
30+
"card",
31+
"cashapp",
32+
"crypto",
33+
"customer_balance",
34+
"eps",
35+
"fpx",
36+
"gift_card",
37+
"giropay",
38+
"gopay",
39+
"grabpay",
40+
"id_bank_transfer",
41+
"ideal",
42+
"kakao_pay",
43+
"klarna",
44+
"konbini",
45+
"kr_card",
46+
"link",
47+
"mb_way",
48+
"mobilepay",
49+
"multibanco",
50+
"naver_pay",
51+
"nz_bank_account",
52+
"oxxo",
53+
"p24",
54+
"pay_by_bank",
55+
"payco",
56+
"paynow",
57+
"paypal",
58+
"paypay",
59+
"payto",
60+
"pix",
61+
"promptpay",
62+
"qris",
63+
"rechnung",
64+
"revolut_pay",
65+
"samsung_pay",
66+
"satispay",
67+
"scalapay",
68+
"sepa_debit",
69+
"shopeepay",
70+
"sofort",
71+
"stripe_balance",
72+
"sunbit",
73+
"swish",
74+
"twint",
75+
"upi",
76+
"us_bank_account",
77+
"wechat_pay",
78+
"zip",
79+
]
80+
]
81+
]
82+
"""
83+
The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.
84+
"""
1485
amount: int
1586
"""
1687
Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).

stripe/params/_payment_intent_modify_params.py

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,77 @@ class PaymentIntentModifyParams(RequestOptions):
1111
"""
1212
Allocated Funds configuration for this PaymentIntent.
1313
"""
14+
allowed_payment_method_types: NotRequired[
15+
List[
16+
Literal[
17+
"acss_debit",
18+
"affirm",
19+
"afterpay_clearpay",
20+
"alipay",
21+
"alma",
22+
"amazon_pay",
23+
"au_becs_debit",
24+
"bacs_debit",
25+
"bancontact",
26+
"billie",
27+
"bizum",
28+
"blik",
29+
"boleto",
30+
"card",
31+
"cashapp",
32+
"crypto",
33+
"customer_balance",
34+
"eps",
35+
"fpx",
36+
"gift_card",
37+
"giropay",
38+
"gopay",
39+
"grabpay",
40+
"id_bank_transfer",
41+
"ideal",
42+
"kakao_pay",
43+
"klarna",
44+
"konbini",
45+
"kr_card",
46+
"link",
47+
"mb_way",
48+
"mobilepay",
49+
"multibanco",
50+
"naver_pay",
51+
"nz_bank_account",
52+
"oxxo",
53+
"p24",
54+
"pay_by_bank",
55+
"payco",
56+
"paynow",
57+
"paypal",
58+
"paypay",
59+
"payto",
60+
"pix",
61+
"promptpay",
62+
"qris",
63+
"rechnung",
64+
"revolut_pay",
65+
"samsung_pay",
66+
"satispay",
67+
"scalapay",
68+
"sepa_debit",
69+
"shopeepay",
70+
"sofort",
71+
"stripe_balance",
72+
"sunbit",
73+
"swish",
74+
"twint",
75+
"upi",
76+
"us_bank_account",
77+
"wechat_pay",
78+
"zip",
79+
]
80+
]
81+
]
82+
"""
83+
The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.
84+
"""
1485
amount: NotRequired[int]
1586
"""
1687
Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).

stripe/params/_payment_intent_update_params.py

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,77 @@ class PaymentIntentUpdateParams(TypedDict):
1010
"""
1111
Allocated Funds configuration for this PaymentIntent.
1212
"""
13+
allowed_payment_method_types: NotRequired[
14+
List[
15+
Literal[
16+
"acss_debit",
17+
"affirm",
18+
"afterpay_clearpay",
19+
"alipay",
20+
"alma",
21+
"amazon_pay",
22+
"au_becs_debit",
23+
"bacs_debit",
24+
"bancontact",
25+
"billie",
26+
"bizum",
27+
"blik",
28+
"boleto",
29+
"card",
30+
"cashapp",
31+
"crypto",
32+
"customer_balance",
33+
"eps",
34+
"fpx",
35+
"gift_card",
36+
"giropay",
37+
"gopay",
38+
"grabpay",
39+
"id_bank_transfer",
40+
"ideal",
41+
"kakao_pay",
42+
"klarna",
43+
"konbini",
44+
"kr_card",
45+
"link",
46+
"mb_way",
47+
"mobilepay",
48+
"multibanco",
49+
"naver_pay",
50+
"nz_bank_account",
51+
"oxxo",
52+
"p24",
53+
"pay_by_bank",
54+
"payco",
55+
"paynow",
56+
"paypal",
57+
"paypay",
58+
"payto",
59+
"pix",
60+
"promptpay",
61+
"qris",
62+
"rechnung",
63+
"revolut_pay",
64+
"samsung_pay",
65+
"satispay",
66+
"scalapay",
67+
"sepa_debit",
68+
"shopeepay",
69+
"sofort",
70+
"stripe_balance",
71+
"sunbit",
72+
"swish",
73+
"twint",
74+
"upi",
75+
"us_bank_account",
76+
"wechat_pay",
77+
"zip",
78+
]
79+
]
80+
]
81+
"""
82+
The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.
83+
"""
1384
amount: NotRequired[int]
1485
"""
1586
Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).

0 commit comments

Comments
 (0)