List legal entities
GEThttps://app.shuttleglobal.com/c/api/instances/{instance_key}/legal_entities
Search and list legal entity objects with pagination support.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Search criteria for filtering legal entities. Available fields:
id, code, company_type, created, division, name, status, tags, updated
Examples:
status=ACTIVEcompany_type=GB_LIMITED_COMPANYcode=ORG
Sort order for results. Supports any field that criteria supports.
Defaults to created:desc if not specified. Append :desc for descending order.
Fields to expand into full objects. Separate multiple fields with commas.
Available fields:
- created_session (session object)
- updated_session (session object)
Number of records to return: 20 if not set, at most 1000.
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.
Responses
Section titled “Responses”List of legal entities
object
A legal entity representing a business or organisation that receives payments
object
Unique identifier for the legal entity
/^le_[0-9]+_[0-9]+$/Name of the legal entity
Your identifier for the legal entity (displayed on merchant portal)
Division ID
Country code
Type of company (e.g., GB_LIMITED_COMPANY)
Human-readable company type name
Company registration number
Charity registration number
VAT registration number
Registered address
object
Contact phone number
Contact email address
Website URL
Support page URL
Privacy policy URL
Terms and conditions URL
Custom key-value pairs
object
CSV of tags/references
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
When the legal entity was created
Session that created this legal entity
When the legal entity was last updated
Session that last updated this legal entity
Version of the record
object
Bad request
Every error has a code and a message. Some add more fields alongside them, with detail about the error.
object
The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.
What went wrong, in words, for logs and support.
Unauthorised: the API key is missing or not valid
Every error has a code and a message. Some add more fields alongside them, with detail about the error.
object
The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.
What went wrong, in words, for logs and support.
Example
{ "code": "UNAUTHORIZED", "message": "Unauthorised"}Was this page helpful?
What went wrong?
Thanks for telling us.