session_id and order_id. Use the session_id to redirect the customer to the payment gateway for completing the transaction.
amount: Payment amount in decimal formatcurrency: 3-letter ISO currency code (e.g., INR)reference_id: Unique identifier for the orderbuyer: Buyer details objectproduct: Product details objectcollection_mode: Payment collection mode (hosted_payment or s2s)mop_type: Method of payment (UPI, CREDIT_CARD, DEBIT_CARD, NET_BANKING, QR)upi_flow_type: UPI flow type (intent or collection) - required when using S2S with UPIvpa: Virtual Payment Address - required when upi_flow_type is collectionupi_app_name: Preferred UPI app - optional, defaults to othersreturn_url: URL to redirect after payment completioninvoice: Invoice details objectsession_id: Use this to redirect customers to the payment pageorder_id: Unique order identifierorder_id: Unique order identifierintent_uri: UPI intent link that can be used to open UPI apps directlyorder_id: Unique order identifiermessage: Confirmation message about the collection request sent to the VPAupi_app_name parameter helps optimize the intent link for specific UPI applicationsusername@bank (e.g., user@paytm, 9876543210@ybl)Client app ID. You can find your app id in the merchant dashboard.
Client secret key. You can find your secret in the merchant dashboard.
Merchant ID. You can find your merchant ID in the merchant section of the merchant dashboard.
Order creation request
Amount in decimal format (e.g., "100.00")
^\d+\.\d{2}$3-letter ISO currency code (e.g., INR, USD)
^[A-Z]{3}$Unique identifier for the order
URL to redirect after payment
Payment collection mode
hosted_payment, s2s Method of payment type (e.g., UPI)
UPI, CREDIT_CARD, NETBANKING, DEBIT_CARD, QR UPI flow type (required when collection_mode is s2s and mop_type is UPI)
intent, collection Virtual Payment Address (required when upi_flow_type is collection)
^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+$UPI app name (optional, defaults to 'others')
bhim, paytm, google_pay, phonepe, cred, amazon_pay, whatsapp, others