File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
method/resources/Accounts Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -193,13 +193,29 @@ class AccountLiabilityStudentLoans(AccountLiabilityBase):
193193 original_loan_amount : Optional [int ]
194194 term_length : Optional [int ]
195195
196+ AccountLiabilitySubTypesLiterals = Literal [
197+ 'business' ,
198+ 'unsecured' ,
199+ 'lease' ,
200+ 'loan' ,
201+ 'heloc' ,
202+ 'charge' ,
203+ 'flexible_spending' ,
204+ 'secured' ,
205+ 'purchase' ,
206+ 'note' ,
207+ 'private' ,
208+ 'federal' ,
209+ 'rent'
210+ ]
196211
197212class AccountLiability (TypedDict ):
198213 mch_id : str
199214 mask : Optional [str ]
200215 ownership : Optional [AccountOwnershipLiterals ]
201216 fingerprint : Optional [str ]
202217 type : Optional [AccountLiabilityTypesLiterals ]
218+ sub_type : Optional [AccountLiabilitySubTypesLiterals ]
203219 name : Optional [str ]
204220
205221
Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ def test_create_liability_account(setup):
162162 'ownership' : 'unknown' ,
163163 'type' : 'credit_card' ,
164164 'name' : 'Chase Sapphire Reserve' ,
165+ 'sub_type' : 'flexible_spending' ,
165166 },
166167 'latest_verification_session' : accounts_create_liability_response ['latest_verification_session' ],
167168 'balance' : None ,
You can’t perform that action at this time.
0 commit comments