Skip to content
Status

List legal entities

GEThttps://app.shuttleglobal.com/c/api/instances/{instance_key}/legal_entities

GET
/legal_entities

Search and list legal entity objects with pagination support.

criteria
string

Search criteria for filtering legal entities. Available fields: id, code, company_type, created, division, name, status, tags, updated

Examples:

  • status=ACTIVE
  • company_type=GB_LIMITED_COMPANY
  • code=ORG
order
string

Sort order for results. Supports any field that criteria supports. Defaults to created:desc if not specified. Append :desc for descending order.

expand
string

Fields to expand into full objects. Separate multiple fields with commas.

Available fields:

  • created_session (session object)
  • updated_session (session object)
limit
integer

Number of records to return: 20 if not set, at most 1000.

offset
integer

Number of records to skip before the first one returned. offset + limit can’t exceed 5000; to read further, page by a field such as created instead. See Paging through results.

List of legal entities

Media typeapplication/json
object
legal_entities
Array<object>

A legal entity representing a business or organisation that receives payments

object
id
string

Unique identifier for the legal entity

Pattern /^le_[0-9]+_[0-9]+$/
name
string

Name of the legal entity

code
string

Your identifier for the legal entity (displayed on merchant portal)

division
string

Division ID

country
string

Country code

company_type
string

Type of company (e.g., GB_LIMITED_COMPANY)

company_type_name
string

Human-readable company type name

company_number
string

Company registration number

charity_number
string

Charity registration number

vat_number
string

VAT registration number

address
object

Registered address

object
country
string
line1
string
line2
string
line3
string
line4
string
line5
string
line6
string
phone
string

Contact phone number

email
string

Contact email address

website
string

Website URL

support_url
string

Support page URL

privacy_policy
string

Privacy policy URL

tcs
string

Terms and conditions URL

metadata
object

Custom key-value pairs

object
key
additional properties
any
tags
string

CSV of tags/references

status
string · enum

Status of the legal entity:

  • LINKED - active but not yet had any payments taken
  • ACTIVE - active and in use
  • ARCHIVE - disconnected and archived
  • SETUP, CREATED, INACTIVE, RUNDOWN - enterprise statuses
Allowed values: LINKED ACTIVE ARCHIVE SETUP CREATED INACTIVE RUNDOWN
created
string · date-time

When the legal entity was created

created_session
string

Session that created this legal entity

updated
string · date-time

When the legal entity was last updated

updated_session
string

Session that last updated this legal entity

v
integer

Version of the record

meta
object
object
limit
integer
offset
integer
total
integer

Bad request

Media typeapplication/json

Every error has a code and a message. Some add more fields alongside them, with detail about the error.

object
code
string

The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.

message
string

What went wrong, in words, for logs and support.

Unauthorised: the API key is missing or not valid

Media typeapplication/json

Every error has a code and a message. Some add more fields alongside them, with detail about the error.

object
code
string

The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.

message
string

What went wrong, in words, for logs and support.

Example
{
"code": "UNAUTHORIZED",
"message": "Unauthorised"
}

Was this page helpful?