You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dist/betting.yaml
+59-14Lines changed: 59 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,7 @@ paths:
57
57
- Transaction
58
58
summary: Charge Authorization
59
59
operationId: transaction_chargeAuthorization
60
+
description: Charge all authorizations marked as reusable with this endpoint whenever you need to receive payments
60
61
requestBody:
61
62
content:
62
63
application/json:
@@ -90,6 +91,7 @@ paths:
90
91
required: true
91
92
schema:
92
93
type: string
94
+
example: re4lyvq3s3
93
95
responses:
94
96
'200':
95
97
description: ''
@@ -108,14 +110,17 @@ paths:
108
110
tags:
109
111
- Bank
110
112
summary: Resolve Account Number
113
+
description: Resolve an account number to confirm the name associated with it
111
114
operationId: bank_resolveAccountNumber
112
115
parameters:
113
116
- name: account_number
117
+
description: The account number of interest
114
118
in: query
115
119
schema:
116
120
type: integer
117
121
example: 22728151
118
122
- name: bank_code
123
+
description: The bank code associated with the account number
119
124
in: query
120
125
schema:
121
126
type: integer
@@ -134,6 +139,7 @@ paths:
134
139
tags:
135
140
- Transfer Recipient
136
141
summary: Create Transfer Recipient
142
+
description: Creates a new recipient. A duplicate account number will lead to the retrieval of the existing record.
137
143
operationId: transferrecipient_create
138
144
requestBody:
139
145
content:
@@ -158,6 +164,7 @@ paths:
158
164
tags:
159
165
- Transfer Recipient
160
166
summary: List Transfer Recipients
167
+
description: List transfer recipients available on your integration
161
168
operationId: transferrecipient_list
162
169
parameters:
163
170
- in: query
@@ -205,6 +212,10 @@ paths:
205
212
tags:
206
213
- Transfer
207
214
summary: Initiate Bulk Transfer
215
+
description: |
216
+
Batch multiple transfers in a single request.
217
+
218
+
You need to disable the Transfers OTP requirement to use this endpoint.
208
219
operationId: transfer_bulk
209
220
requestBody:
210
221
content:
@@ -250,11 +261,19 @@ components:
250
261
type: string
251
262
share:
252
263
description: The percentage or flat quota of the customer or partner
253
-
type: string
264
+
type: integer
265
+
example:
266
+
subaccount: ACCT_6uujpqtzmnufzkw
267
+
share: 50
254
268
SplitCreate:
255
269
type: object
256
270
description: |
257
271
Split configuration for transactions
272
+
required:
273
+
- name
274
+
- type
275
+
- subaccounts
276
+
- currency
258
277
properties:
259
278
name:
260
279
description: Name of the transaction split
@@ -289,11 +308,13 @@ components:
289
308
bearer_subaccount:
290
309
description: This is the subaccount code of the customer or partner that would bear the transaction charge if you specified subaccount as the bearer type
291
310
type: string
292
-
required:
293
-
- name
294
-
- type
295
-
- subaccounts
296
-
- currency
311
+
example:
312
+
name: Halfsies
313
+
type: percentage
314
+
currency: NGN
315
+
subaccounts:
316
+
- subaccount: ACCT_6uujpqtzmnufzkw
317
+
share: 50
297
318
TransactionInitialize:
298
319
description: Initialize a transaction
299
320
type: object
@@ -306,7 +327,7 @@ components:
306
327
type: string
307
328
amount:
308
329
description: |
309
-
Amount should be in smallest denomination of the currency. For example if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR
330
+
Amount should be in smallest denomination of the currency.
310
331
type: integer
311
332
currency:
312
333
$ref: '#/components/schemas/Currency'
@@ -319,13 +340,16 @@ components:
319
340
items:
320
341
type: string
321
342
enum:
322
-
- card
343
+
- apple_pay
323
344
- bank
324
-
- ussd
325
-
- qr
345
+
- bank_transfer
346
+
- capitec_pay
347
+
- card
326
348
- eft
327
349
- mobile_money
328
-
- bank_transfer
350
+
- payattitude
351
+
- qr
352
+
- ussd
329
353
callback_url:
330
354
description: |
331
355
Fully qualified url, e.g. https://example.com/ to redirect your customers to after a successful payment. Use this to override the callback url provided on the dashboard for this transaction
@@ -1098,10 +1122,15 @@ components:
1098
1122
properties:
1099
1123
type:
1100
1124
description: Recipient Type
1101
-
default: nuban
1102
1125
type: string
1126
+
enum:
1127
+
- nuban
1128
+
- ghipss
1129
+
- mobile_money
1130
+
- basa
1131
+
- authorization
1103
1132
name:
1104
-
description: Recipient's name
1133
+
description: The recipient's name according to their account registration.
1105
1134
type: string
1106
1135
account_number:
1107
1136
description: Recipient's bank account number
@@ -1121,6 +1150,11 @@ components:
1121
1150
metadata:
1122
1151
description: JSON object of custom data
1123
1152
type: object
1153
+
example:
1154
+
type: nuban
1155
+
name: Smith Taplo
1156
+
account_number: '01000000010'
1157
+
bank_code: '058'
1124
1158
TransferRecipientCreateResponse:
1125
1159
type: object
1126
1160
properties:
@@ -1225,15 +1259,20 @@ components:
1225
1259
reason:
1226
1260
description: The reason or narration for the transfer.
0 commit comments