JSON RESTful API Guide
Cloud9's API is available in OpenAPI format (Swagger) — a documentation suite combined with a testing sandbox that lets you run live samples while learning how the API works.
API Documentation & Sandbox
Explore the full API reference, view schemas, sample payloads, and test live requests against the Cloud9 gateway.
1. OpenAPI Introduction
The sandbox provides three key tools for working with the API:
Parameter names and values — e.g. TransType for transaction type, GMID for Gateway Merchant ID.
Sample implementation patterns showing how to structure requests for common operations like Sale, Auth, Void, and Refund.
Run JSON payloads directly against the API server to see live responses while you learn.
2. Test Account
The sandbox uses a TSYS test server. For successful test transactions, use these values:
| Parameter | Value |
|---|---|
| Card Numbers | Real card numbers accepted (no charges in test mode) |
| Amount | $1.00 |
| CVV | 999 |
| AVS | Use TSYS-specified test values |
3. Live Environment Notes
#[TransType] after the /restApi path. Omit the # and everything after it. The transaction type is identified solely through the TransType value in the request body.
POST /restApi#Sale
POST /restApi
{
"TransType": "Sale",
...
}
4. Third-Party Tools
In addition to the built-in sandbox, you can use Postman as a free alternative for testing JSON API requests against the Cloud9 gateway.
Download Postman at postman.com.