API Reference Overview

The Secure Gateway's REST API allows developers to build applications that accept payemnts, such as: e-commerce web sites, shopping carts, and mobile applications and Point-of-Sale (‘POS’) systems.

Resources

Transactions

You can manage payments using the transactions resource. You can create transactions, and retreive filtered and paged lists of transactions. TSG supports multiple transaction types

Batches

Batches are groups of transactions that have not been settled yet. TSG has only one open batch at a time. Through the batches resource, you can retrieve and close the currently open batch, and view lists of batches in your history.

Transaction Processing Flow

When a transaction request is sent to TSG, TSG authenticates the merchant by validating the API Key, performs validation of the transaction data, and forwards the transaction request for authorization by the card issuer.

TSG will return a response message back with the result of the transaction.