Introduction

This document provides information about all available API methods. Below are the integration guides that will help you to implement Lovat billing and payments solution in your website/application quickly and easily.

Request and response

All API requests must be made over HTTPS. Calls made over plain HTTP will fail.

You must authenticate for all requests.

The SEND method implements the reception of data on the transaction, taking into account the processing and calculation of VAT and system charges.


Referrer URL

Referrer URL

  • https://merchant.lovat.be/api/1/send/{TOKEN}

Call Options

Call parameters are divided into two types:

  • Path parameters (token)
  • Query parameters (transaction data)

The token is generated in the internal account of the merchant at the first stage of adding the web-site.

The request parameters are generated by the merchant and sent to the server using the POST method in the application / x-www-form-urlencoded or application / json format.

Below you can find the example of processing payment information with LOVAT.

curl -v POST https://merchant.lovat.be/api/1/send/5aae918d97964ff88df64b059c2cc0f8 \

--header "Content-Type: application/json" \

-d '{

"transactionID ": "500000001",

"transactionSum ": "25.99",

"IPAddressCustomer ": "127.0.0.1",

"phoneNumberCustomer ": "+7 677 665 77 77",

"transactionDateTime": "2017-01-09T08:27:22 +00:00",

"currency": "usd",

"paymentOperator":"paypal",

"billingAddress": "111 First Street, Saratoga, CA 95070, US",

"deliveryAddress" : "111 First Street, Saratoga, CA 95070, US",

"bankAdress" : "111 First Street, Saratoga, CA 95070, US",

"transactionStatus" : "Success",

"serviceCode": "1",

"bankCardNumberCustomer": "1234-1234-1234-1234",

}'

Parameters:

The full list of parameters is available in API guide.

To get a latest version of Lovat API