-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathopenapi.json
More file actions
380 lines (380 loc) · 16.2 KB
/
openapi.json
File metadata and controls
380 lines (380 loc) · 16.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
{
"openapi": "3.0.2",
"info": {
"title": "Unit OpenAPI specifications",
"description": "An OpenAPI specifications for unit-sdk clients",
"version": "0.4.0"
},
"servers": [
{
"url": "https://api.s.unit.sh"
}
],
"paths": {
"/applications/{applicationId}": {
"$ref": "./schemas/application/applicationPaths.json#/application"
},
"/applications/{applicationId}/cancel": {
"$ref": "./schemas/application/applicationPaths.json#/cancelApplication"
},
"/applications": {
"$ref": "./schemas/application/applicationPaths.json#/applications"
},
"/application-forms": {
"$ref": "./schemas/application/applicationPaths.json#/applicationForms"
},
"/applications/{applicationId}/documents/{documentId}/multipart": {
"$ref": "./schemas/application/applicationPaths.json#/uploadApplicationDocumentFile"
},
"/applications/{applicationId}/documents/{documentId}/back/multipart": {
"$ref": "./schemas/application/applicationPaths.json#/uploadApplicationDocumentFileBack"
},
"/applications/{applicationId}/documents": {
"$ref": "./schemas/application/applicationPaths.json#/documents"
},
"/applications/{applicationId}/documents/{documentId}/verify": {
"$ref": "./schemas/application/applicationPaths.json#/verifyDocument"
},
"/applications/{applicationId}/documents/{documentId}/download": {
"$ref": "./schemas/application/applicationPaths.json#/downloadDocument"
},
"/applications/{applicationId}/documents/{documentId}/download/back": {
"$ref": "./schemas/application/applicationPaths.json#/downloadBackSideDocument"
},
"/application-forms/{applicationFormId}": {
"$ref": "./schemas/application/applicationPaths.json#/applicationForm"
},
"/beneficial-owner/{beneficialOwnerId}": {
"$ref": "./schemas/application/applicationPaths.json#/updateBusinessBeneficialOwner"
},
"/applications/{applicationId}/missing-fields": {
"$ref": "./schemas/application/applicationPaths.json#/applicationMissingFields"
},
"/accounts": {
"$ref": "./schemas/account/accountPaths.json#/accounts"
},
"/accounts/{accountId}": {
"$ref": "./schemas/account/accountPaths.json#/account"
},
"/accounts/{accountId}/limits": {
"$ref": "./schemas/account/accountPaths.json#/getAccountLimits"
},
"/accounts/{accountId}/unfreeze": {
"$ref": "./schemas/account/accountPaths.json#/unfreezeAccount"
},
"/accounts/{accountId}/freeze": {
"$ref": "./schemas/account/accountPaths.json#/freezeAccount"
},
"/accounts/{accountId}/close": {
"$ref": "./schemas/account/accountPaths.json#/closeAccount"
},
"/accounts/{accountId}/reopen": {
"$ref": "./schemas/account/accountPaths.json#/reopenAccount"
},
"/accounts/{accountId}/enter-daca": {
"$ref": "./schemas/account/accountPaths.json#/enterDaca"
},
"/accounts/{accountId}/activate-daca": {
"$ref": "./schemas/account/accountPaths.json#/activateDaca"
},
"/accounts/{accountId}/deactivate-daca": {
"$ref": "./schemas/account/accountPaths.json#/deactivateDaca"
},
"/account-end-of-day": {
"$ref": "./schemas/account/accountPaths.json#/getAccountBalanceHistory"
},
"/accounts/{accountId}/repayment-information": {
"$ref": "./schemas/account/accountPaths.json#/repaymentInfo"
},
"/accounts/{accountId}/deposit-products": {
"$ref": "./schemas/account/accountPaths.json#/depositProducts"
},
"/accounts/{accountId}/relationships/customers": {
"$ref": "./schemas/account/accountPaths.json#/customers"
},
"/customers/{customerId}": {
"$ref": "./schemas/customer/customerPaths.json#/customer"
},
"/customers": {
"$ref": "./schemas/customer/customerPaths.json#/listCustomers"
},
"/customers/{customerId}/archive": {
"$ref": "./schemas/customer/customerPaths.json#/archiveCustomer"
},
"/customers/{customerId}/authorized-users": {
"$ref": "./schemas/customer/customerPaths.json#/authorizedUsers"
},
"/payments": {
"$ref": "./schemas/payment/paymentsPaths.json#/getAndCreatePayments"
},
"/payments/{paymentId}": {
"$ref": "./schemas/payment/paymentsPaths.json#/getAndUpdatePayment"
},
"/payments/{paymentId}/cancel": {
"$ref": "./schemas/payment/paymentsPaths.json#/cancelPayment"
},
"/store-locations": {
"$ref": "./schemas/cash-deposit/cashDepositPaths.json#/listCashDepositStoreLocations"
},
"/cash-deposits/barcodes": {
"$ref": "./schemas/cash-deposit/cashDepositPaths.json#/generateBarcode"
},
"/cash-deposits/barcodes/{barcodeNumber}/image": {
"$ref": "./schemas/cash-deposit/cashDepositPaths.json#/getBarcodeImage"
},
"/received-payments": {
"$ref": "./schemas/payment/paymentsPaths.json#/listReceivedPayments"
},
"/returns/{transactionId}": {
"$ref": "./schemas/payment/paymentsPaths.json#/returnReceivedACHTransaction"
},
"/received-payments/{paymentId}": {
"$ref": "./schemas/payment/paymentsPaths.json#/receivedPayments"
},
"/received-payments/{paymentId}/advance": {
"$ref": "./schemas/payment/paymentsPaths.json#/advanceReceivedPayment"
},
"/received-payments/{paymentId}/reprocess": {
"$ref": "./schemas/payment/paymentsPaths.json#/reprocessReceivedPayment"
},
"/counterparties": {
"$ref": "./schemas/counterparty/counterpartyPaths.json#/counterparties"
},
"/counterparties/{counterpartyId}": {
"$ref": "./schemas/counterparty/counterpartyPaths.json#/counterparty"
},
"/counterparties/{counterpartyId}/balance": {
"$ref": "./schemas/counterparty/counterpartyPaths.json#/counterpartyBalance"
},
"/recurring-payments": {
"$ref": "./schemas/payment/paymentsPaths.json#/recurringPayments"
},
"/recurring-payments/{paymentId}": {
"$ref": "./schemas/payment/paymentsPaths.json#/getRecurringPayment"
},
"/recurring-payments/{paymentId}/disable": {
"$ref": "./schemas/payment/paymentsPaths.json#/disableRecurringPayment"
},
"/recurring-payments/{paymentId}/enable": {
"$ref": "./schemas/payment/paymentsPaths.json#/enableRecurringPayment"
},
"/cards": {
"$ref": "./schemas/card/cardPaths.json#/cards"
},
"/cards/{cardId}": {
"$ref": "./schemas/card/cardPaths.json#/card"
},
"/cards/{cardId}/secure-data/pin/status": {
"$ref": "./schemas/card/cardPaths.json#/cardPinStatus"
},
"/cards/{cardId}/report-stolen": {
"$ref": "./schemas/card/cardPaths.json#/reportStolenCard"
},
"/cards/{cardId}/report-lost": {
"$ref": "./schemas/card/cardPaths.json#/reportLostCard"
},
"/cards/{cardId}/close": {
"$ref": "./schemas/card/cardPaths.json#/closeCard"
},
"/cards/{cardId}/freeze": {
"$ref": "./schemas/card/cardPaths.json#/freezeCard"
},
"/cards/{cardId}/unfreeze": {
"$ref": "./schemas/card/cardPaths.json#/unfreezeCard"
},
"/cards/{cardId}/limits": {
"$ref": "./schemas/card/cardPaths.json#/cardLimits"
},
"/cards/{cardId}/replace": {
"$ref": "./schemas/card/cardPaths.json#/replaceCard"
},
"/authorizations": {
"$ref": "./schemas/authorization/authorizationPaths.json#/authorizations"
},
"/authorizations/{authorizationId}": {
"$ref": "./schemas/authorization/authorizationPaths.json#/authorization"
},
"/authorization-requests": {
"$ref": "./schemas/authorization/authorizationPaths.json#/authorizationsRequests"
},
"/authorization-requests/{authorizationId}": {
"$ref": "./schemas/authorization/authorizationPaths.json#/authorizationRequest"
},
"/authorization-requests/{authorizationId}/approve": {
"$ref": "./schemas/authorization/authorizationPaths.json#/approveAuthorizationRequests"
},
"/authorization-requests/{authorizationId}/decline": {
"$ref": "./schemas/authorization/authorizationPaths.json#/declineAuthorizationRequests"
},
"/statements": {
"$ref": "./schemas/statement/statementPaths.json#/getStatements"
},
"/statements/{statementId}/html": {
"$ref": "./schemas/statement/statementPaths.json#/getStatementHtml"
},
"/statements/{statementId}/pdf": {
"$ref": "./schemas/statement/statementPaths.json#/getStatementPdf"
},
"/statements/{accountId}/bank/pdf": {
"$ref": "./schemas/statement/statementPaths.json#/getStatementBankPdf"
},
"/rewards": {
"$ref": "./schemas/reward/rewardPaths.json#/rewards"
},
"/rewards/{rewardId}": {
"$ref": "./schemas/reward/rewardPaths.json#/getReward"
},
"/events": {
"$ref": "./schemas/event/eventPaths.json#/listEvents"
},
"/events/{eventId}": {
"$ref": "./schemas/event/eventPaths.json#/event"
},
"/institutions/{routingNumber}": {
"$ref": "./schemas/institution/institutionPaths.json#/getInstitution"
},
"/fees": {
"$ref": "./schemas/fee/feePaths.json#/createFee"
},
"/fees/reverse": {
"$ref": "./schemas/fee/feePaths.json#/reverseFee"
},
"/check-deposits": {
"$ref": "./schemas/check/checkDepositPaths.json#/checkDeposits"
},
"/check-deposits/{checkDepositId}": {
"$ref": "./schemas/check/checkDepositPaths.json#/checkDeposit"
},
"/check-deposits/{checkDepositId}/confirm": {
"$ref": "./schemas/check/checkDepositPaths.json#/confirmCheckDeposit"
},
"/check-deposits/{checkDepositId}/front": {
"$ref": "./schemas/check/checkDepositPaths.json#/getFrontCheckDeposit"
},
"/check-deposits/{checkDepositId}/back": {
"$ref": "./schemas/check/checkDepositPaths.json#/getBackCheckDeposit"
},
"/users/{userId}/api-tokens": {
"$ref": "./schemas/token/tokenPaths.json#/apiTokens"
},
"/users/{userId}/api-tokens/{tokenId}": {
"$ref": "./schemas/token/tokenPaths.json#/deleteToken"
},
"/customers/{customerId}/token": {
"$ref": "./schemas/token/tokenPaths.json#/createCustomerToken"
},
"/customers/{customerId}/token/verification": {
"$ref": "./schemas/token/tokenPaths.json#/createCustomerTokenVerification"
},
"/webhooks": {
"$ref": "./schemas/webhook/webhookPaths.json#/webhooks"
},
"/webhooks/{webhookId}": {
"$ref": "./schemas/webhook/webhookPaths.json#/webhook"
},
"/webhooks/{webhookId}/enable": {
"$ref": "./schemas/webhook/webhookPaths.json#/enableWebhook"
},
"/webhooks/{webhookId}/disable": {
"$ref": "./schemas/webhook/webhookPaths.json#/disableWebhook"
},
"/atm-locations": {
"$ref": "./schemas/atm/atmLocationPaths.json#/listAtmLocations"
},
"/accounts/{accountId}/transactions/{transactionId}": {
"$ref": "./schemas/transaction/transactionPaths.json#/transaction"
},
"/transactions": {
"$ref": "./schemas/transaction/transactionPaths.json#/listTransactions"
},
"/disputes": {
"$ref": "./schemas/dispute/disputePaths.json#/listDisputes"
},
"/disputes/{disputeId}": {
"$ref": "./schemas/dispute/disputePaths.json#/getDispute"
},
"/repayments": {
"$ref": "./schemas/repayment/repaymentPaths.json#/repayments"
},
"/repayments/{repaymentId}": {
"$ref": "./schemas/repayment/repaymentPaths.json#/repayment"
},
"/recurring-repayments": {
"$ref": "./schemas/repayment/recurring-repayment/recurringRepaymentPaths.json#/recurringRepayments"
},
"/recurring-repayments/{recurringRepaymentId}": {
"$ref": "./schemas/repayment/recurring-repayment/recurringRepaymentPaths.json#/recurringRepayment"
},
"/recurring-repayments/{recurringRepaymentId}/disable": {
"$ref": "./schemas/repayment/recurring-repayment/recurringRepaymentPaths.json#/disableRecurringRepayment"
},
"/recurring-repayments/{recurringRepaymentId}/enable": {
"$ref": "./schemas/repayment/recurring-repayment/recurringRepaymentPaths.json#/enableRecurringRepayment"
},
"/check-payments": {
"$ref": "./schemas/check/checkPaymentPaths.json#/checkPayments"
},
"/check-payments/{checkPaymentId}": {
"$ref": "./schemas/check/checkPaymentPaths.json#/checkPayment"
},
"/check-payments/{checkPaymentId}/approve": {
"$ref": "./schemas/check/checkPaymentPaths.json#/checkPaymentApprove"
},
"/check-payments/{checkPaymentId}/cancel": {
"$ref": "./schemas/check/checkPaymentPaths.json#/checkPaymentCancel"
},
"/check-payments/{checkPaymentId}/return": {
"$ref": "./schemas/check/checkPaymentPaths.json#/checkPaymentReturn"
},
"/check-payments/{checkPaymentId}/front": {
"$ref": "./schemas/check/checkPaymentPaths.json#/getCheckPaymentFront"
},
"/check-payments/{checkPaymentId}/back": {
"$ref": "./schemas/check/checkPaymentPaths.json#/getCheckPaymentBack"
},
"/stop-payments": {
"$ref": "./schemas/payment/stopPaymentPaths.json#/stopPayments"
},
"/stop-payments/{stopPaymentId}": {
"$ref": "./schemas/payment/stopPaymentPaths.json#/stopPayment"
},
"/stop-payments/{stopPaymentId}/disable": {
"$ref": "./schemas/payment/stopPaymentPaths.json#/disableStopPayment"
},
"/tax-forms": {
"$ref": "./schemas/tax-forms/taxFormsPaths.json#/taxForms"
},
"/tax-forms/{taxFormId}": {
"$ref": "./schemas/tax-forms/taxFormsPaths.json#/getTaxForm"
},
"/tax-forms/{taxFormId}/pdf": {
"$ref": "./schemas/tax-forms/taxFormsPaths.json#/getTaxFormPdf"
},
"/sandbox/atm-deposits": {
"$ref": "./schemas/simulation/simulationPaths.json#/createAtmDeposit"
},
"/sandbox/cards/{cardId}/activate": {
"$ref": "./schemas/simulation/simulationPaths.json#/activateCard"
},
"/sandbox/received-payments": {
"$ref": "./schemas/simulation/simulationPaths.json#/receivedPaymentTransaction"
},
"/sandbox/received-ach-payment": {
"$ref": "./schemas/simulation/simulationPaths.json#/createIncomingAchPayment"
}
},
"components": {
"securitySchemes": {
"bearerAuth": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "JWT"
}
}
},
"security": [
{
"bearerAuth": []
}
]
}