List instances
GEThttps://app.shuttleglobal.com/c/api/instances
Performs a search against instance objects with optional filtering, sorting, and pagination.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”The search criteria (URL encoded). Available fields: application, client, contact_email, contact_name, contact_phone, created, domain, id, last_contract, last_transaction, name, status, updated
Supports the following operators:
=: Exact match, separate multiple values with;for IN operation!=: Not equal>=,>,<,<=: Greater than/equal, less than/equal~=: Partial match (case insensitive)<>: Between, separate values with;(e.g.,<>min;max)!: Is null!!: Is not null
Separate multiple criteria with commas (,)
Notes:
- Strings are case insensitive (with some exceptions)
- Booleans are Y/N (TIP: check for
=Yor!=Yas some objects treat false as null)
Examples:
status=ACTIVE;FAILING(status is either ACTIVE or FAILING)status=ACTIVE;FAILING,email=dave@gmail.com(status is ACTIVE or FAILING AND email is dave@gmail.com)name~=Test(name contains ‘Test’)created<>2023-01-01;2023-12-31(created between Jan 1 and Dec 31, 2023)scheduler=Y(scheduler is enabled)
The sort order to apply. Format: field[:desc][,field2[:desc]]
- Supports any field that criteria supports
- Defaults to created:desc if not specified
- Will order ascending unless you specify desc
- Separate multiple order fields with commas
Examples:
- order=updated (sort by updated ascending)
- order=updated:desc (sort by updated descending)
- order=status,updated:desc (sort by status ascending, then updated descending)
Fields to expand into full objects
20Number 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”Successful operation
object
object
Shuttle’s ID for the instance (globally unique)
The name of the instance, typically company name
Your ID for the instance (unique to the application)
The status of the instance, typically ACTIVE or INACTIVE
The application the instance was created in
Domains where you embed the Shuttle checkout widget, used for Apple Pay and Google Pay domain registration.
The internal Shuttle ID for this instance
The contact email provided for the instance, used when providing support
The contact name provided for the instance, used when providing support
The contact phone provided for the instance, used when providing support
The country provided for the instance
The date the instance was created
The custom domain for this instance
A list of domains this instance is available under
Either SANDBOX or LIVE
Enterprise only features
The date of last contract creation
The date of last transaction creation
The merchant’s display name
A map of user defined key value pairs
object
The parent instance ID
Any private processors that have been made available to this instance
A list of connected processors
Template for generating transaction references. Contains #TRANSACTIONKEY# or #TRANSACTIONID#.
Enterprise only
Enterprise only
Custom retry schedule for errored payments (array of delays in milliseconds)
Custom retry schedule for declined payments (array of delays in milliseconds)
Per-instance API key for direct merchant authentication. Only returned when expand=secret_key is requested.
If the user manually accepted the T&Cs, the date they were accepted
The user_id of the user that accepted the terms and conditions
True if the user is required to accept the terms and conditions
The date the instance was terminated (status INACTIVE only)
The date the instance was last updated
The version of the record
The webhook target URL for this instance. Replaces the application-level webhook destination for this instance – events are not sent to both. Supports retry, failover, and fan-out configuration. See Webhook Destinations.
object
The limit used for the query
The offset used for the query
The total number of records matching the query
Bad request
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
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.