API Guide

API is the best way to integrate with PayLane if you want to have it completely your way. This also makes paying more comfortable to your customers, allowing them to reduce the whole purchase process even to a single click! You will have to meet some requirements (for example a SSL certificate), but you’ll also be able to create such payment solutions that will fit your needs and business character (see the business cases section for some examples). From the customer’s point of view, making a purchase looks like this:
  1. After choosing goods on the merchants website, a customer wishes to checkout and pay for selected products/services.
  2. The customer is shown a payment form on the merchant’s website.
  3. After submitting the form, the customer is shown the payment/transaction status.
Since there’s no redirecting to other domains and the whole payment takes place on the same website, you can easily adjust all the look & feel, loading (for example using AJAX, if you prefer), messages etc. Besides, you can also implement many other payment models. Depending on the payment methods you use and your e-business characteristics, these may be paying with a single click, recurring payments, refunds and many more.

What’s the developer’s job?

It’s mostly up to you. You know what you want to achieve, we just offer you the tools and our help. Check out the API Guide to learn how to use specific features in different programming languages, including PHP, Python and Ruby. You can also explore the REST function reference to learn about the available methods and use the API to its full potential. So, to sum up, the whole process looks like this:
  1. A customer, being on the merchants website, wishes to pay for the selected goods.
  2. The website sends transaction information to PayLane via our API, while the customer remains on the merchant’s page.
  3. PayLane processes the payment (sends the data to acquiring and issuing banks, card associations etc.).
  4. The said institutions (they may vary depending on the payment method) respond to PayLane, allowing to process the payment.
  5. PayLane returns information about the payment status to the merchant’s website.
  6. The merchant can use the received information to inform his customer whether the transaction was successful and what its status is.