Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 7 additions & 64 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4287,12 +4287,7 @@ paths:
href:
type: string
amount:
type: object
properties:
amount:
type: string
currency:
type: string
$ref: '#/components/schemas/TransferAmount'
clearing:
type: object
properties:
Expand Down Expand Up @@ -6423,10 +6418,10 @@ paths:
properties:
currency:
type: string
example: '12.34'
example: USD
value:
type: string
example: USD
example: '12.34'
responses:
'201':
description: create
Expand Down Expand Up @@ -6926,10 +6921,10 @@ paths:
properties:
currency:
type: string
example: '15.00'
example: USD
value:
type: string
example: USD
example: '15.00'
responses:
'201':
description: created
Expand Down Expand Up @@ -9632,34 +9627,6 @@ components:
type: object
additionalProperties:
$ref: '#/components/schemas/HalLink'
Address:
title: Address
type: object
required:
- address1
- city
- country
- postalCode
- state
properties:
address1:
type: string
example: 462 Main Street
address2:
type: string
example: Suite 124
city:
type: string
example: Des Moines
postalCode:
type: string
example: '50309'
state:
type: string
example: IA
country:
type: string
example: US
Account:
title: Account
type: object
Expand All @@ -9673,37 +9640,13 @@ components:
example: 2e21f010-3023-4891-aced-ed726d7cd5e1
name:
type: string
example: Self Employed
authorizedRep:
type: string
example: Jane Doe
example: Jane Doe's Business
timezoneOffset:
type: integer
type: number
example: -6
email:
type: string
example: janedoe@mail.com
phone:
type: string
example: '5555552368'
address:
$ref: '#/components/schemas/Address'
verificationStatus:
type: string
example: Verified
ownershipStatus:
type: string
example: Exempt
ownershipCertificationStatus:
type: string
example: Exempt
type:
type: string
example: Commercial
created:
type: string
format: date-time
example: '2021-10-25T00:39:38.283Z'
NotFoundError:
title: NotFoundError
description: Error response schema for 404 NotFound
Expand Down
4 changes: 2 additions & 2 deletions specs/resources/labels/createLabelReallocation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ post:
properties:
currency:
type: string
example: '15.00'
example: 'USD'
value:
type: string
example: USD
example: '15.00'
responses:
'201':
description: created
Expand Down
4 changes: 2 additions & 2 deletions specs/resources/labels/createListCustomerLabels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,10 @@ post:
properties:
currency:
type: string
example: '12.34'
example: 'USD'
value:
type: string
example: USD
example: '12.34'
responses:
'201':
description: create
Expand Down
7 changes: 1 addition & 6 deletions specs/resources/transfers/initiateTransfer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -364,12 +364,7 @@ post:
href:
type: string
amount:
type: object
properties:
amount:
type: string
currency:
type: string
$ref: '../../schemas/common.yml#/components/schemas/TransferAmount'
clearing:
type: object
properties:
Expand Down
30 changes: 3 additions & 27 deletions specs/schemas/accounts/Account.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,10 @@ Account:
example: 2e21f010-3023-4891-aced-ed726d7cd5e1
name:
type: string
example: Self Employed
authorizedRep:
type: string
example: Jane Doe
example: Jane Doe's Business
timezoneOffset:
type: integer
example: -6
email:
type: string
example: janedoe@mail.com
phone:
type: string
example: '5555552368'
address:
$ref: '../common.yml#/components/schemas/Address'
verificationStatus:
type: string
example: Verified
ownershipStatus:
type: string
example: Exempt
ownershipCertificationStatus:
type: string
example: Exempt
type: number
example: -6.0
type:
type: string
example: Commercial
created:
type: string
format: date-time
example: '2021-10-25T00:39:38.283Z'
Loading