Create order

Use /orders endpoint to create an order.

Orders are used to handle customers' payments of previously defined offers. Orders expire after 15 minutes unless the payment is captured. Payment method is required in order entity for payment but can be added in update order and fetch in /payment-methods.

AUTHORIZATION
Authorization with JWT is required.

🚧

Warning!

Customer country and currency or customerIP are required for correct price calculation because tax rate depends on the country. If none of these params are given, the price will be calculated for request IP address. If all of them are given, the given country is the most important.

Please note that when using Cleeng Merchant, customerIP should be available for the purpose of proper tax calculation in the US and Canada. It is recommended that customerIP is passed in the register, login and create order methods.

Language
Authentication
Header
Click Try It! to start a request and see the response here!