Setup an API Key using The Secure Gateway's console. See the how to set up an API Key section for instructions.
Note: for test transactions, you must have a sandbox API Key.
Welcome to The Secure Gateway's developer center. The Secure Gateway's API provides the power to run transactions and manage batches.
The url for the RESTful interface is https://api.thesecuregateway.com/rest/v1
(Note that this is the base URL. Append /transactions
to the URL for running transactions, /batches
to access Batch information, etc.)
Setup an API Key using The Secure Gateway's console. See the how to set up an API Key section for instructions.
Note: for test transactions, you must have a sandbox API Key.
Download one of our code samples in the language of your choice. Or try out one of our shopping cart plugins.
Configure the code sample or shopping cart plugin using your new API key. Point the code sample or shopping cart plugin to https://api.thesecuregateway.com/rest/v1/transactions
and run a transaction.
Warning All transactions sent to https://api.thesecuregateway.com
are live. For sandbox transactions, use the sandbox API key and URL listed below.
You can try out the API immediately using https://sandbox.thesecuregateway.com/rest/v1/transactions
and a sandbox API key. Read more about Sandbox Mode here.
Sandbox API Key: a20effd6dc1d4512888e6b06d870248a
Warning These API keys are public, so live cards and sensitive data should never be used.
All code samples are open source and available on The Secure Gateway's github page.
You can chat with TSG employees or other developers on our developer forums. You can ask questions and report bugs there.