Click2Sell API

API NOTIFICATIONS TO AUTOMATE YOUR SELLING

Click2Sell API will immediately notify your listening script about any new event - sales, rebillings, refunds, subscriptions and their cancelations. Automate content delivery, account creation or upgrade, customers' information collection and many more.

Instant notifications allows vendors to take their businesses to the next level as they provide extra functionality, security and save vendors' time.

This feature is intended for use by people with some programming skills. You may need to hire someone to do all the coding, but be sure to consider what automatic notifications could improve in your business!


HOW CLICK2SELL API WORKS

Click2Sell API works via HTTP POST method. When the transaction occurs: sale, refund, subscription re-bill or cancellation, our system posts a transaction information to the specified URL location - to your servers and scripts where they 'listen' for such notifications.

Click2Sell API notification contains:

  • Detailed buyer information;
  • Transaction information (payment processors ID, date, time and so on);
  • Click2Sell related information (transaction ID, username, affiliate name, etc.).

All vendors who want to use Click2Sell API have to visit:
For Vendor -> My Products -> Edit Settings (click on a certain product) -> API Settings

On that page, you will be able to turn on/off API notifications. In order to turn these notifications on, you need to enter the location URL of your script or thank-you page that 'listens' for a data and then put a tick on the checkbox where it says: Enable/Disable remote server's notification.

Then our system will send all order information to your specified location.

There is an additional 'Secret key' field as well. This field is optional. However, if you want to send the notifications and then verify if they really come from Click2Sell.EU, use this field. Just enter your desired secret keyword or use 'Generate' link under this field for our system to generate it. When this option is used, our system takes and merges the acquirer_transaction_id id with this key (secretkey + "_" + acquirer_transaction_id) and MD5 it (upper-cased). The variable is passed with 'checksum' paramether via API for your server to verify.

Moreover, in order to allow you identify the customer after a sale is made, API can post via POST method the acquirer_transaction_id to your specified Thank-you page. This feature can be turned on/off in the API Settings section.

Each product requires a separate API configuration in order to achieve the highest flexibility.