Get a legal entity route
GEThttps://app.shuttleglobal.com/c/api/instances/{instance_key}/legal_entity_routes/{legal_entity_route_id}
Retrieve details of a specific legal entity route.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The legal entity route’s ID (lr_...).
Query Parameters
Section titled “Query Parameters”Fields to expand into full objects.
Available fields:
- created_session (session object)
- gateway (gateway object)
- legal_entity (legal entity object)
- updated_session (session object)
Responses
Section titled “Responses”Legal entity route details
object
A mapping between a legal entity and a payment gateway
object
Unique identifier for the route
/^lr_[0-9]+_[0-9]+$/Legal entity ID
Gateway ID
Array of ISO currency codes this route supports
Array of payment method types this route supports (e.g., VISA, MASTERCARD)
Custom key-value pairs
object
Payment routing rules per source type
object
Rules for ecommerce payments
object
Rules for MOTO payments
object
Rules for POS payments
object
Rules for recurring payments
object
Workflow configurations attached to this route
object
Status of the route:
- LINKED - active but not yet used
- ACTIVE - in use
- INACTIVE - no longer in use, no payments may utilise this connection
- RUNDOWN - no longer in use for new card details, saved cards may continue to be used
When the route was created
Session that created this route
When the route was last updated
Session that last updated this route
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 route 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.