List gateways
GEThttps://app.shuttleglobal.com/c/api/instances/{instance_key}/gateways
List and search gateways for an instance.
Available search fields:
id: Gateway IDcode: Your gateway referencecreated: Creation timestampdivision: Division IDprocessor: Processor type (e.g., STRIPE)status: Gateway statusupdated: Last update timestamp
Expandable fields:
authenticate_js: JavaScript for express checkoutcheckout_js: JavaScript for normal checkoutcredit_message_js: JavaScript for credit messagescreated_session: Creation session detailsprocessor: Processor detailsupdated_session: Update session details
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Search criteria for filtering gateways. Available fields:
- id
- code
- created
- division
- processor
- status
- updated
Examples:
status=ACTIVEprocessor=STRIPE
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:
- 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)
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 gateways
object
object
Shuttle’s ID for the gateway
Display name for the gateway
Your ID for the gateway (or auto-generated)
Division ID (enterprise)
Gateway status
Reason for current status (e.g., access revoked)
Payment processor type (e.g., STRIPE)
Display name of the processor
Name of connected merchant account
Group ID for sharing payment tokens
Supported payment currencies
Supported ecommerce payment methods
object
object
Supported MOTO payment methods
object
object
Custom key-value pairs
object
Tags/references
Feature flags for the gateway
object
Creation timestamp
Session that created this gateway
Last update timestamp
Session that last updated this gateway
Record version
object
Bad request - invalid parameters
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.
Unauthorized - invalid credentials
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.