Updated JSON specs

This commit is contained in:
aleksei
2021-04-10 14:54:06 +02:00
parent 0fa3eb89a2
commit 8a4e987746
56 changed files with 8938 additions and 1127 deletions

View File

@@ -1612,6 +1612,13 @@
},
"type" : "array"
},
"signatories" : {
"description" : "Signatories associated with the company.\nEach array entry should represent one signatory.",
"items" : {
"$ref" : "#/components/schemas/SignatoryContact"
},
"type" : "array"
},
"taxId" : {
"description" : "The tax ID of the company.",
"type" : "string"
@@ -2047,6 +2054,8 @@
"shareholder",
"shareholderCode",
"shareholderType",
"shopperInteraction",
"signatory",
"socialSecurityNumber",
"sourceAccountCode",
"splitAccount",
@@ -2069,6 +2078,7 @@
"transferCode",
"unknown",
"value",
"verificationType",
"virtualAccount",
"visaNumber",
"webAddress",
@@ -2358,8 +2368,7 @@
}
},
"required" : [
"schedule",
"nextScheduledPayout"
"schedule"
]
},
"PersonalDocumentData" : {
@@ -2647,7 +2656,8 @@
"description" : "Specifies how the person is associated with the account holder. \n\nPossible values: \n\n* **Owner**: Individuals who directly or indirectly own 25% or more of a company.\n\n* **Controller**: Individuals who are members of senior management staff responsible for managing a company or organization.",
"enum" : [
"Controller",
"Owner"
"Owner",
"Signatory"
],
"type" : "string"
},
@@ -2657,6 +2667,50 @@
}
}
},
"SignatoryContact" : {
"properties" : {
"address" : {
"description" : "The address of the person.",
"$ref" : "#/components/schemas/ViasAddress"
},
"email" : {
"description" : "The e-mail address of the person.",
"type" : "string"
},
"fullPhoneNumber" : {
"description" : "The phone number of the person provided as a single string. It will be handled as a landline phone.\nExamples: \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\"",
"type" : "string"
},
"jobTitle" : {
"description" : "Job title of the signatory.\n\nExample values: **Chief Executive Officer**, **Chief Financial Officer**, **Chief Operating Officer**, **President**, **Vice President**, **Executive President**, **Managing Member**, **Partner**, **Treasurer**, **Director**, or **Other**.",
"type" : "string"
},
"name" : {
"description" : "The name of the person.",
"$ref" : "#/components/schemas/ViasName"
},
"personalData" : {
"description" : "Contains information about the person.",
"$ref" : "#/components/schemas/ViasPersonalData"
},
"phoneNumber" : {
"description" : "The phone number of the person.",
"$ref" : "#/components/schemas/ViasPhoneNumber"
},
"signatoryCode" : {
"description" : "The unique identifier (UUID) of the Signatory.\n>**If, during an Account Holder create or update request, this field is left blank (but other fields provided), a new Signatory will be created with a procedurally-generated UUID.**\n\n>**If, during an Account Holder create request, a UUID is provided, the creation of the Signatory will fail while the creation of the Account Holder will continue.**\n\n>**If, during an Account Holder update request, a UUID that is not correlated with an existing Signatory is provided, the update of the Signatory will fail.**\n\n>**If, during an Account Holder update request, a UUID that is correlated with an existing Signatory is provided, the existing Signatory will be updated.**\n",
"type" : "string"
},
"signatoryReference" : {
"description" : "Your reference for the Signatory.",
"type" : "string"
},
"webAddress" : {
"description" : "The URL of the person's website.",
"type" : "string"
}
}
},
"Split" : {
"properties" : {
"account" : {