Skip to content
Status

Get a legal entity route

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

GET
/legal_entity_routes/{legal_entity_route_id}

Retrieve details of a specific legal entity route.

legal_entity_route_id
required
string

The legal entity route’s ID (lr_...).

expand
string

Fields to expand into full objects.

Available fields:

  • created_session (session object)
  • gateway (gateway object)
  • legal_entity (legal entity object)
  • updated_session (session object)

Legal entity route details

Media typeapplication/json
object
legal_entity_route
object

A mapping between a legal entity and a payment gateway

object
id
string

Unique identifier for the route

Pattern /^lr_[0-9]+_[0-9]+$/
legal_entity
string

Legal entity ID

gateway
string

Gateway ID

currencies
Array<string>

Array of ISO currency codes this route supports

payment_method_types
Array<string>

Array of payment method types this route supports (e.g., VISA, MASTERCARD)

metadata
object

Custom key-value pairs

object
key
additional properties
any
rules
object

Payment routing rules per source type

object
ECOMMERCE
object

Rules for ecommerce payments

object
MOTO
object

Rules for MOTO payments

object
POS
object

Rules for POS payments

object
RECURRING
object

Rules for recurring payments

object
workflows
Array<object>

Workflow configurations attached to this route

object
status
string · enum

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
Allowed values: LINKED ACTIVE INACTIVE RUNDOWN
created
string · date-time

When the route was created

created_session
string

Session that created this route

updated
string · date-time

When the route was last updated

updated_session
string

Session that last updated this route

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 route 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?