Repository navigation
6.6.0
Release 6.6.0 (#388)
This release introduces several new document classes and updates the structure and documentation of the Accounts API onboarding models to more accurately represent the requirements for different onboarding variants. The changes clarify where different types of documents should be attached (either at the top-level or on representatives), add detailed PHPDoc comments, and introduce new enums for document types. The most important changes are grouped below:
New document models and enums
- Added new classes for specific document types:
AdditionalDocument,CertifiedAuthorisedSignatory,FinancialVerification,ProofOfPrincipalAddress,ProofOfLegality,ProofOfRegistration, andProofOfResidentialAddress, each with required fields and detailed documentation. [1] [2] [3] [4] [5] [6] [7] - Introduced corresponding enums for document types:
CertifiedAuthorisedSignatoryType,FinancialVerificationType,ProofOfPrincipalAddressType,ProofOfLegalityType,ProofOfRegistrationType, andProofOfResidentialAddressType. [1] [2] [3] [4] [5] [6]
Refined document attachment structure
- Added
RepresentativeDocumentsclass to strictly define the set of documents allowed on a representative, and updated theRepresentativeclass to use it instead of the generalOnboardSubEntityDocuments. [1] [2] - Improved comments and structure in
OnboardSubEntityDocumentsto clarify which documents belong at the top level and which on representatives, and updated types for new document classes. [1] [2]
Documentation and field clarifications
- Enhanced PHPDoc comments throughout, specifying requirements, field formats, and onboarding variant applicability for document fields and classes. [1] [2] [3]
- Added new
Inviteeclass and related field inContactDetailsto represent the user responsible for onboarding. [1] [2]
These changes improve the clarity, maintainability, and correctness of the onboarding document model in the Accounts API.