Skip to content

Commit b705364

Browse files
author
appscisumup
committed
chore: synced local 'openapi.yaml' with remote 'specs/openapi.yaml'
1 parent a52bea2 commit b705364

File tree

1 file changed

+0
-219
lines changed

1 file changed

+0
-219
lines changed

openapi.yaml

Lines changed: 0 additions & 219 deletions
Original file line numberDiff line numberDiff line change
@@ -2234,210 +2234,6 @@ paths:
22342234
x-scopes:
22352235
- user.profile
22362236
- user.profile_readonly
2237-
'/v1.1/merchants/{merchant_code}/bank-accounts':
2238-
get:
2239-
operationId: ListBankAccountsV11
2240-
summary: List bank accounts
2241-
description: Retrieves bank accounts of the merchant.
2242-
parameters:
2243-
- name: merchant_code
2244-
in: path
2245-
required: true
2246-
schema:
2247-
type: string
2248-
example: MC0X0ABC
2249-
- name: primary
2250-
in: query
2251-
description: If true only the primary bank account (the one used for payouts) will be returned.
2252-
required: false
2253-
schema:
2254-
type: boolean
2255-
responses:
2256-
'200':
2257-
description: OK
2258-
content:
2259-
application/json:
2260-
schema:
2261-
type: array
2262-
items:
2263-
$ref: '#/components/schemas/BankAccount'
2264-
'401':
2265-
description: Unauthorized
2266-
content:
2267-
application/json:
2268-
schema:
2269-
$ref: '#/components/schemas/Error'
2270-
examples:
2271-
Invalid_Token:
2272-
description: The access token is invalid or has expired.
2273-
value:
2274-
error_message: invalid access token
2275-
error_code: NOT_AUTHORIZED
2276-
Not_Authorized_Token:
2277-
description: The access token is valid but the application is not authorized.
2278-
value:
2279-
error_message: NOT_AUTHORIZED
2280-
error_code: NOT_AUTHORIZED
2281-
Missing_Token:
2282-
description: No access token is provided.
2283-
value:
2284-
message: access token required
2285-
error_code: NOT_AUTHORIZED
2286-
'403':
2287-
description: Forbidden
2288-
content:
2289-
application/json:
2290-
schema:
2291-
$ref: '#/components/schemas/ErrorForbidden'
2292-
examples:
2293-
Forbidden:
2294-
description: You do not have required scopes for making this request.
2295-
value:
2296-
error_message: request_not_allowed
2297-
error_code: FORBIDDEN
2298-
status_code: '403'
2299-
security:
2300-
- apiKey: []
2301-
- oauth2:
2302-
- user.payout-settings
2303-
- user.profile
2304-
- user.profile_readonly
2305-
tags:
2306-
- Merchant
2307-
x-codegen:
2308-
method_name: list_bank_accounts
2309-
x-scopes:
2310-
- user.payout-settings
2311-
- user.profile
2312-
- user.profile_readonly
2313-
/v0.1/me/merchant-profile/bank-accounts:
2314-
get:
2315-
operationId: ListBankAccounts
2316-
summary: List bank accounts
2317-
description: Retrieves bank accounts of the merchant.
2318-
parameters:
2319-
- name: primary
2320-
in: query
2321-
description: If true only the primary bank account (the one used for payouts) will be returned.
2322-
required: false
2323-
schema:
2324-
type: boolean
2325-
responses:
2326-
'200':
2327-
description: OK
2328-
content:
2329-
application/json:
2330-
schema:
2331-
type: array
2332-
items:
2333-
$ref: '#/components/schemas/BankAccount'
2334-
'401':
2335-
description: Unauthorized
2336-
content:
2337-
application/json:
2338-
schema:
2339-
$ref: '#/components/schemas/Error'
2340-
examples:
2341-
Invalid_Token:
2342-
description: The access token is invalid or has expired.
2343-
value:
2344-
error_message: invalid access token
2345-
error_code: NOT_AUTHORIZED
2346-
Not_Authorized_Token:
2347-
description: The access token is valid but the application is not authorized.
2348-
value:
2349-
error_message: NOT_AUTHORIZED
2350-
error_code: NOT_AUTHORIZED
2351-
Missing_Token:
2352-
description: No access token is provided.
2353-
value:
2354-
message: access token required
2355-
error_code: NOT_AUTHORIZED
2356-
'403':
2357-
description: Forbidden
2358-
content:
2359-
application/json:
2360-
schema:
2361-
$ref: '#/components/schemas/ErrorForbidden'
2362-
examples:
2363-
Forbidden:
2364-
description: You do not have required scopes for making this request.
2365-
value:
2366-
error_message: request_not_allowed
2367-
error_code: FORBIDDEN
2368-
status_code: '403'
2369-
deprecated: true
2370-
security:
2371-
- apiKey: []
2372-
- oauth2:
2373-
- user.payout-settings
2374-
- user.profile
2375-
- user.profile_readonly
2376-
tags:
2377-
- Merchant
2378-
x-codegen:
2379-
method_name: list_bank_accounts_deprecated
2380-
x-scopes:
2381-
- user.payout-settings
2382-
- user.profile
2383-
- user.profile_readonly
2384-
/v0.1/me/merchant-profile/settings:
2385-
get:
2386-
operationId: GetSettings
2387-
summary: Get settings
2388-
description: Retrieves merchant settings.
2389-
responses:
2390-
'200':
2391-
description: OK
2392-
content:
2393-
application/json:
2394-
schema:
2395-
$ref: '#/components/schemas/MerchantSettings'
2396-
'401':
2397-
description: Unauthorized
2398-
content:
2399-
application/json:
2400-
schema:
2401-
$ref: '#/components/schemas/Error'
2402-
examples:
2403-
Invalid_Token:
2404-
description: The access token is invalid or has expired.
2405-
value:
2406-
error_message: invalid access token
2407-
error_code: NOT_AUTHORIZED
2408-
Not_Authorized_Token:
2409-
description: The access token is valid but the application is not authorized.
2410-
value:
2411-
error_message: NOT_AUTHORIZED
2412-
error_code: NOT_AUTHORIZED
2413-
Missing_Token:
2414-
description: No access token is provided.
2415-
value:
2416-
message: access token required
2417-
error_code: NOT_AUTHORIZED
2418-
'403':
2419-
description: Forbidden
2420-
content:
2421-
application/json:
2422-
schema:
2423-
$ref: '#/components/schemas/ErrorForbidden'
2424-
examples:
2425-
Forbidden:
2426-
description: You do not have required scopes for making this request.
2427-
value:
2428-
error_message: request_not_allowed
2429-
error_code: FORBIDDEN
2430-
status_code: '403'
2431-
security:
2432-
- apiKey: []
2433-
- oauth2:
2434-
- user.payout-settings
2435-
tags:
2436-
- Merchant
2437-
x-codegen:
2438-
method_name: get_settings
2439-
x-scopes:
2440-
- user.payout-settings
24412237
'/v1.1/receipts/{id}':
24422238
get:
24432239
operationId: GetReceipt
@@ -3450,7 +3246,6 @@ paths:
34503246
- oauth2:
34513247
- user.profile
34523248
- user.profile_readonly
3453-
- merchant.read
34543249
tags:
34553250
- Merchants
34563251
x-codegen:
@@ -3460,7 +3255,6 @@ paths:
34603255
x-scopes:
34613256
- user.profile
34623257
- user.profile_readonly
3463-
- merchant.read
34643258
'/v1/merchants/{merchant_code}/persons':
34653259
get:
34663260
operationId: ListPersons
@@ -3525,7 +3319,6 @@ paths:
35253319
- oauth2:
35263320
- user.profile
35273321
- user.profile_readonly
3528-
- merchant.read
35293322
tags:
35303323
- Merchants
35313324
x-codegen:
@@ -3535,7 +3328,6 @@ paths:
35353328
x-scopes:
35363329
- user.profile
35373330
- user.profile_readonly
3538-
- merchant.read
35393331
'/v1/merchants/{merchant_code}/persons/{person_id}':
35403332
get:
35413333
operationId: GetPerson
@@ -3610,7 +3402,6 @@ paths:
36103402
- oauth2:
36113403
- user.profile
36123404
- user.profile_readonly
3613-
- merchant.read
36143405
tags:
36153406
- Merchants
36163407
x-codegen:
@@ -3620,7 +3411,6 @@ paths:
36203411
x-scopes:
36213412
- user.profile
36223413
- user.profile_readonly
3623-
- merchant.read
36243414
'/v0.1/merchants/{merchant_code}/readers':
36253415
get:
36263416
operationId: ListReaders
@@ -7871,14 +7661,6 @@ components:
78717661
type: number
78727662
format: float
78737663
responses:
7874-
BankAccounts:
7875-
description: OK
7876-
content:
7877-
application/json:
7878-
schema:
7879-
type: array
7880-
items:
7881-
$ref: '#/components/schemas/BankAccount'
78827664
Checkout:
78837665
description: Created
78847666
content:
@@ -8402,4 +8184,3 @@ tags:
84028184
description: A reader represents a device that accepts payments. You can use the SumUp Solo to accept in-person payments.
84038185
x-core-objects:
84048186
- $ref: '#/components/schemas/Reader'
8405-
x-beta: true

0 commit comments

Comments
 (0)