Skip to content
Status

Get instance capabilities

GEThttps://app.shuttleglobal.com/c/api/instances/{instance_id}/capabilities

GET
/instances/{instance_id}/capabilities

Retrieve the payment capabilities of an instance. This API allows you to determine if the instance is able to process specific types of payments.

instance_id
required
string

The instance’s ID (cl_...), or the instance_key you gave it.

currency
string

Filter capabilities by currency

Successful operation

Media typeapplication/json
object
capabilities
object
object
id
string

The ID of the capabilities record

payments_ready
boolean

Whether the instance is ready to process payments

currencies
Array<string>

List of supported currencies

token_gateways
Array<string>

List of token gateways

payment_method_types
object

Map of payment method types to their supported features

object
key
additional properties
object
object
features
Array<string>

Unauthorized

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

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