@@ -18,8 +18,11 @@ def initiate_mpesa_charge(
18
18
19
19
Args:
20
20
tx_ref (int): Unique reference peculiar to the transaction.
21
+
21
22
amount (int): Amount to be charged for the transaction.
23
+
22
24
email (str): The customer's email address.
25
+
23
26
phone_number (str): Phone number linked to the customer's bank account or mobile money account
24
27
25
28
Returns:
@@ -52,9 +55,13 @@ def initiate_ghana_mobile_charge(
52
55
53
56
Args:
54
57
tx_ref (int): Unique reference peculiar to the transaction.
58
+
55
59
amount (int): Amount to be charged for the transaction.
60
+
56
61
email (str): The customer's email address.
62
+
57
63
phone_number (str): Phone number linked to the customer's bank account or mobile money account
64
+
58
65
network (str): Mobile money network provider (MTN, VODAFONE, TIGO)
59
66
60
67
Returns:
@@ -91,8 +98,11 @@ def initiate_uganda_mobile_charge(
91
98
92
99
Args:
93
100
tx_ref (int): Unique reference peculiar to the transaction.
101
+
94
102
amount (int): Amount to be charged for the transaction.
103
+
95
104
email (str): The customer's email address.
105
+
96
106
phone_number (str): Phone number linked to the customer's bank account or mobile money account
97
107
98
108
Returns:
@@ -130,10 +140,15 @@ def initiate_franco_mobile_charge(
130
140
131
141
Args:
132
142
tx_ref (int): Unique reference peculiar to the transaction.
143
+
133
144
amount (int): Amount to be charged for the transaction.
145
+
134
146
email (str): The customer's email address.
147
+
135
148
phone_number (str): Phone number linked to the customer's bank account or mobile money account
149
+
136
150
currency (str): Currency to charge in.
151
+
137
152
franco_country_code (str): Country code (BF, CI, CM, SN)
138
153
139
154
Returns:
@@ -170,8 +185,11 @@ def initiate_tanzania_mobile_charge(
170
185
171
186
Args:
172
187
tx_ref (int): Unique reference peculiar to the transaction.
188
+
173
189
amount (int): Amount to be charged for the transaction.
190
+
174
191
email (str): The customer's email address.
192
+
175
193
phone_number (str): Phone number linked to the customer's bank account or mobile money account
176
194
177
195
Returns:
@@ -204,9 +222,13 @@ def initiate_rwanda_mobile_charge(
204
222
205
223
Args:
206
224
tx_ref (int): Unique reference peculiar to the transaction.
225
+
207
226
amount (int): Amount to be charged for the transaction.
227
+
208
228
email (str): The customer's email address.
229
+
209
230
phone_number (str): Phone number linked to the customer's bank account or mobile money account
231
+
210
232
order_id (str): Unique ref for the mobilemoney transaction to be provided by the merchant
211
233
212
234
Returns:
@@ -243,8 +265,11 @@ def initiate_zambia_mobile_charge(
243
265
244
266
Args:
245
267
tx_ref (int): Unique reference peculiar to the transaction.
268
+
246
269
amount (int): Amount to be charged for the transaction.
270
+
247
271
email (str): The customer's email address.
272
+
248
273
phone_number (str): Phone number linked to the customer's bank account or mobile money account
249
274
250
275
Returns:
@@ -281,9 +306,13 @@ def initiate_ussd_charge(
281
306
282
307
Args:
283
308
tx_ref (int): Unique reference peculiar to the transaction.
309
+
284
310
amount (int): Amount to be charged for the transaction.
311
+
285
312
email (str): The customer's email address.
313
+
286
314
account_bank (str): Bank numeric code. It can be gotten from the banks endpoint.
315
+
287
316
phone_number (str): Phone number linked to the customer's bank account or mobile money account
288
317
289
318
Returns:
@@ -320,8 +349,11 @@ def initiate_apple_pay_charge(
320
349
321
350
Args:
322
351
tx_ref (int): Unique reference peculiar to the transaction.
352
+
323
353
amount (int): Amount to be charged for the transaction.
354
+
324
355
email (str): The customer's email address.
356
+
325
357
currency (str): Currency to charge in.
326
358
327
359
Returns:
@@ -356,8 +388,11 @@ def initiate_google_pay_charge(
356
388
357
389
Args:
358
390
tx_ref (int): Unique reference peculiar to the transaction.
391
+
359
392
amount (int): Amount to be charged for the transaction.
393
+
360
394
email (str): The customer's email address.
395
+
361
396
currency (str): Currency to charge in.
362
397
363
398
Returns:
@@ -391,7 +426,9 @@ def initiate_enaira_charge(
391
426
392
427
Args:
393
428
tx_ref (int): This is a unique reference peculiar to the transaction being carried out.
429
+
394
430
amount (int): This is the amount to be charged for the transaction.
431
+
395
432
email (str): The customer's email address.
396
433
397
434
Returns:
@@ -424,7 +461,9 @@ def initiate_fawry_pay_charge(
424
461
425
462
Args:
426
463
tx_ref (int): This is a unique reference peculiar to the transaction being carried out.
464
+
427
465
amount (int): This is the amount to be charged for the transaction.
466
+
428
467
email (str): The customer's email address.
429
468
430
469
Returns:
@@ -459,9 +498,13 @@ def initiate_paypal_charge(
459
498
460
499
Args:
461
500
tx_ref (int): Unique reference peculiar to the transaction.
501
+
462
502
amount (int): Amount to be charged for the transaction.
503
+
463
504
email (str): The customer's email address.
505
+
464
506
currency (str): Currency to charge in.
507
+
465
508
Returns:
466
509
dict: Response Details
467
510
"""
0 commit comments