eCommerce API

The fully customizable payment integration solution

iPaySuite

Get started with the eCommerce API

Taking payments on your website is made easy with the iPaySuite eCommerce API. Once you have your API Keys, it just takes a simple POST request to https://secure.ipaymentsuite.com/.

Every post request is responded in JSON format, notifying your system of a successful or failed transaction.

The eCommerce API is available in PHP/cURL, JavaScript, via Wordpress Plugin, via Prestashop Plugin, via Shopify Plugin or via Woocommerce Plugin

To create a test transaction in PHP/cURL, simply copy the code to the right into a PHP file. Replace YOUR_API_KEY with your Test API Key (found in your Dashboard) and run the file in any browser. The response should indicate a successful charge for $18.00 USD.

That's it! It really is that simple to start using the eCommerce API. You should use our list of Test Cards to identify potential errors and rejected charge attempts.

PLEASE NOTE: Your website or application MUST have a valid SSL certificate installed to use this API. All non-https requests are automatically rejected for security purposes.


// Example PHP/cURL POST Request
$data = [
	'api_key' => 'YOUR_API_KEY',
	'name' => 'Mr. John Doe',
	'email' => '[email protected]',
	'amount' => '1800',
	'checkout_id' => '123456789',
	'card_number' => '4111 2222 3333 4444',
	'card_month' => '03',
	'card_year' => '2022',
	'card_cvc' => '789',
	'address' => '123 Example Street',
	'city' => 'Example City',
	'state' => 'California',
	'zip' => '90211',
	'currency' => 'USD'
];
$url = 'https://secure.ipaymentsuite.com/';
$curl = curl_init();
curl_setopt($curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HTTPHEADER,[
    'Content-Type: application/json'
]);
$response = curl_exec($curl);
curl_close($curl);
$responseData = json_decode($response, true);
print_r($responseData);

Payment Methods

We strive to offer the latest and most common payment methods around the world.

Learn More Or, apply for a merchant account

NOTE: Not all payment methods are supported in all countries.

Ready to get started?

Sign Up Now

Whether an eCommerce business, a call-center or a high-risk sector business, we have solutions ready and waiting for you at iPaySuite. Application takes just a few minutes to complete and you'll be ready to start taking payments soon.