Repository navigation
Expand file tree
/
Copy pathopenapi.json
More file actions
320 lines (320 loc) · 12.8 KB
/
Copy pathopenapi.json
File metadata and controls
320 lines (320 loc) · 12.8 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
{
"openapi": "3.0.2",
"info": {
"title": "Unit OpenAPI specifications",
"description": "An OpenAPI specifications for unit-sdk clients",
"version": "0.0.2"
},
"servers": [
{
"url": "https://api.s.unit.sh"
}
],
"paths": {
"/applications/{applicationId}": {
"$ref": "./schemas/application_paths.json#/application"
},
"/applications/{applicationId}/cancel": {
"$ref": "./schemas/application_paths.json#/cancel_application"
},
"/applications": {
"$ref": "./schemas/application_paths.json#/applications"
},
"/application-forms": {
"$ref": "./schemas/application_paths.json#/application_forms"
},
"/applications/{applicationId}/documents/{documentId}": {
"$ref": "./schemas/application_paths.json#/upload_pdf_file"
},
"/applications/{applicationId}/documents/{documentId}/": {
"$ref": "./schemas/application_paths.json#/upload_png_file"
},
"/applications/{applicationId}/documents/{documentId}/?": {
"$ref": "./schemas/application_paths.json#/upload_jpg_file"
},
"/applications/{applicationId}/documents/{documentId}/back": {
"$ref": "./schemas/application_paths.json#/upload_pdf_file_back"
},
"/applications/{applicationId}/documents/{documentId}/back/": {
"$ref": "./schemas/application_paths.json#/upload_png_file_back"
},
"/applications/{applicationId}/documents/{documentId}/back/?": {
"$ref": "./schemas/application_paths.json#/upload_jpg_file_back"
},
"/applications/{applicationId}/documents": {
"$ref": "./schemas/application_paths.json#/documents"
},
"/applications/{applicationId}/documents/{documentId}/verify": {
"$ref": "./schemas/application_paths.json#/verify_document"
},
"/applications/{applicationId}/documents/{documentId}/download": {
"$ref": "./schemas/application_paths.json#/download_document"
},
"/applications/{applicationId}/documents/{documentId}/download/back": {
"$ref": "./schemas/application_paths.json#/download_back_side_document"
},
"/application-forms/{applicationFormId}": {
"$ref": "./schemas/application_paths.json#/application_form"
},
"/accounts": {
"$ref": "./schemas/account_paths.json#/accounts"
},
"/accounts/{accountId}": {
"$ref": "./schemas/account_paths.json#/account"
},
"/accounts/{accountId}/limits": {
"$ref": "./schemas/account_paths.json#/get_account_limits"
},
"/accounts/{accountId}/unfreeze": {
"$ref": "./schemas/account_paths.json#/unfreeze_account"
},
"/accounts/{accountId}/freeze": {
"$ref": "./schemas/account_paths.json#/freeze_account"
},
"/accounts/{accountId}/close": {
"$ref": "./schemas/account_paths.json#/close_account"
},
"/accounts/{accountId}/reopen": {
"$ref": "./schemas/account_paths.json#/reopen_account"
},
"/accounts/{accountId}/enter-daca": {
"$ref": "./schemas/account_paths.json#/enter_daca"
},
"/accounts/{accountId}/activate-daca": {
"$ref": "./schemas/account_paths.json#/activate_daca"
},
"/accounts/{accountId}/deactivate-daca": {
"$ref": "./schemas/account_paths.json#/deactivate_daca"
},
"/account-end-of-day": {
"$ref": "./schemas/account_paths.json#/get_account_end_of_day"
},
"/customers/{customerId}": {
"$ref": "./schemas/customer_paths.json#/customer"
},
"/customers": {
"$ref": "./schemas/customer_paths.json#/list_customers"
},
"/customers/{customerId}/archive": {
"$ref": "./schemas/customer_paths.json#/archive_customer"
},
"/payments": {
"$ref": "./schemas/payments_paths.json#/get_and_create_payments"
},
"/payments/{paymentId}": {
"$ref": "./schemas/payments_paths.json#/get_and_patch_payment"
},
"/payments/{paymentId}/cancel": {
"$ref": "./schemas/payments_paths.json#/cancel_payment"
},
"/received-payments": {
"$ref": "./schemas/payments_paths.json#/list_received_payments"
},
"/received-payments/{paymentId}": {
"$ref": "./schemas/payments_paths.json#/received_payments"
},
"/received-payments/{paymentId}/advance": {
"$ref": "./schemas/payments_paths.json#/advance_received_payment"
},
"/counterparties": {
"$ref": "./schemas/counterparty_paths.json#/counterparties"
},
"/counterparties/{counterpartyId}": {
"$ref": "./schemas/counterparty_paths.json#/counterparty"
},
"/counterparties/{counterpartyId}/balance": {
"$ref": "./schemas/counterparty_paths.json#/counterparty_balance"
},
"/recurring-payments": {
"$ref": "./schemas/payments_paths.json#/recurring_payments"
},
"/recurring-payments/{paymentId}": {
"$ref": "./schemas/payments_paths.json#/get_recurring_payment"
},
"/recurring-payments/{paymentId}/disable": {
"$ref": "./schemas/payments_paths.json#/disable_recurring_payment"
},
"/recurring-payments/{paymentId}/enable": {
"$ref": "./schemas/payments_paths.json#/enable_recurring_payment"
},
"/cards": {
"$ref": "./schemas/card_paths.json#/cards"
},
"/cards/{cardId}": {
"$ref": "./schemas/card_paths.json#/card"
},
"/cards/{cardId}/secure-data/pin/status": {
"$ref": "./schemas/card_paths.json#/card_pin_status"
},
"/cards/{cardId}/report-stolen": {
"$ref": "./schemas/card_paths.json#/report_stolen_card"
},
"/cards/{cardId}/report-lost": {
"$ref": "./schemas/card_paths.json#/report_lost_card"
},
"/cards/{cardId}/close": {
"$ref": "./schemas/card_paths.json#/close_card"
},
"/cards/{cardId}/freeze": {
"$ref": "./schemas/card_paths.json#/freeze_card"
},
"/cards/{cardId}/unfreeze": {
"$ref": "./schemas/card_paths.json#/unfreeze_card"
},
"/cards/{cardId}/limits": {
"$ref": "./schemas/card_paths.json#/card_limits"
},
"/authorizations": {
"$ref": "./schemas/authorization_paths.json#/authorizations"
},
"/authorizations/{authorizationId}": {
"$ref": "./schemas/authorization_paths.json#/get_authorization"
},
"/authorization-requests": {
"$ref": "./schemas/authorization_paths.json#/get_authorizations_requests"
},
"/authorization-requests/{authorizationId}": {
"$ref": "./schemas/authorization_paths.json#/get_authorization_requests"
},
"/authorization-requests/{authorizationId}/approve": {
"$ref": "./schemas/authorization_paths.json#/approve_authorization_requests"
},
"/authorization-requests/{authorizationId}/decline": {
"$ref": "./schemas/authorization_paths.json#/decline_authorization_requests"
},
"/statements": {
"$ref": "./schemas/statement_paths.json#/get_statements"
},
"/statements/{statementId}/html": {
"$ref": "./schemas/statement_paths.json#/get_statement_html"
},
"/statements/{statementId}/pdf": {
"$ref": "./schemas/statement_paths.json#/get_statement_pdf"
},
"/statements/{accountId}/bank/pdf": {
"$ref": "./schemas/statement_paths.json#/get_statement_bank_pdf"
},
"/rewards": {
"$ref": "./schemas/reward_paths.json#/rewards"
},
"/rewards/{rewardId}": {
"$ref": "./schemas/reward_paths.json#/get_reward"
},
"/events": {
"$ref": "./schemas/event_paths.json#/list_events"
},
"/events/{eventId}": {
"$ref": "./schemas/event_paths.json#/event"
},
"/institutions/{routingNumber}": {
"$ref": "./schemas/institution_paths.json#/get_institution"
},
"/fees": {
"$ref": "./schemas/fee_paths.json#/create_fee"
},
"/check-deposits": {
"$ref": "./schemas/check_deposit_paths.json#/check_deposits"
},
"/check-deposits/{checkDepositId}": {
"$ref": "./schemas/check_deposit_paths.json#/check_deposit"
},
"/check-deposits/{checkDepositId}/confirm": {
"$ref": "./schemas/check_deposit_paths.json#/confirm_check_deposit"
},
"/check-deposits/{checkDepositId}/front": {
"$ref": "./schemas/check_deposit_paths.json#/get_front_check_deposit"
},
"/check-deposits/{checkDepositId}/back": {
"$ref": "./schemas/check_deposit_paths.json#/get_back_check_deposit"
},
"/users/{userId}/api-tokens": {
"$ref": "./schemas/token_paths.json#/api_tokens"
},
"/users/{userId}/api-tokens/{tokenId}": {
"$ref": "./schemas/token_paths.json#/delete_token"
},
"/customers/{customerId}/token": {
"$ref": "./schemas/token_paths.json#/create_customer_token"
},
"/customers/{customerId}/token/verification": {
"$ref": "./schemas/token_paths.json#/create_customer_token_verification"
},
"/webhooks": {
"$ref": "./schemas/webhook_paths.json#/webhooks"
},
"/webhooks/{webhookId}": {
"$ref": "./schemas/webhook_paths.json#/webhook"
},
"/webhooks/{webhookId}/enable": {
"$ref": "./schemas/webhook_paths.json#/enable_webhook"
},
"/webhooks/{webhookId}/disable": {
"$ref": "./schemas/webhook_paths.json#/disable_webhook"
},
"/atm-locations": {
"$ref": "./schemas/atm_location_paths.json#/list_atm_locations"
},
"/accounts/{accountId}/transactions/{transactionId}": {
"$ref": "./schemas/transaction_paths.json#/transaction"
},
"/transactions": {
"$ref": "./schemas/transaction_paths.json#/list_transactions"
},
"/disputes": {
"$ref": "./schemas/dispute_paths.json#/list_disputes"
},
"/disputes/{disputeId}": {
"$ref": "./schemas/dispute_paths.json#/get_dispute"
},
"/repayments": {
"$ref": "./schemas/repayment_paths.json#/repayments"
},
"/repayments/{repaymentId}": {
"$ref": "./schemas/repayment_paths.json#/repayment"
},
"/check-payments": {
"$ref": "./schemas/check_payment_paths.json#/check_payments"
},
"/check-payments/{checkPaymentId}": {
"$ref": "./schemas/check_payment_paths.json#/check_payment"
},
"/check-payments/{checkPaymentId}/approve": {
"$ref": "./schemas/check_payment_paths.json#/check_payment_approve"
},
"/check-payments/{checkPaymentId}/cancel": {
"$ref": "./schemas/check_payment_paths.json#/check_payment_cancel"
},
"/check-payments/{checkPaymentId}/return": {
"$ref": "./schemas/check_payment_paths.json#/check_payment_return"
},
"/check-payments/{checkPaymentId}/front": {
"$ref": "./schemas/check_payment_paths.json#/get_check_payment_front"
},
"/check-payments/{checkPaymentId}/back": {
"$ref": "./schemas/check_payment_paths.json#/get_check_payment_back"
},
"/stop-payments": {
"$ref": "./schemas/stop_payment_paths.json#/stop_payments"
},
"/stop-payments/{stop_payment_id}": {
"$ref": "./schemas/stop_payment_paths.json#/stop_payment"
},
"/stop-payments/{stop_payment_id}/disable": {
"$ref": "./schemas/stop_payment_paths.json#/disable_stop_payment"
}
},
"components": {
"securitySchemes": {
"bearerAuth": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "JWT"
}
}
},
"security": [
{
"bearerAuth": []
}
]
}