3.1. Create an Order to Charge the Customer🔗
You have to create a new order every time you want to charge your customers. This order is different from the one created when you created the authorisation transaction.
Use the below endpoint to create an order:
Request Parameters🔗
amountmandatoryintegerAmount in currency subunits. For cards, the minimum value is100(₹1).currencymandatorystringThe 3-letter ISO currency code for the payment. Currently, we only supportINR.receiptoptionalstringA user-entered unique identifier for the order. For example,Receipt No. 1. This parameter should be mapped to theorder_idsent by Razorpay.notesoptionalstringKey-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example,"note_key": "Beam me up Scotty”.payment_capturemandatorybooleanDetermines whether tha payment status should be changed tocapturedautomatically or not. Possible values:true: Payments are captured automatically.false: Payments are not captured automatically. You can manually capture payments using the Manually Capture Payments API.