For the complete documentation index, see llms.txt. This page is also available as Markdown.

Clients

What it is: The Client API handles onboarding and management of both individual and company clients on our platform.

Every integration starts here - you must register a client before they can browse products, submit instructions, or hold a portfolio.

How it works: You submit client details (name, address, bank account, KYC (Know Your Customer) data) and receive a clientReference that identifies the client across all our APIs.

Clients can be updated using optimistic concurrency via their clientVersion.

Base URL: https://api.sandbox.flagstoneim.com/clients

API Version: 2020-08-01


πŸ“‹ Endpoints

Method
Path
Description

POST

/financial-partner

Create an individual client

POST

/financial-partner/company

Create a company client

GET

/{clientReference}

Get an individual client

GET

/financial-partner/company/{clientReference}

Get a company client

PATCH

/{clientReference}/{clientVersion}

Update an individual client

PATCH

/financial-partner/company/{clientReference}/{clientVersion}

Update a company client


πŸ‘€ 1. Create an Individual Client

What it is: Registers a new individual client on our platform.

How it works: Submit the client's personal details, address, bank account, and optional tax obligations.

The API returns a unique clientReference.

Request Body:

Required Fields: externalReference, title, firstName, lastName, dateOfBirth, addressLine1, addressLine2, postCode, countryCode, emailAddress

Response (201 Created):

Status
Meaning

200

Client with identical details already exists - returns existing reference

201

Client created successfully

400

Request is malformed

409

Conflict - e.g. external reference already exists


🏒 2. Create a Company Client

What it is: Registers a new company client on the platform.

How it works: Similar to individual clients, but includes company-specific fields like company name, FSCS eligibility, FCA number, and evidence declarations.

Request Body:

Required Fields:

  • externalReference, companyName, fscsEligible

  • hasEvidenceConfirmingHowMoniesAreHeld

  • doesEntityHaveUnderlyingBeneficiariesWhoMayBeEntitledToFund

  • addressLine1, addressLine2, postCode, countryCode

  • emailAddress, phoneNumber, accounts

Response (201 Created):


πŸ” 3. Get a Client

What it is: Retrieve the full details of an existing individual or company client.

Individual Client

Response (200 OK):

Company Client

Returns company-specific fields including companyName, fscsEligible, fcaNumber, companyNumber, and evidence flags.


✏️ 4. Update a Client

What it is: Update the details of an existing client.

How it works: Supply the current clientVersion in the URL path.

If the version doesn't match the server's current version, the API returns 409 Conflict to prevent concurrent overwrites.

Update Individual

Response: 204 No Content on success.

Update Company

Status
Meaning

204

Update successful

400

Malformed request

404

Client not found

409

Version conflict - re-fetch and retry


πŸ“– Full API Reference

For the complete OpenAPI specification including all schemas and field descriptions, see the Client API Reference.

Last updated