You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stripe/_account.py
+56-4Lines changed: 56 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -798,9 +798,27 @@ class Error(StripeObject):
798
798
"""
799
799
Fields that need to be collected to keep the account enabled. If not collected by `future_requirements[current_deadline]`, these fields will transition to the main `requirements` hash.
800
800
"""
801
-
disabled_reason: Optional[str]
801
+
disabled_reason: Optional[
802
+
Literal[
803
+
"action_required.requested_capabilities",
804
+
"listed",
805
+
"other",
806
+
"platform_paused",
807
+
"rejected.fraud",
808
+
"rejected.incomplete_verification",
809
+
"rejected.listed",
810
+
"rejected.other",
811
+
"rejected.platform_fraud",
812
+
"rejected.platform_other",
813
+
"rejected.platform_terms_of_service",
814
+
"rejected.terms_of_service",
815
+
"requirements.past_due",
816
+
"requirements.pending_verification",
817
+
"under_review",
818
+
]
819
+
]
802
820
"""
803
-
This is typed as a string for consistency with `requirements.disabled_reason`.
821
+
This is typed as an enum for consistency with `requirements.disabled_reason`.
804
822
"""
805
823
errors: Optional[List[Error]]
806
824
"""
@@ -954,9 +972,27 @@ class Error(StripeObject):
954
972
"""
955
973
Fields that need to be collected to keep the account enabled. If not collected by `current_deadline`, these fields appear in `past_due` as well, and the account is disabled.
956
974
"""
957
-
disabled_reason: Optional[str]
975
+
disabled_reason: Optional[
976
+
Literal[
977
+
"action_required.requested_capabilities",
978
+
"listed",
979
+
"other",
980
+
"platform_paused",
981
+
"rejected.fraud",
982
+
"rejected.incomplete_verification",
983
+
"rejected.listed",
984
+
"rejected.other",
985
+
"rejected.platform_fraud",
986
+
"rejected.platform_other",
987
+
"rejected.platform_terms_of_service",
988
+
"rejected.terms_of_service",
989
+
"requirements.past_due",
990
+
"requirements.pending_verification",
991
+
"under_review",
992
+
]
993
+
]
958
994
"""
959
-
If the account is disabled, this string describes why. [Learn more about handling verification issues](https://stripe.com/docs/connect/handling-api-verification). Can be `action_required.requested_capabilities`, `requirements.past_due`, `requirements.pending_verification`, `listed`, `platform_paused`, `rejected.fraud`, `rejected.incomplete_verification`, `rejected.listed`, `rejected.other`, `rejected.terms_of_service`, `under_review`, or `other`.
995
+
If the account is disabled, this enum describes why. [Learn more about handling verification issues](https://stripe.com/docs/connect/handling-api-verification).
960
996
"""
961
997
errors: Optional[List[Error]]
962
998
"""
@@ -3252,6 +3288,10 @@ class CreatePersonParamsRegisteredAddress(TypedDict):
3252
3288
"""
3253
3289
3254
3290
classCreatePersonParamsRelationship(TypedDict):
3291
+
authorizer: NotRequired[bool]
3292
+
"""
3293
+
Whether the person is the authorizer of the account's representative.
3294
+
"""
3255
3295
director: NotRequired[bool]
3256
3296
"""
3257
3297
Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
@@ -3413,6 +3453,10 @@ class ListPersonsParams(RequestOptions):
3413
3453
"""
3414
3454
3415
3455
classListPersonsParamsRelationship(TypedDict):
3456
+
authorizer: NotRequired[bool]
3457
+
"""
3458
+
A filter on the list of people returned based on whether these people are authorizers of the account's representative.
3459
+
"""
3416
3460
director: NotRequired[bool]
3417
3461
"""
3418
3462
A filter on the list of people returned based on whether these people are directors of the account's company.
@@ -3833,6 +3877,10 @@ class ModifyPersonParamsRegisteredAddress(TypedDict):
3833
3877
"""
3834
3878
3835
3879
classModifyPersonParamsRelationship(TypedDict):
3880
+
authorizer: NotRequired[bool]
3881
+
"""
3882
+
Whether the person is the authorizer of the account's representative.
3883
+
"""
3836
3884
director: NotRequired[bool]
3837
3885
"""
3838
3886
Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
@@ -3917,6 +3965,10 @@ class PersonsParams(RequestOptions):
3917
3965
"""
3918
3966
3919
3967
classPersonsParamsRelationship(TypedDict):
3968
+
authorizer: NotRequired[bool]
3969
+
"""
3970
+
A filter on the list of people returned based on whether these people are authorizers of the account's representative.
3971
+
"""
3920
3972
director: NotRequired[bool]
3921
3973
"""
3922
3974
A filter on the list of people returned based on whether these people are directors of the account's company.
Copy file name to clipboardExpand all lines: stripe/_account_person_service.py
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -321,6 +321,10 @@ class CreateParamsRegisteredAddress(TypedDict):
321
321
"""
322
322
323
323
classCreateParamsRelationship(TypedDict):
324
+
authorizer: NotRequired[bool]
325
+
"""
326
+
Whether the person is the authorizer of the account's representative.
327
+
"""
324
328
director: NotRequired[bool]
325
329
"""
326
330
Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
@@ -412,6 +416,10 @@ class ListParams(TypedDict):
412
416
"""
413
417
414
418
classListParamsRelationship(TypedDict):
419
+
authorizer: NotRequired[bool]
420
+
"""
421
+
A filter on the list of people returned based on whether these people are authorizers of the account's representative.
422
+
"""
415
423
director: NotRequired[bool]
416
424
"""
417
425
A filter on the list of people returned based on whether these people are directors of the account's company.
@@ -750,6 +758,10 @@ class UpdateParamsRegisteredAddress(TypedDict):
750
758
"""
751
759
752
760
classUpdateParamsRelationship(TypedDict):
761
+
authorizer: NotRequired[bool]
762
+
"""
763
+
Whether the person is the authorizer of the account's representative.
764
+
"""
753
765
director: NotRequired[bool]
754
766
"""
755
767
Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
Copy file name to clipboardExpand all lines: stripe/_charge.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -712,7 +712,7 @@ class ShippingAddress(StripeObject):
712
712
"""
713
713
brand: Optional[str]
714
714
"""
715
-
Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
715
+
Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
716
716
"""
717
717
capture_before: Optional[int]
718
718
"""
@@ -779,7 +779,7 @@ class ShippingAddress(StripeObject):
779
779
multicapture: Optional[Multicapture]
780
780
network: Optional[str]
781
781
"""
782
-
Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
782
+
Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
783
783
"""
784
784
network_token: Optional[NetworkToken]
785
785
"""
@@ -871,7 +871,7 @@ class Wallet(StripeObject):
871
871
"""
872
872
brand: Optional[str]
873
873
"""
874
-
Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
874
+
Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
875
875
"""
876
876
brand_product: Optional[str]
877
877
"""
@@ -937,7 +937,7 @@ class Wallet(StripeObject):
937
937
"""
938
938
network: Optional[str]
939
939
"""
940
-
Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
940
+
Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
941
941
"""
942
942
network_transaction_id: Optional[str]
943
943
"""
@@ -1260,7 +1260,7 @@ class Receipt(StripeObject):
1260
1260
"""
1261
1261
network: Optional[str]
1262
1262
"""
1263
-
Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
1263
+
Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
Copy file name to clipboardExpand all lines: stripe/_confirmation_token.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -285,7 +285,7 @@ class Wallet(StripeObject):
285
285
"""
286
286
brand: Optional[str]
287
287
"""
288
-
Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
288
+
Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
289
289
"""
290
290
brand_product: Optional[str]
291
291
"""
@@ -351,7 +351,7 @@ class Wallet(StripeObject):
351
351
"""
352
352
network: Optional[str]
353
353
"""
354
-
Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
354
+
Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
355
355
"""
356
356
network_transaction_id: Optional[str]
357
357
"""
@@ -630,7 +630,7 @@ class ShippingAddress(StripeObject):
630
630
631
631
brand: str
632
632
"""
633
-
Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
633
+
Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
634
634
"""
635
635
checks: Optional[Checks]
636
636
"""
@@ -733,7 +733,7 @@ class Wallet(StripeObject):
733
733
734
734
brand: Optional[str]
735
735
"""
736
-
Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
736
+
Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
0 commit comments