Checkout Form Fields
Check the various form fields you can use in the Hosted Checkout Form used in Razorpay Checkout integrations.
Described below are the various checkout form fields used in Hosted Web Integration.
key_idmandatory-
stringEnter [YOUR_Key_ID] generated from the Dashboard. namemandatory-
stringThe business name to be shown in the checkout form. descriptionoptional-
stringDescription of the item purchased shown in the checkout form. imageoptional-
stringURL of the logo that must appear on the checkout form. It is recommended to add the logo using the Razorpay Dashboard. order_idmandatory-
stringUnique identifier of the Order, created using the Orders API. amountmandatory-
integerEnter the amount to charge the customer, in currency subunits. For example, if charging the customer INR 200, enter 20000. currencymandatory-
stringEnter the currency to be used in the payment. Ensure that currency of the payment matches the Order currency. Defaults to INR. We support more than 90 currencies. methodoptional-
stringUse this parameter to show a specific payment method in Checkout. Possible values:cardnetbankingwalletupipaylater
prefill-
The fields that can be pre-populated in the Checkout form.
nameoptionalstringName of the card holder.emailmandatorystringEmail address of the customer.contactmandatorystringCustomer's phone number.
notesoptional-
objectAn additional set of fields that you want to associate with the payment. You can add "shipping address", "alternate contact" in the Notes field. Up to 15 note` fields can be specified this way.[Shipping address]string106, Razorpay, Bangalore[Alternate contact]string9999999999
callback_urlmandatory-
stringPage to which the customers are redirected to after a successful payment.razorpay_payment_id,razorpay_order_idandrazorpay_signatureare sent as form-data through aPOSTrequest to thecallback_url. cancel_urloptional-
stringThe URL customers are redirected to after the cancellation of a payment.
ON THIS PAGE