File tree Expand file tree Collapse file tree 5 files changed +21
-8
lines changed
Expand file tree Collapse file tree 5 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 2323]
2424
2525
26+ AccountStatusesLiterals = Literal [
27+ 'active' ,
28+ 'disabled'
29+ ]
30+
31+
2632class AccountACH (TypedDict ):
2733 routing : int
2834 number : int
@@ -42,6 +48,7 @@ class AccountLiabilityCreateOpts(TypedDict):
4248class Account (TypedDict ):
4349 id : str
4450 holder_id : str
51+ status : AccountStatusesLiterals
4552 type : AccountTypesLiterals
4653 ach : Optional [AccountACH ]
4754 liability : Optional [AccountLiability ]
Original file line number Diff line number Diff line change 2525EntityStatusesLiterals = Literal [
2626 'active' ,
2727 'incomplete' ,
28- 'pending' ,
29- 'blocked' ,
30- 'error'
28+ 'disabled'
3129]
3230
3331
Original file line number Diff line number Diff line change 66
77PaymentStatusesLiterals = Literal [
88 'pending' ,
9- 'sent' ,
109 'canceled' ,
11- 'returned' ,
12- 'error'
10+ 'processing' ,
11+ 'failed' ,
12+ 'sent' ,
13+ 'reversed'
1314]
1415
1516
Original file line number Diff line number Diff line change 77WebhookTypesLiterals = Literal [
88 'payment.create' ,
99 'payment.update' ,
10- 'account_verification.sent'
10+ 'account.create' ,
11+ 'account.update' ,
12+ 'entity.update' ,
13+ 'entity.create' ,
14+ 'account_verification.create' ,
15+ 'account_verification.update' ,
16+ 'account_verification.sent' ,
17+ 'account_verification.returned'
1118]
1219
1320
Original file line number Diff line number Diff line change 22
33setup (
44 name = 'method-python' ,
5- version = '0.0.11 ' ,
5+ version = '0.0.12 ' ,
66 description = 'Python library for the Method API' ,
77 author = 'Marco del Carmen' ,
88 author_email = 'marco@mdelcarmen.me' ,
You can’t perform that action at this time.
0 commit comments