Get a legal entity
GEThttps://app.shuttleglobal.com/c/api/instances/{instance_key}/legal_entities/{legal_entity_id}
Retrieve details of a specific legal entity by ID or code.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The legal entity’s ID (le_...), or its code.
Query Parameters
Section titled “Query Parameters”Fields to expand into full objects.
Available fields:
- created_session (session object)
- updated_session (session object)
Responses
Section titled “Responses”Legal entity details
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
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"}Legal entity not found
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.
Was this page helpful?
What went wrong?
Thanks for telling us.