Skip to content
Status

List gateways

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

GET
/gateways

List and search gateways for an instance.

Available search fields:

  • id: Gateway ID
  • code: Your gateway reference
  • created: Creation timestamp
  • division: Division ID
  • processor: Processor type (e.g., STRIPE)
  • status: Gateway status
  • updated: Last update timestamp

Expandable fields:

  • authenticate_js: JavaScript for express checkout
  • checkout_js: JavaScript for normal checkout
  • credit_message_js: JavaScript for credit messages
  • created_session: Creation session details
  • processor: Processor details
  • updated_session: Update session details
criteria
string

Search criteria for filtering gateways. Available fields:

  • id
  • code
  • created
  • division
  • processor
  • status
  • updated

Examples:

  • status=ACTIVE
  • processor=STRIPE
order
string

Sort order for results. Supports any field that criteria supports. Defaults to created:desc if not specified. Append :desc for descending order.

expand
string

Fields to expand into full objects. Separate multiple fields with commas.

Available fields:

  • authenticate_js (JavaScript for express checkout)
  • checkout_js (JavaScript for normal checkout)
  • credit_message_js (JavaScript for credit messages)
  • created_session (session object)
  • processor (processor details)
  • updated_session (session object)
limit
integer

Number of records to return: 20 if not set, at most 1000.

offset
integer

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.

List of gateways

Media typeapplication/json
object
gateways
Array<object>
object
id
string

Shuttle’s ID for the gateway

name
string

Display name for the gateway

code
string

Your ID for the gateway (or auto-generated)

division
string

Division ID (enterprise)

status
string · enum

Gateway status

Allowed values: CREATED LINKED ACTIVE ARCHIVE SETUP INACTIVE RUNDOWN
status_reason
string

Reason for current status (e.g., access revoked)

processor
string

Payment processor type (e.g., STRIPE)

processor_name
string

Display name of the processor

processor_account_name
string

Name of connected merchant account

gateway_group
string

Group ID for sharing payment tokens

currencies
Array<string>

Supported payment currencies

payment_method_types
object

Supported ecommerce payment methods

object
key
additional properties
object
object
features
Array<string> · enum
Allowed values: AUTHORISE AUTHORISE_AND_SAVE_TOKEN AUTHORISE_ON_SAVED_TOKEN PAYMENT COMPLETE_AUTHORISATION PAYMENT_AND_SAVE_TOKEN PAYMENT_ON_SAVED_TOKEN SAVE_CARD FULL_REFUND PARTIAL_REFUND MULTI_REFUND CAPTURE VOID RAW_PAN
payment_method_types_moto
object

Supported MOTO payment methods

object
key
additional properties
object
object
features
Array<string> · enum
Allowed values: AUTHORISE AUTHORISE_AND_SAVE_TOKEN AUTHORISE_ON_SAVED_TOKEN PAYMENT COMPLETE_AUTHORISATION PAYMENT_AND_SAVE_TOKEN PAYMENT_ON_SAVED_TOKEN SAVE_CARD FULL_REFUND PARTIAL_REFUND MULTI_REFUND CAPTURE VOID RAW_PAN
metadata
object

Custom key-value pairs

object
key
additional properties
any
tags
Array<string>

Tags/references

features
object

Feature flags for the gateway

object
key
additional properties
any
created
string · date-time

Creation timestamp

created_session
string

Session that created this gateway

updated
string · date-time

Last update timestamp

updated_session
string

Session that last updated this gateway

v
integer

Record version

meta
object
object
limit
integer
offset
integer
total
integer

Bad request - invalid parameters

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.

Unauthorized - invalid credentials

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

Was this page helpful?