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 collection
upi_app_name
: Preferred UPI app - optional, defaults to others
return_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
The body is of type object
.
Order created successfully
The response is of type object
.