Skip to content
Status

Get a legal entity

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

GET
/legal_entities/{legal_entity_id}

Retrieve details of a specific legal entity by ID or code.

legal_entity_id
required
string

The legal entity’s ID (le_...), or its code.

expand
string

Fields to expand into full objects.

Available fields:

  • created_session (session object)
  • updated_session (session object)

Legal entity details

Media typeapplication/json
object
legal_entity
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

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"
}

Legal entity not found

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.

Was this page helpful?