post
https://api.demo.mondu.ai/api/v1/orders
Create Mondu order in E-Commerce
Use Case:
- Send create order request when the buyer clicks pay with Mondu in the checkout.
- Send buyer data, the cart content and the redirect URLs.
- The API would return a hosted page URL.
- Redirect buyer to Mondu Hosted Checkout Page.
- Mondu will communicate the result of the risk check through the Mondu Hosted Checkout Page.
- Buyer will be redirected to the shop by Mondu Hosted Checkout Page.
- Send Confirm Order request to confirm that the order was successfully created in your system.
Important:
- The order will get status Authorized when buyers approve the order in Mondu Hosted Checkout Page.
- The order will get status Confirmed when Mondu receives Confirm Order request from your system.
- Ship products only when the order status is set to Confirmed.
- The order status change is communicated through the webhooks.