The order entity consists of the following fields:
stringThe unique identifier of the order.
integerThe amount for which the order was created, in currency subunits. For example, for an amount of INR 295, enter 29500.
integerThe amount paid against the order.
integerThe amount pending against the order.
stringThe currency associated with the order's amount. Refer the list of supported currencies.
stringYour receipt id corresponding to this order. Maximum length 40 chars.
stringThe status of the order.
An order moves from
attemptedstate when a payment request is first made on that order. It remains in the
attemptedstate till all payments associated with that order, including partial payments, are captured. After the successful capture of the payment, order moves to the
paidstate. No further payment requests are permitted after the order attains the
integerThe number of payment attempts, successful and failed, that have been made against this order.
booleanFlag for capturing the payment.
If the value is set to
1, the payment is automatically captured. If the value is set to
0(default value), the payment should be captured manually.
Note: To learn about manually capturing the payments, refer Capturing Payments.
integerIndicates the UNIX timestamp when this order was created.
json objectObject consisting of notes passed while creating an order entity.