Compliance

List account entity relationships

Lists all entity relationships for a specific account.

get/v0/accounts/{id}/entity_relationships

Request

  • Base URL
    https://api.sandbox.lead.bank
  • URL
    https://api.sandbox.lead.bank/v0/accounts/{id}/entity_relationships
  • Auth
    HTTP bearer

Path parameters

idstring required

The ID of the Account object.

Example:account_xyz123

Account ID

Query parameters

limitinteger

Maximum number of results to return. Defaults to 25, max 100.

starting_afterstring

A cursor for pagination. Returns results starting after this cursor.

Response

List of entity relationships for the account.

has_moreboolean required

Indicates whether more results are available beyond this page.

cursorstring

Cursor to retrieve the next page of results. Only present when has_more is true.

Example response

{
  "objects": [
    {
      "entity_id": "entity_xyz123",
      "relationship_type": "account_holder"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.