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🔗
amount
mandatoryinteger
Amount in currency subunits. For cards, the minimum value is100
(₹1).currency
mandatorystring
The 3-letter ISO currency code for the payment. Currently, we only supportINR
.receipt
optionalstring
A user-entered unique identifier for the order. For example,Receipt No. 1
. This parameter should be mapped to theorder_id
sent by Razorpay.notes
optionalstring
Key-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_capture
mandatoryboolean
Determines whether tha payment status should be changed tocaptured
automatically 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.