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
220 changes: 195 additions & 25 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,9 @@ paths:
- $ref: '#/components/schemas/UpgradeToVerifiedBusiness'
- $ref: '#/components/schemas/UpgradeToVerifiedSoleProp'
- $ref: '#/components/schemas/RetryVerifiedPersonal'
- $ref: '#/components/schemas/RetryVerifiedBusiness'
- $ref: '#/components/schemas/RetryVerifiedBusinessNoController'
- $ref: '#/components/schemas/RetryVerifiedBusinessWithController'
- $ref: '#/components/schemas/RetryVerifiedBusinessWithInternationalController'
- $ref: '#/components/schemas/RetryVerifiedSoleProp'
responses:
'200':
Expand Down Expand Up @@ -1114,17 +1116,7 @@ paths:
content:
application/vnd.dwolla.v1.hal+json:
schema:
type: object
properties:
_links:
type: object
_embedded:
type: object
properties:
business-classifications:
type: array
items:
$ref: '#/components/schemas/BusinessClassifications'
$ref: '#/components/schemas/BusinessClassifications'
'403':
description: Forbidden
headers: {}
Expand Down Expand Up @@ -3010,9 +3002,7 @@ paths:
content:
application/vnd.dwolla.v1.hal+json:
schema:
type: array
items:
$ref: '#/components/schemas/FundingSources'
$ref: '#/components/schemas/FundingSources'
'403':
description: forbidden
headers: {}
Expand Down Expand Up @@ -9554,6 +9544,9 @@ components:
state:
type: string
example: IA
country:
type: string
example: US
Account:
title: Account
type: object
Expand Down Expand Up @@ -10786,6 +10779,7 @@ components:
UpdateVerifiedPersonal:
title: UpdateVerifiedPersonal
description: Update Verified Personal Customer Information
type: object
properties:
email:
type: string
Expand Down Expand Up @@ -10942,7 +10936,6 @@ components:
example: 6789
dateOfBirth:
type: string
format: date
example: '1980-01-31'
address:
type: object
Expand Down Expand Up @@ -11020,7 +11013,6 @@ components:
example: business
dateOfBirth:
type: string
format: date
example: '1980-01-31'
ssn:
type: string
Expand Down Expand Up @@ -11098,9 +11090,66 @@ components:
ssn:
type: string
example: 1234
RetryVerifiedBusiness:
title: RetryVerifiedBusiness
description: Retry Verification for Verified Business Customer
RetryVerifiedBusinessNoController:
title: RetryVerifiedBusinessNoController
description: Retry Verification for Verified Business Customer where only Business Details need to be retried
type: object
required:
- firstName
- lastName
- email
- type
- address1
- city
- state
- postalCode
- businessClassification
- businessType
- businessName
- ein
properties:
firstName:
type: string
example: Account
lastName:
type: string
example: Admin
email:
type: string
example: accountAdmin@email.com
ipAddress:
type: string
example: 143.156.7.8
type:
type: string
example: business
address1:
type: string
example: 99-99 33rd St
city:
type: string
example: Some City
state:
type: string
example: NY
postalCode:
type: string
example: 11101
businessClassification:
type: string
example: 9ed3f670-7d6f-11e3-b1ce-5404a6144203
businessType:
type: string
example: llc
businessName:
type: string
example: Jane Corp
ein:
type: string
example: 00-0000000
RetryVerifiedBusinessWithController:
title: RetryVerifiedBusinessWithController
description: Retry Verification for Verified Business Customer where Business Details as well as Controller Details need to be retried
type: object
required:
- firstName
Expand Down Expand Up @@ -11150,6 +11199,7 @@ components:
- firstName
- lastName
- title
- ssn
- dateOfBirth
- address
properties:
Expand All @@ -11164,10 +11214,9 @@ components:
example: CEO
ssn:
type: string
example: 6789
example: 123456789
dateOfBirth:
type: string
format: date
example: '1980-01-31'
address:
type: object
Expand Down Expand Up @@ -11208,6 +11257,125 @@ components:
ein:
type: string
example: 00-0000000
RetryVerifiedBusinessWithInternationalController:
title: RetryVerifiedBusinessWithInternationalController
description: Retry Verification for Verified Business Customer where Business Details as well as International Controller Details need to be retried
type: object
required:
- firstName
- lastName
- email
- type
- address1
- city
- state
- postalCode
- controller
- businessClassification
- businessType
- businessName
- ein
properties:
firstName:
type: string
example: Account
lastName:
type: string
example: Admin
email:
type: string
example: accountAdmin@email.com
ipAddress:
type: string
example: 143.156.7.8
type:
type: string
example: business
address1:
type: string
example: 99-99 33rd St
city:
type: string
example: Some City
state:
type: string
example: NY
postalCode:
type: string
example: 11101
controller:
type: object
required:
- firstName
- lastName
- title
- dateOfBirth
- address
- passport
properties:
firstName:
type: string
example: John
lastName:
type: string
example: Controller
title:
type: string
example: CEO
dateOfBirth:
type: string
example: '1980-01-31'
address:
type: object
required:
- address1
- city
- country
- stateProvinceRegion
properties:
address1:
type: string
example: 462 Main Street
address2:
type: string
example: Suite 123
address3:
type: string
example: Unit 123
city:
type: string
example: Des Moines
postalCode:
type: string
example: '50309'
country:
type: string
example: USA
stateProvinceRegion:
type: string
example: IA
passport:
type: object
required:
- number
- country
properties:
number:
type: string
country:
type: string
businessClassification:
type: string
example: 9ed3f670-7d6f-11e3-b1ce-5404a6144203
businessType:
type: string
example: llc
businessName:
type: string
example: Jane Corp
ein:
type: string
example: 00-0000000
RetryVerifiedSoleProp:
title: RetryVerifiedSoleProp
description: Retry Verification for Verified Business Customer (Sole Proprietorship)
Expand Down Expand Up @@ -11245,7 +11413,6 @@ components:
example: business
dateOfBirth:
type: string
format: date
example: '1980-01-31'
ssn:
type: string
Expand Down Expand Up @@ -11308,16 +11475,19 @@ components:
type: object
properties:
_links:
type: object
additionalProperties:
$ref: '#/components/schemas/HalLink'
_embedded:
type: object
properties:
mass-payments:
business-classifications:
type: array
items:
$ref: '#/components/schemas/BusinessClassification'
total:
type: integer
format: int32
example: 3
BeneficialOwner:
title: BeneficialOwner
description: Request body model for a Beneficial Owner
Expand Down
12 changes: 1 addition & 11 deletions specs/resources/customers/listBusinessClassifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,7 @@ get:
content:
application/vnd.dwolla.v1.hal+json:
schema:
type: object
properties:
_links:
type: object
_embedded:
type: object
properties:
business-classifications:
type: array
items:
$ref: '../../schemas/business-classifications/BusinessClassifications.yml#/BusinessClassifications'
$ref: '../../schemas/business-classifications/BusinessClassifications.yml#/BusinessClassifications'
'403':
description: Forbidden
headers: {}
Expand Down
4 changes: 3 additions & 1 deletion specs/resources/customers/retrieveUpdateCustomer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ post:
- $ref: '../../schemas/customers/UpdateCustomer.yml#/UpgradeToVerifiedBusiness'
- $ref: '../../schemas/customers/UpdateCustomer.yml#/UpgradeToVerifiedSoleProp'
- $ref: '../../schemas/customers/UpdateCustomer.yml#/RetryVerifiedPersonal'
- $ref: '../../schemas/customers/UpdateCustomer.yml#/RetryVerifiedBusiness'
- $ref: '../../schemas/customers/UpdateCustomer.yml#/RetryVerifiedBusinessNoController'
- $ref: '../../schemas/customers/UpdateCustomer.yml#/RetryVerifiedBusinessWithController'
- $ref: '../../schemas/customers/UpdateCustomer.yml#/RetryVerifiedBusinessWithInternationalController'
- $ref: '../../schemas/customers/UpdateCustomer.yml#/RetryVerifiedSoleProp'
responses:
'200':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ get:
content:
application/vnd.dwolla.v1.hal+json:
schema:
type: array
items:
$ref: '../../schemas/funding-sources/FundingSources.yml#/FundingSources'
$ref: '../../schemas/funding-sources/FundingSources.yml#/FundingSources'
'403':
description: forbidden
headers: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@ BusinessClassifications:
type: object
properties:
_links:
type: object
additionalProperties:
$ref: '../common.yml#/components/schemas/HalLink'
_embedded:
type: object
properties:
mass-payments:
business-classifications:
type: array
items:
$ref: './BusinessClassification.yml#/BusinessClassification'
total:
type: integer
format: int32
example: 3
3 changes: 3 additions & 0 deletions specs/schemas/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ components:
state:
type: string
example: IA
country:
type: string
example: US
InternationalAddress:
title: InternationalAddress
type: object
Expand Down
Loading
Loading