1515from method .resources .Accounts .VerificationSessions import AccountVerificationSession , AccountVerificationSessionResource
1616from method .resources .Accounts .Products import AccountProduct , AccountProductResource
1717from method .resources .Accounts .Attributes import AccountAttributes , AccountAttributesResource
18+ from method .resources .Accounts .PaymentInstruments import AccountPaymentInstrument , AccountPaymentInstrumentsResource
19+
1820class AccountCreateOpts (TypedDict ):
1921 holder_id : str
2022 metadata : Optional [Dict [str , Any ]]
@@ -67,6 +69,7 @@ class Account(TypedDict):
6769 card_brand : Optional [Union [str , AccountCardBrand ]]
6870 payoff : Optional [Union [str , AccountPayoff ]]
6971 transaction : Optional [Union [str , AccountTransaction ]]
72+ payment_instrument : Optional [Union [str , AccountPaymentInstrument ]]
7073 update : Optional [Union [str , AccountUpdate ]]
7174 latest_verification_session : Optional [Union [str , AccountVerificationSession ]]
7275 error : Optional [ResourceError ]
@@ -94,7 +97,7 @@ class AccountSubResources:
9497 verification_sessions : AccountVerificationSessionResource
9598 products : AccountProductResource
9699 attributes : AccountAttributesResource
97-
100+ payment_instruments : AccountPaymentInstrumentsResource
98101
99102 def __init__ (self , _id : str , config : Configuration ):
100103 self .balances = AccountBalancesResource (config .add_path (_id ))
@@ -103,6 +106,7 @@ def __init__(self, _id: str, config: Configuration):
103106 self .sensitive = AccountSensitiveResource (config .add_path (_id ))
104107 self .subscriptions = AccountSubscriptionsResource (config .add_path (_id ))
105108 self .transactions = AccountTransactionsResource (config .add_path (_id ))
109+ self .payment_instruments = AccountPaymentInstrumentsResource (config .add_path (_id ))
106110 self .updates = AccountUpdatesResource (config .add_path (_id ))
107111 self .verification_sessions = AccountVerificationSessionResource (config .add_path (_id ))
108112 self .products = AccountProductResource (config .add_path (_id ))
0 commit comments