feature/INT-1663 - Support for negotiating Accounts API schema version via the Accept header - #188
Conversation
🟡 Risk Classification: MINORApproval route: AI Review + Human Approval Classification reasons
Operational gates
Files analysed: 26 wall-e 2026.06.19-02 · policy |
🔬 Debug — why this classification?Each reason code emitted by the classifier, its source clause in the AI in SDLC Control Framework, and what it means.
Kinds:
See issue #3 for the proposal to formalise this map as Appendix A of the standards doc. wall-e 2026.06.19-02 · debug |
🟡 Risk Classification: MINORApproval route: AI Review + Human Approval Classification reasons
Operational gates
Files analysed: 26 wall-e 2026.06.19-02 · policy |
🔬 Debug — why this classification?Each reason code emitted by the classifier, its source clause in the AI in SDLC Control Framework, and what it means.
Kinds:
See issue #3 for the proposal to formalise this map as Appendix A of the standards doc. wall-e 2026.06.19-02 · debug |
🟡 Risk Classification: MINORApproval route: AI Review + Human Approval Classification reasons
Operational gates
Files analysed: 26 wall-e 2026.06.19-02 · policy |
🔬 Debug — why this classification?Each reason code emitted by the classifier, its source clause in the AI in SDLC Control Framework, and what it means.
Kinds:
See issue #3 for the proposal to formalise this map as Appendix A of the standards doc. wall-e 2026.06.19-02 · debug |
|



This pull request adds support for Accounts API v3.0 onboarding and extends the SDK to handle new business requirements. The main changes include introducing new models and enumerations for onboarding, updating existing models with new attributes, and enhancing the
AccountsClientto support versioned Accept headers for API requests.Accounts API v3.0 onboarding support:
Added new models and enums for onboarding, including
AgreedTerms,ProcessingDetailsAch,ProcessingDetailsPayments,CompanyPosition,EntityRoles,NationalIdType,Citizenship,RepresentativeIndividual,FinancialStatements,FinancialStatementsType, andArticlesOfAssociation. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]AccountsClientmethods (create_entity,get_entity,update_entity,get_entity_requirements) now accept an optionalschema_versionparameter (defaulting to'3.0') and send a versioned Accept header, enabling API version negotiation. [1] [2] [3] [4]Model enhancements and new attributes:
Companynow supportsadditional_trading_names(array of strings) andis_registered_company(boolean). [1] [2]DateOfIncorporationadds adayattribute.Phoneadds acountry_codeattribute.OnboardEntityandRepresentativemodels are extended with new attributes for v3.0 (e.g.,agreed_terms,individual,company_position,ownership_percentage). [1] [2] [3] [4]OnboardSubEntityDocumentsnow supportsfinancial_statementsand uses the newArticlesOfAssociationtype. [1] [2] [3]ProcessingDetailsaddsaverage_order_fulfillment_timeand a nestedpaymentsattribute.Enumerations and types:
BusinessTypeexpanded with several new business entity types to cover more onboarding scenarios.These changes collectively enable the SDK to support the latest onboarding requirements and improve flexibility for future API versions.