Welcome to Lekirpay API documentation ! This page gives an introduction to using Lekirpay API's to generate payment link.

Lekirpay API are HTTP based RESTful APIs. REQUEST and RESPONSE format are in JSON. The API will accept both application/x-www-form-urlencoded and application/json.
Component Description
The HTTP method GET. Requests data from a resource.
POST. Submits data to a resource to process.
HTTP request headers Includes the Content-Type header with the value application/json.
A JSON request body Required for most GET and POST calls.
The URL to the API service Live :

Sandbox :

HTTP Request Headers and Status Code

The following table describes the commonly used HTTP request headers:
Header Description
Accept The response format. Required for operations with a response body
Content-Type The request format. Required for operations with a request body
Authorization The authorization process verifies whether you have permission to access the data you want from the server.
Status code Description
200 OK The request succeeded.
400 Bad Request The request unsucceeded.