Create partnership
POST {{baseUrl}}/entities/partnerships
Creates a new partnership.
The ID must be unique across all entity types, therefore a partnership
cannot share the same ID as a natural-person
In addition to validation errors, this endpoint may respond with 422 Unprocessable entity
error with one of
the following error codes:
entity_data_insufficient
:
Members of natural person type must provide following data in addition to required properties:
nationality
address
kyc
entity_must_be_an_adult
:
All partnership members must be over 18 years old (if applicable)
entity_not_found
:
A provided entity ID was not found.
A partnership must consist of at least two members to be related to a customer.
Allowed roles : EDITOR
and CREATOR
Request Body
{"id"=>"{{$guid}}", "name"=>"Joint account", "members"=>[{"entityId"=>"{{entity-id}}"}], "address"=>{"country"=>"GB", "city"=>"SOUTHAMPTON", "postcode"=>"SO53 5PD", "streetName"=>"71 Cherry Court", "streetNumber"=>"A. 813"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
tangany-version | number | (Required) API version | |
Content-Type | string | ||
Accept | string | ||
_tangany-data | string |
RESPONSES
status: OK
{"id":"78c483d7-5e6d-488b-981c-2ac4bccca2a5","name":"Joint account","members":[{"entityId":"sed magna irure eiusmod","sharePercentage":"50"},{"entityId":"ei","sharePercentage":"50"}],"address":{"country":"GB","city":"SOUTHAMPTON","postcode":"SO53 5PD","streetName":"71 Cherry Court","streetNumber":"A. 813"}}