Orders

Learn how you can use Pine Labs Online Orders.

Order is a prerequisite step of the payment lifecycle at Pine Labs Online. An order contains the total amount and the purchase details against an order. For every order, we generate a unique order ID. It ensures that each order can be identified, referenced, and accessed without confusion or ambiguity. This order_id must be used in our payments API to accept payment against an order.

Integrate our Orders API on your backend servers before initiating a payment. Our orders also support Pre-authorization as an option.

Pre Authorization

In our orders API, we provide pre-authorization as an option. With pre-authorization set to true, you can capture or cancel a payment for an order.

When pre-auth is set to true, and the payment is successfully created, you have the following options:

  1. Capture Order: Utilize the Pine Labs Online capture order API in your backend to capture the payment against an order. You can only capture an order when the order status is authorized.
  2. Cancel Order: Use the Pine Labs Online cancel order API in your backend to cancel the payment against an order. You can only cancel an order when the order status is authorized.

Pine Labs Online orders APIs can be used to create an order and retrieve the details of an order.

📘

Note:

  • Currently, Pre-authorization is supported only for Cards and PayByPoints.