Create a gateway
POSThttps://app.shuttleglobal.com/c/api/instances/{instance_key}/gateways
Create a new gateway connection
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
object
Payment processor type (e.g., STRIPE)
Display name for the gateway
Your ID for the gateway (optional)
Gateway-specific configuration values
object
Tags for searching and organizing
Custom metadata key-value pairs
object
Responses
Section titled “Responses”Created gateway
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
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"}Validation error - invalid gateway configuration
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.
Was this page helpful?
What went wrong?
Thanks for telling us.