nomba-python 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nomba_python/__init__.py +40 -0
- nomba_python/client.py +161 -0
- nomba_python/concurrency.py +54 -0
- nomba_python/data/__init__.py +0 -0
- nomba_python/data/nomba_openapi.json +13321 -0
- nomba_python/exceptions.py +49 -0
- nomba_python/flows/__init__.py +3 -0
- nomba_python/flows/card_payment.py +204 -0
- nomba_python/http.py +418 -0
- nomba_python/models.py +749 -0
- nomba_python/pagination.py +111 -0
- nomba_python/py.typed +0 -0
- nomba_python/resources/__init__.py +33 -0
- nomba_python/resources/accounts.py +379 -0
- nomba_python/resources/airtime_data.py +252 -0
- nomba_python/resources/cabletv.py +173 -0
- nomba_python/resources/charge.py +410 -0
- nomba_python/resources/checkout.py +239 -0
- nomba_python/resources/electricity.py +204 -0
- nomba_python/resources/terminals.py +184 -0
- nomba_python/resources/transactions.py +460 -0
- nomba_python/resources/transfers.py +298 -0
- nomba_python/resources/virtual_accounts.py +230 -0
- nomba_python/validation.py +97 -0
- nomba_python/webhooks.py +190 -0
- nomba_python-0.1.0.dist-info/METADATA +312 -0
- nomba_python-0.1.0.dist-info/RECORD +29 -0
- nomba_python-0.1.0.dist-info/WHEEL +4 -0
- nomba_python-0.1.0.dist-info/licenses/LICENSE +21 -0
nomba_python/models.py
ADDED
|
@@ -0,0 +1,749 @@
|
|
|
1
|
+
# This file is auto-generated from Nomba's OpenAPI spec. Do not edit by hand;
|
|
2
|
+
# regenerate via scripts/generate_resources.py instead.
|
|
3
|
+
#
|
|
4
|
+
# These TypedDicts describe the shape of each endpoint's response for
|
|
5
|
+
# editor autocomplete / type checking. They cost nothing at runtime --
|
|
6
|
+
# methods still return plain dicts; TypedDict is purely a type hint.
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
from typing import Any, TypedDict
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ListAllAccountsResponse(TypedDict, total=False):
|
|
13
|
+
results: list[dict[str, Any]]
|
|
14
|
+
cursor: str
|
|
15
|
+
|
|
16
|
+
class CreateASubAccountData(TypedDict, total=False):
|
|
17
|
+
createdAt: str
|
|
18
|
+
accountId: str
|
|
19
|
+
accountHolderId: str
|
|
20
|
+
accountRef: str
|
|
21
|
+
phoneNumber: str
|
|
22
|
+
email: str
|
|
23
|
+
bvn: str
|
|
24
|
+
status: str
|
|
25
|
+
type: str
|
|
26
|
+
accountName: str
|
|
27
|
+
currency: str
|
|
28
|
+
callbackUrl: str
|
|
29
|
+
expiryDate: str
|
|
30
|
+
|
|
31
|
+
class CreateASubAccountResponse(TypedDict, total=False):
|
|
32
|
+
code: str
|
|
33
|
+
description: str
|
|
34
|
+
data: CreateASubAccountData
|
|
35
|
+
|
|
36
|
+
class FetchAccountDetailsData(TypedDict, total=False):
|
|
37
|
+
createdAt: str
|
|
38
|
+
accountId: str
|
|
39
|
+
accountHolderId: str
|
|
40
|
+
accountRef: str
|
|
41
|
+
bvn: str
|
|
42
|
+
status: str
|
|
43
|
+
type: str
|
|
44
|
+
accountName: str
|
|
45
|
+
currency: str
|
|
46
|
+
banks: list[dict[str, Any]]
|
|
47
|
+
|
|
48
|
+
class FetchAccountDetailsResponse(TypedDict, total=False):
|
|
49
|
+
code: str
|
|
50
|
+
description: str
|
|
51
|
+
data: FetchAccountDetailsData
|
|
52
|
+
|
|
53
|
+
class FetchParentAccountDetailsData(TypedDict, total=False):
|
|
54
|
+
createdAt: str
|
|
55
|
+
accountId: str
|
|
56
|
+
accountHolderId: str
|
|
57
|
+
accountRef: str
|
|
58
|
+
bvn: str
|
|
59
|
+
status: str
|
|
60
|
+
type: str
|
|
61
|
+
accountName: str
|
|
62
|
+
currency: str
|
|
63
|
+
banks: list[dict[str, Any]]
|
|
64
|
+
|
|
65
|
+
class FetchParentAccountDetailsResponse(TypedDict, total=False):
|
|
66
|
+
code: str
|
|
67
|
+
description: str
|
|
68
|
+
data: FetchParentAccountDetailsData
|
|
69
|
+
|
|
70
|
+
class FetchAccountBalanceData(TypedDict, total=False):
|
|
71
|
+
amount: str
|
|
72
|
+
currency: str
|
|
73
|
+
timeCreated: str
|
|
74
|
+
|
|
75
|
+
class FetchAccountBalanceResponse(TypedDict, total=False):
|
|
76
|
+
code: str
|
|
77
|
+
description: str
|
|
78
|
+
data: FetchAccountBalanceData
|
|
79
|
+
|
|
80
|
+
class FetchParentAccountBalanceData(TypedDict, total=False):
|
|
81
|
+
amount: str
|
|
82
|
+
currency: str
|
|
83
|
+
timeCreated: str
|
|
84
|
+
|
|
85
|
+
class FetchParentAccountBalanceResponse(TypedDict, total=False):
|
|
86
|
+
code: str
|
|
87
|
+
description: str
|
|
88
|
+
data: FetchParentAccountBalanceData
|
|
89
|
+
|
|
90
|
+
class SuspendAnAccountResponse(TypedDict, total=False):
|
|
91
|
+
code: str
|
|
92
|
+
description: str
|
|
93
|
+
data: dict[str, Any]
|
|
94
|
+
|
|
95
|
+
class ReactivateASubAccountResponse(TypedDict, total=False):
|
|
96
|
+
code: str
|
|
97
|
+
description: str
|
|
98
|
+
data: dict[str, Any]
|
|
99
|
+
|
|
100
|
+
class FetchTerminalsAssignedToAnAccountData(TypedDict, total=False):
|
|
101
|
+
results: list[dict[str, Any]]
|
|
102
|
+
cursor: str
|
|
103
|
+
|
|
104
|
+
class FetchTerminalsAssignedToAnAccountResponse(TypedDict, total=False):
|
|
105
|
+
code: str
|
|
106
|
+
description: str
|
|
107
|
+
data: FetchTerminalsAssignedToAnAccountData
|
|
108
|
+
|
|
109
|
+
class FetchTerminalsAssignedToTheParentAccountData(TypedDict, total=False):
|
|
110
|
+
results: list[dict[str, Any]]
|
|
111
|
+
cursor: str
|
|
112
|
+
|
|
113
|
+
class FetchTerminalsAssignedToTheParentAccountResponse(TypedDict, total=False):
|
|
114
|
+
code: str
|
|
115
|
+
description: str
|
|
116
|
+
data: FetchTerminalsAssignedToTheParentAccountData
|
|
117
|
+
|
|
118
|
+
class UpdateAccessToAccountData(TypedDict, total=False):
|
|
119
|
+
message: str
|
|
120
|
+
data: dict[str, Any]
|
|
121
|
+
|
|
122
|
+
class UpdateAccessToAccountResponse(TypedDict, total=False):
|
|
123
|
+
code: str
|
|
124
|
+
description: str
|
|
125
|
+
data: UpdateAccessToAccountData
|
|
126
|
+
|
|
127
|
+
class CreateVirtualAccountData(TypedDict, total=False):
|
|
128
|
+
createdAt: str
|
|
129
|
+
accountHolderId: str
|
|
130
|
+
accountRef: str
|
|
131
|
+
bvn: str
|
|
132
|
+
accountName: str
|
|
133
|
+
bankName: str
|
|
134
|
+
bankAccountNumber: str
|
|
135
|
+
bankAccountName: str
|
|
136
|
+
currency: str
|
|
137
|
+
callbackUrl: str
|
|
138
|
+
expired: bool
|
|
139
|
+
|
|
140
|
+
class CreateVirtualAccountResponse(TypedDict, total=False):
|
|
141
|
+
code: str
|
|
142
|
+
description: str
|
|
143
|
+
data: CreateVirtualAccountData
|
|
144
|
+
|
|
145
|
+
class FilterVirtualAccountsData(TypedDict, total=False):
|
|
146
|
+
results: list[dict[str, Any]]
|
|
147
|
+
cursor: str
|
|
148
|
+
|
|
149
|
+
class FilterVirtualAccountsResponse(TypedDict, total=False):
|
|
150
|
+
code: str
|
|
151
|
+
description: str
|
|
152
|
+
data: FilterVirtualAccountsData
|
|
153
|
+
|
|
154
|
+
class UpdateAVirtualAccountData(TypedDict, total=False):
|
|
155
|
+
updated: bool
|
|
156
|
+
|
|
157
|
+
class UpdateAVirtualAccountResponse(TypedDict, total=False):
|
|
158
|
+
code: str
|
|
159
|
+
description: str
|
|
160
|
+
data: UpdateAVirtualAccountData
|
|
161
|
+
|
|
162
|
+
class FetchAVirtualAccountData(TypedDict, total=False):
|
|
163
|
+
createdAt: str
|
|
164
|
+
accountHolderId: str
|
|
165
|
+
accountRef: str
|
|
166
|
+
bvn: str
|
|
167
|
+
accountName: str
|
|
168
|
+
bankName: str
|
|
169
|
+
bankAccountNumber: str
|
|
170
|
+
bankAccountName: str
|
|
171
|
+
currency: str
|
|
172
|
+
callbackUrl: str
|
|
173
|
+
expired: bool
|
|
174
|
+
|
|
175
|
+
class FetchAVirtualAccountResponse(TypedDict, total=False):
|
|
176
|
+
code: str
|
|
177
|
+
description: str
|
|
178
|
+
data: FetchAVirtualAccountData
|
|
179
|
+
|
|
180
|
+
class ExpireAVirtualAccountData(TypedDict, total=False):
|
|
181
|
+
expired: bool
|
|
182
|
+
|
|
183
|
+
class ExpireAVirtualAccountResponse(TypedDict, total=False):
|
|
184
|
+
code: str
|
|
185
|
+
description: str
|
|
186
|
+
data: ExpireAVirtualAccountData
|
|
187
|
+
|
|
188
|
+
class CreateAnOnlineCheckoutOrderData(TypedDict, total=False):
|
|
189
|
+
checkoutLink: str
|
|
190
|
+
orderReference: str
|
|
191
|
+
|
|
192
|
+
class CreateAnOnlineCheckoutOrderResponse(TypedDict, total=False):
|
|
193
|
+
code: str
|
|
194
|
+
description: str
|
|
195
|
+
data: CreateAnOnlineCheckoutOrderData
|
|
196
|
+
|
|
197
|
+
class ChargeCustomerWithTokenizedCardDataData(TypedDict, total=False):
|
|
198
|
+
status: bool
|
|
199
|
+
message: str
|
|
200
|
+
|
|
201
|
+
class ChargeCustomerWithTokenizedCardDataResponse(TypedDict, total=False):
|
|
202
|
+
code: str
|
|
203
|
+
description: str
|
|
204
|
+
data: ChargeCustomerWithTokenizedCardDataData
|
|
205
|
+
|
|
206
|
+
class ListAllTokenizedCardsForMerchantData(TypedDict, total=False):
|
|
207
|
+
nextPage: str
|
|
208
|
+
tokenizedCardDataList: list[dict[str, Any]]
|
|
209
|
+
|
|
210
|
+
class ListAllTokenizedCardsForMerchantResponse(TypedDict, total=False):
|
|
211
|
+
code: str
|
|
212
|
+
description: str
|
|
213
|
+
data: ListAllTokenizedCardsForMerchantData
|
|
214
|
+
|
|
215
|
+
class UpdateTokenizedCardDataData(TypedDict, total=False):
|
|
216
|
+
status: bool
|
|
217
|
+
message: str
|
|
218
|
+
tokenizedCardData: Any
|
|
219
|
+
|
|
220
|
+
class UpdateTokenizedCardDataResponse(TypedDict, total=False):
|
|
221
|
+
code: str
|
|
222
|
+
description: str
|
|
223
|
+
data: UpdateTokenizedCardDataData
|
|
224
|
+
|
|
225
|
+
class DeleteTokenizedCardDataData(TypedDict, total=False):
|
|
226
|
+
status: bool
|
|
227
|
+
message: str
|
|
228
|
+
|
|
229
|
+
class DeleteTokenizedCardDataResponse(TypedDict, total=False):
|
|
230
|
+
code: str
|
|
231
|
+
description: str
|
|
232
|
+
data: DeleteTokenizedCardDataData
|
|
233
|
+
|
|
234
|
+
class FetchACheckoutTransactionData(TypedDict, total=False):
|
|
235
|
+
success: bool
|
|
236
|
+
message: str
|
|
237
|
+
order: dict[str, Any]
|
|
238
|
+
transactionDetails: dict[str, Any]
|
|
239
|
+
transferDetails: dict[str, Any]
|
|
240
|
+
cardDetails: dict[str, Any]
|
|
241
|
+
|
|
242
|
+
class FetchACheckoutTransactionResponse(TypedDict, total=False):
|
|
243
|
+
code: str
|
|
244
|
+
description: str
|
|
245
|
+
data: FetchACheckoutTransactionData
|
|
246
|
+
|
|
247
|
+
class FetchCheckoutOrderDetailsData(TypedDict, total=False):
|
|
248
|
+
order: dict[str, Any]
|
|
249
|
+
hasSavedCards: bool
|
|
250
|
+
base64EncodedRsaPublicKey: str
|
|
251
|
+
|
|
252
|
+
class FetchCheckoutOrderDetailsResponse(TypedDict, total=False):
|
|
253
|
+
code: str
|
|
254
|
+
description: str
|
|
255
|
+
data: FetchCheckoutOrderDetailsData
|
|
256
|
+
|
|
257
|
+
class SubmitCustomerCardDetailsData(TypedDict, total=False):
|
|
258
|
+
status: bool
|
|
259
|
+
message: str
|
|
260
|
+
responseCode: str
|
|
261
|
+
transactionId: str
|
|
262
|
+
secureAuthenticationData: dict[str, Any]
|
|
263
|
+
|
|
264
|
+
class SubmitCustomerCardDetailsResponse(TypedDict, total=False):
|
|
265
|
+
code: str
|
|
266
|
+
description: str
|
|
267
|
+
data: SubmitCustomerCardDetailsData
|
|
268
|
+
|
|
269
|
+
class SubmitCustomerPaymentOtpData(TypedDict, total=False):
|
|
270
|
+
status: bool
|
|
271
|
+
message: str
|
|
272
|
+
|
|
273
|
+
class SubmitCustomerPaymentOtpResponse(TypedDict, total=False):
|
|
274
|
+
code: str
|
|
275
|
+
description: str
|
|
276
|
+
data: SubmitCustomerPaymentOtpData
|
|
277
|
+
|
|
278
|
+
class ResendCustomerPaymentOtpData(TypedDict, total=False):
|
|
279
|
+
success: bool
|
|
280
|
+
message: str
|
|
281
|
+
|
|
282
|
+
class ResendCustomerPaymentOtpResponse(TypedDict, total=False):
|
|
283
|
+
code: str
|
|
284
|
+
description: str
|
|
285
|
+
data: ResendCustomerPaymentOtpData
|
|
286
|
+
|
|
287
|
+
class FetchCheckoutTransactionDetailsData(TypedDict, total=False):
|
|
288
|
+
status: bool
|
|
289
|
+
message: str
|
|
290
|
+
order: dict[str, Any]
|
|
291
|
+
|
|
292
|
+
class FetchCheckoutTransactionDetailsResponse(TypedDict, total=False):
|
|
293
|
+
code: str
|
|
294
|
+
description: str
|
|
295
|
+
data: FetchCheckoutTransactionDetailsData
|
|
296
|
+
|
|
297
|
+
class FetchCheckoutFlashAccountNumberData(TypedDict, total=False):
|
|
298
|
+
accountNumber: str
|
|
299
|
+
accountName: str
|
|
300
|
+
bankName: str
|
|
301
|
+
|
|
302
|
+
class FetchCheckoutFlashAccountNumberResponse(TypedDict, total=False):
|
|
303
|
+
code: str
|
|
304
|
+
description: str
|
|
305
|
+
data: FetchCheckoutFlashAccountNumberData
|
|
306
|
+
|
|
307
|
+
class RequestUserOtpToAuthenticateUserData(TypedDict, total=False):
|
|
308
|
+
success: bool
|
|
309
|
+
message: str
|
|
310
|
+
|
|
311
|
+
class RequestUserOtpToAuthenticateUserResponse(TypedDict, total=False):
|
|
312
|
+
code: str
|
|
313
|
+
description: str
|
|
314
|
+
data: RequestUserOtpToAuthenticateUserData
|
|
315
|
+
|
|
316
|
+
class RequestUserOtpToAuthenticateUserWhoAlreadyHasSavedCardsData(TypedDict, total=False):
|
|
317
|
+
success: bool
|
|
318
|
+
message: str
|
|
319
|
+
|
|
320
|
+
class RequestUserOtpToAuthenticateUserWhoAlreadyHasSavedCardsResponse(TypedDict, total=False):
|
|
321
|
+
code: str
|
|
322
|
+
description: str
|
|
323
|
+
data: RequestUserOtpToAuthenticateUserWhoAlreadyHasSavedCardsData
|
|
324
|
+
|
|
325
|
+
class SubmitUserOtpData(TypedDict, total=False):
|
|
326
|
+
success: bool
|
|
327
|
+
message: str
|
|
328
|
+
|
|
329
|
+
class SubmitUserOtpResponse(TypedDict, total=False):
|
|
330
|
+
code: str
|
|
331
|
+
description: str
|
|
332
|
+
data: SubmitUserOtpData
|
|
333
|
+
|
|
334
|
+
class FetchUserSavedCardsData(TypedDict, total=False):
|
|
335
|
+
tokenizedCardData: Any
|
|
336
|
+
|
|
337
|
+
class FetchUserSavedCardsResponse(TypedDict, total=False):
|
|
338
|
+
code: str
|
|
339
|
+
description: str
|
|
340
|
+
data: FetchUserSavedCardsData
|
|
341
|
+
|
|
342
|
+
class CancelCheckoutTransactionData(TypedDict, total=False):
|
|
343
|
+
success: bool
|
|
344
|
+
message: str
|
|
345
|
+
|
|
346
|
+
class CancelCheckoutTransactionResponse(TypedDict, total=False):
|
|
347
|
+
code: str
|
|
348
|
+
description: str
|
|
349
|
+
data: CancelCheckoutTransactionData
|
|
350
|
+
|
|
351
|
+
class FetchBankCodesAndNamesData(TypedDict, total=False):
|
|
352
|
+
results: list[dict[str, Any]]
|
|
353
|
+
|
|
354
|
+
class FetchBankCodesAndNamesResponse(TypedDict, total=False):
|
|
355
|
+
code: str
|
|
356
|
+
description: str
|
|
357
|
+
data: FetchBankCodesAndNamesData
|
|
358
|
+
|
|
359
|
+
class PerformBankAccountLookupData(TypedDict, total=False):
|
|
360
|
+
accountNumber: str
|
|
361
|
+
accountName: str
|
|
362
|
+
|
|
363
|
+
class PerformBankAccountLookupResponse(TypedDict, total=False):
|
|
364
|
+
code: str
|
|
365
|
+
description: str
|
|
366
|
+
data: PerformBankAccountLookupData
|
|
367
|
+
|
|
368
|
+
class PerformBankAccountTransferTheParentAccountData(TypedDict, total=False):
|
|
369
|
+
amount: float
|
|
370
|
+
meta: dict[str, Any]
|
|
371
|
+
fee: float
|
|
372
|
+
timeCreated: str
|
|
373
|
+
id: str
|
|
374
|
+
type: str
|
|
375
|
+
status: str
|
|
376
|
+
|
|
377
|
+
class PerformBankAccountTransferTheParentAccountResponse(TypedDict, total=False):
|
|
378
|
+
code: str
|
|
379
|
+
description: str
|
|
380
|
+
data: PerformBankAccountTransferTheParentAccountData
|
|
381
|
+
|
|
382
|
+
class PerformBankAccountTransferFromAccountData(TypedDict, total=False):
|
|
383
|
+
amount: float
|
|
384
|
+
meta: dict[str, Any]
|
|
385
|
+
fee: float
|
|
386
|
+
timeCreated: str
|
|
387
|
+
id: str
|
|
388
|
+
type: str
|
|
389
|
+
status: str
|
|
390
|
+
|
|
391
|
+
class PerformBankAccountTransferFromAccountResponse(TypedDict, total=False):
|
|
392
|
+
code: str
|
|
393
|
+
description: str
|
|
394
|
+
data: PerformBankAccountTransferFromAccountData
|
|
395
|
+
|
|
396
|
+
class PerformWalletTransferFromTheParentAccountData(TypedDict, total=False):
|
|
397
|
+
amount: float
|
|
398
|
+
meta: dict[str, Any]
|
|
399
|
+
fee: float
|
|
400
|
+
timeCreated: str
|
|
401
|
+
id: str
|
|
402
|
+
type: str
|
|
403
|
+
status: str
|
|
404
|
+
|
|
405
|
+
class PerformWalletTransferFromTheParentAccountResponse(TypedDict, total=False):
|
|
406
|
+
code: str
|
|
407
|
+
description: str
|
|
408
|
+
data: PerformWalletTransferFromTheParentAccountData
|
|
409
|
+
|
|
410
|
+
class PerformWalletTransferFromASubAccountData(TypedDict, total=False):
|
|
411
|
+
amount: float
|
|
412
|
+
meta: dict[str, Any]
|
|
413
|
+
fee: float
|
|
414
|
+
timeCreated: str
|
|
415
|
+
id: str
|
|
416
|
+
type: str
|
|
417
|
+
status: str
|
|
418
|
+
|
|
419
|
+
class PerformWalletTransferFromASubAccountResponse(TypedDict, total=False):
|
|
420
|
+
code: str
|
|
421
|
+
description: str
|
|
422
|
+
data: PerformWalletTransferFromASubAccountData
|
|
423
|
+
|
|
424
|
+
class AssignATerminalToAnAccountData(TypedDict, total=False):
|
|
425
|
+
terminalId: str
|
|
426
|
+
serialNumber: str
|
|
427
|
+
accountId: str
|
|
428
|
+
parentAccountId: str
|
|
429
|
+
merchantName: str
|
|
430
|
+
terminalLabel: str
|
|
431
|
+
createdAt: str
|
|
432
|
+
updatedAt: str
|
|
433
|
+
|
|
434
|
+
class AssignATerminalToAnAccountResponse(TypedDict, total=False):
|
|
435
|
+
code: str
|
|
436
|
+
description: str
|
|
437
|
+
data: AssignATerminalToAnAccountData
|
|
438
|
+
|
|
439
|
+
class AssignATerminalToTheParentAccountData(TypedDict, total=False):
|
|
440
|
+
terminalId: str
|
|
441
|
+
serialNumber: str
|
|
442
|
+
accountId: str
|
|
443
|
+
parentAccountId: str
|
|
444
|
+
merchantName: str
|
|
445
|
+
terminalLabel: str
|
|
446
|
+
createdAt: str
|
|
447
|
+
updatedAt: str
|
|
448
|
+
|
|
449
|
+
class AssignATerminalToTheParentAccountResponse(TypedDict, total=False):
|
|
450
|
+
code: str
|
|
451
|
+
description: str
|
|
452
|
+
data: AssignATerminalToTheParentAccountData
|
|
453
|
+
|
|
454
|
+
class UnAssignTerminalFromAnAccountData(TypedDict, total=False):
|
|
455
|
+
terminalId: str
|
|
456
|
+
serialNumber: str
|
|
457
|
+
accountId: str
|
|
458
|
+
parentAccountId: str
|
|
459
|
+
merchantName: str
|
|
460
|
+
terminalLabel: str
|
|
461
|
+
createdAt: str
|
|
462
|
+
updatedAt: str
|
|
463
|
+
|
|
464
|
+
class UnAssignTerminalFromAnAccountResponse(TypedDict, total=False):
|
|
465
|
+
code: str
|
|
466
|
+
description: str
|
|
467
|
+
data: UnAssignTerminalFromAnAccountData
|
|
468
|
+
|
|
469
|
+
class UnAssignATerminalFromTheParentAccountData(TypedDict, total=False):
|
|
470
|
+
terminalId: str
|
|
471
|
+
serialNumber: str
|
|
472
|
+
accountId: str
|
|
473
|
+
parentAccountId: str
|
|
474
|
+
merchantName: str
|
|
475
|
+
terminalLabel: str
|
|
476
|
+
createdAt: str
|
|
477
|
+
updatedAt: str
|
|
478
|
+
|
|
479
|
+
class UnAssignATerminalFromTheParentAccountResponse(TypedDict, total=False):
|
|
480
|
+
code: str
|
|
481
|
+
description: str
|
|
482
|
+
data: UnAssignATerminalFromTheParentAccountData
|
|
483
|
+
|
|
484
|
+
class FetchCreditDebitTransactionsOnASubAccountData(TypedDict, total=False):
|
|
485
|
+
results: list[dict[str, Any]]
|
|
486
|
+
cursor: str
|
|
487
|
+
|
|
488
|
+
class FetchCreditDebitTransactionsOnASubAccountResponse(TypedDict, total=False):
|
|
489
|
+
code: str
|
|
490
|
+
description: str
|
|
491
|
+
data: FetchCreditDebitTransactionsOnASubAccountData
|
|
492
|
+
|
|
493
|
+
class FetchCreditDebitTransactionsOnTheParentAccountData(TypedDict, total=False):
|
|
494
|
+
results: list[dict[str, Any]]
|
|
495
|
+
cursor: str
|
|
496
|
+
|
|
497
|
+
class FetchCreditDebitTransactionsOnTheParentAccountResponse(TypedDict, total=False):
|
|
498
|
+
code: str
|
|
499
|
+
description: str
|
|
500
|
+
data: FetchCreditDebitTransactionsOnTheParentAccountData
|
|
501
|
+
|
|
502
|
+
class FetchTransactionsOnASubAccountData(TypedDict, total=False):
|
|
503
|
+
results: list[dict[str, Any]]
|
|
504
|
+
cursor: str
|
|
505
|
+
|
|
506
|
+
class FetchTransactionsOnASubAccountResponse(TypedDict, total=False):
|
|
507
|
+
code: str
|
|
508
|
+
description: str
|
|
509
|
+
data: FetchTransactionsOnASubAccountData
|
|
510
|
+
|
|
511
|
+
class FilterAccountTransactionsData(TypedDict, total=False):
|
|
512
|
+
results: list[dict[str, Any]]
|
|
513
|
+
cursor: str
|
|
514
|
+
|
|
515
|
+
class FilterAccountTransactionsResponse(TypedDict, total=False):
|
|
516
|
+
code: str
|
|
517
|
+
description: str
|
|
518
|
+
data: FilterAccountTransactionsData
|
|
519
|
+
|
|
520
|
+
class FetchTransactionsOnTheParentAccountData(TypedDict, total=False):
|
|
521
|
+
results: list[dict[str, Any]]
|
|
522
|
+
cursor: str
|
|
523
|
+
|
|
524
|
+
class FetchTransactionsOnTheParentAccountResponse(TypedDict, total=False):
|
|
525
|
+
code: str
|
|
526
|
+
description: str
|
|
527
|
+
data: FetchTransactionsOnTheParentAccountData
|
|
528
|
+
|
|
529
|
+
class FilterParentAccountTransactionsData(TypedDict, total=False):
|
|
530
|
+
results: list[dict[str, Any]]
|
|
531
|
+
cursor: str
|
|
532
|
+
|
|
533
|
+
class FilterParentAccountTransactionsResponse(TypedDict, total=False):
|
|
534
|
+
code: str
|
|
535
|
+
description: str
|
|
536
|
+
data: FilterParentAccountTransactionsData
|
|
537
|
+
|
|
538
|
+
class FetchASingleTransactionOnASubAccountData(TypedDict, total=False):
|
|
539
|
+
id: str
|
|
540
|
+
status: str
|
|
541
|
+
amount: float
|
|
542
|
+
fixedCharge: float
|
|
543
|
+
source: str
|
|
544
|
+
type: str
|
|
545
|
+
gatewayMessage: str
|
|
546
|
+
customerBillerId: str
|
|
547
|
+
timeCreated: str
|
|
548
|
+
posTid: str
|
|
549
|
+
terminalId: str
|
|
550
|
+
providerTerminalId: str
|
|
551
|
+
rrn: str
|
|
552
|
+
posSerialNumber: str
|
|
553
|
+
posTerminalLabel: str
|
|
554
|
+
stan: str
|
|
555
|
+
paymentVendorReference: str
|
|
556
|
+
userId: str
|
|
557
|
+
posRrn: str
|
|
558
|
+
merchantTxRef: str
|
|
559
|
+
|
|
560
|
+
class FetchASingleTransactionOnASubAccountResponse(TypedDict, total=False):
|
|
561
|
+
code: str
|
|
562
|
+
description: str
|
|
563
|
+
data: FetchASingleTransactionOnASubAccountData
|
|
564
|
+
|
|
565
|
+
class FetchASingleTransactionOnTheParentAccountData(TypedDict, total=False):
|
|
566
|
+
id: str
|
|
567
|
+
status: str
|
|
568
|
+
amount: float
|
|
569
|
+
fixedCharge: float
|
|
570
|
+
source: str
|
|
571
|
+
type: str
|
|
572
|
+
gatewayMessage: str
|
|
573
|
+
customerBillerId: str
|
|
574
|
+
timeCreated: str
|
|
575
|
+
posTid: str
|
|
576
|
+
terminalId: str
|
|
577
|
+
providerTerminalId: str
|
|
578
|
+
rrn: str
|
|
579
|
+
posSerialNumber: str
|
|
580
|
+
posTerminalLabel: str
|
|
581
|
+
stan: str
|
|
582
|
+
paymentVendorReference: str
|
|
583
|
+
userId: str
|
|
584
|
+
posRrn: str
|
|
585
|
+
merchantTxRef: str
|
|
586
|
+
|
|
587
|
+
class FetchASingleTransactionOnTheParentAccountResponse(TypedDict, total=False):
|
|
588
|
+
code: str
|
|
589
|
+
description: str
|
|
590
|
+
data: FetchASingleTransactionOnTheParentAccountData
|
|
591
|
+
|
|
592
|
+
class ConfirmATransactionSStatusBySessionIdData(TypedDict, total=False):
|
|
593
|
+
id: str
|
|
594
|
+
status: str
|
|
595
|
+
amount: float
|
|
596
|
+
fixedCharge: float
|
|
597
|
+
source: str
|
|
598
|
+
type: str
|
|
599
|
+
gatewayMessage: str
|
|
600
|
+
customerBillerId: str
|
|
601
|
+
timeCreated: str
|
|
602
|
+
posTid: str
|
|
603
|
+
terminalId: str
|
|
604
|
+
providerTerminalId: str
|
|
605
|
+
rrn: str
|
|
606
|
+
posSerialNumber: str
|
|
607
|
+
posTerminalLabel: str
|
|
608
|
+
stan: str
|
|
609
|
+
paymentVendorReference: str
|
|
610
|
+
userId: str
|
|
611
|
+
posRrn: str
|
|
612
|
+
merchantTxRef: str
|
|
613
|
+
|
|
614
|
+
class ConfirmATransactionSStatusBySessionIdResponse(TypedDict, total=False):
|
|
615
|
+
code: str
|
|
616
|
+
description: str
|
|
617
|
+
data: ConfirmATransactionSStatusBySessionIdData
|
|
618
|
+
|
|
619
|
+
class FetchDataPlansAvailableOnATelcoNetworkProviderData(TypedDict, total=False):
|
|
620
|
+
amount: int
|
|
621
|
+
plan: str
|
|
622
|
+
|
|
623
|
+
class FetchDataPlansAvailableOnATelcoNetworkProviderResponse(TypedDict, total=False):
|
|
624
|
+
code: str
|
|
625
|
+
description: str
|
|
626
|
+
data: FetchDataPlansAvailableOnATelcoNetworkProviderData
|
|
627
|
+
|
|
628
|
+
class MakeAirtimePurchasesViaParentAccountData(TypedDict, total=False):
|
|
629
|
+
amount: float
|
|
630
|
+
timeCreated: str
|
|
631
|
+
type: str
|
|
632
|
+
meta: dict[str, Any]
|
|
633
|
+
status: str
|
|
634
|
+
|
|
635
|
+
class MakeAirtimePurchasesViaParentAccountResponse(TypedDict, total=False):
|
|
636
|
+
code: str
|
|
637
|
+
description: str
|
|
638
|
+
data: MakeAirtimePurchasesViaParentAccountData
|
|
639
|
+
|
|
640
|
+
class MakeAirtimePurchasesViaSpecificOrSubAccountData(TypedDict, total=False):
|
|
641
|
+
amount: float
|
|
642
|
+
timeCreated: str
|
|
643
|
+
type: str
|
|
644
|
+
meta: dict[str, Any]
|
|
645
|
+
status: str
|
|
646
|
+
|
|
647
|
+
class MakeAirtimePurchasesViaSpecificOrSubAccountResponse(TypedDict, total=False):
|
|
648
|
+
code: str
|
|
649
|
+
description: str
|
|
650
|
+
data: MakeAirtimePurchasesViaSpecificOrSubAccountData
|
|
651
|
+
|
|
652
|
+
class VendDataBundlesViaParentAccountData(TypedDict, total=False):
|
|
653
|
+
amount: float
|
|
654
|
+
timeCreated: str
|
|
655
|
+
type: str
|
|
656
|
+
meta: dict[str, Any]
|
|
657
|
+
status: str
|
|
658
|
+
|
|
659
|
+
class VendDataBundlesViaParentAccountResponse(TypedDict, total=False):
|
|
660
|
+
code: str
|
|
661
|
+
description: str
|
|
662
|
+
data: VendDataBundlesViaParentAccountData
|
|
663
|
+
|
|
664
|
+
class VendDataBundlesViaSpecificOrSubAccountData(TypedDict, total=False):
|
|
665
|
+
amount: float
|
|
666
|
+
timeCreated: str
|
|
667
|
+
type: str
|
|
668
|
+
meta: dict[str, Any]
|
|
669
|
+
status: str
|
|
670
|
+
|
|
671
|
+
class VendDataBundlesViaSpecificOrSubAccountResponse(TypedDict, total=False):
|
|
672
|
+
code: str
|
|
673
|
+
description: str
|
|
674
|
+
data: VendDataBundlesViaSpecificOrSubAccountData
|
|
675
|
+
|
|
676
|
+
class CabletvLookupResponse(TypedDict, total=False):
|
|
677
|
+
code: str
|
|
678
|
+
description: str
|
|
679
|
+
data: dict[str, Any]
|
|
680
|
+
|
|
681
|
+
class CableTvSubscriptionViaParentAccountData(TypedDict, total=False):
|
|
682
|
+
amount: float
|
|
683
|
+
timeCreated: str
|
|
684
|
+
type: str
|
|
685
|
+
meta: dict[str, Any]
|
|
686
|
+
status: str
|
|
687
|
+
id: str
|
|
688
|
+
fee: str
|
|
689
|
+
|
|
690
|
+
class CableTvSubscriptionViaParentAccountResponse(TypedDict, total=False):
|
|
691
|
+
code: str
|
|
692
|
+
description: str
|
|
693
|
+
data: CableTvSubscriptionViaParentAccountData
|
|
694
|
+
|
|
695
|
+
class CableTvSubscriptionViaASubAccountData(TypedDict, total=False):
|
|
696
|
+
amount: float
|
|
697
|
+
timeCreated: str
|
|
698
|
+
type: str
|
|
699
|
+
meta: dict[str, Any]
|
|
700
|
+
status: str
|
|
701
|
+
id: str
|
|
702
|
+
fee: str
|
|
703
|
+
|
|
704
|
+
class CableTvSubscriptionViaASubAccountResponse(TypedDict, total=False):
|
|
705
|
+
code: str
|
|
706
|
+
description: str
|
|
707
|
+
data: CableTvSubscriptionViaASubAccountData
|
|
708
|
+
|
|
709
|
+
class FetchElectricityProvidersData(TypedDict, total=False):
|
|
710
|
+
id: str
|
|
711
|
+
name: str
|
|
712
|
+
|
|
713
|
+
class FetchElectricityProvidersResponse(TypedDict, total=False):
|
|
714
|
+
code: str
|
|
715
|
+
description: str
|
|
716
|
+
data: FetchElectricityProvidersData
|
|
717
|
+
|
|
718
|
+
class ElectricityCustomerLookupResponse(TypedDict, total=False):
|
|
719
|
+
code: str
|
|
720
|
+
description: str
|
|
721
|
+
data: dict[str, Any]
|
|
722
|
+
|
|
723
|
+
class VendElectricityViaParentAccountData(TypedDict, total=False):
|
|
724
|
+
amount: float
|
|
725
|
+
timeCreated: str
|
|
726
|
+
type: str
|
|
727
|
+
meta: dict[str, Any]
|
|
728
|
+
status: str
|
|
729
|
+
id: str
|
|
730
|
+
fee: str
|
|
731
|
+
|
|
732
|
+
class VendElectricityViaParentAccountResponse(TypedDict, total=False):
|
|
733
|
+
code: str
|
|
734
|
+
description: str
|
|
735
|
+
data: VendElectricityViaParentAccountData
|
|
736
|
+
|
|
737
|
+
class VendElectricityViaASubAccountData(TypedDict, total=False):
|
|
738
|
+
amount: float
|
|
739
|
+
timeCreated: str
|
|
740
|
+
type: str
|
|
741
|
+
meta: dict[str, Any]
|
|
742
|
+
status: str
|
|
743
|
+
id: str
|
|
744
|
+
fee: str
|
|
745
|
+
|
|
746
|
+
class VendElectricityViaASubAccountResponse(TypedDict, total=False):
|
|
747
|
+
code: str
|
|
748
|
+
description: str
|
|
749
|
+
data: VendElectricityViaASubAccountData
|