API Overview
Last updated
Last updated
Docs:
Call API method to create an order in the LemanPay system.
LemanPay checks if the order is valid.
2a. If the order is valid, responds with 200 HTTP status and returns order data. After receiving 200 HTTP status, you should redirect the shopper to paymentUrl address.
2b. If the order is not valid, returns 422 (or another) error HTTP status and an error message (see )
When the shopper pays for the order, Payment system sends Payment Callback/Payment Notification to your callbackUrl, which is defined when creating the order . Payment system also sends Payment Callback when order status is changed to canceled, expired or to any other status. Please note that payment notifications are sent using POST method.