SaleCopy Pagepost https://uat.jiopay.co.in/tsp/pg/api/v2/initiateSaleAPI to create new order/saleRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body ParamsmerchantIdstringrequiredMerchant account ID, size- 12merchantTxnNostringrequiredTxn ref Number, size- 20amountstringrequiredTransaction amount, size- 9 significant and 2 decimal pointcurrencyCodestringrequiredDefaults to 356Transaction Currency, size- 3payTypestringrequiredDefaults to 1Possible values are 0, 1 Where 0 = Standard (Hosted Checkout) 1 = Direct (Merchant Checkout)customerEmailIDstringrequiredDefaults to [email protected]Email id of customer. In case Customer email ID is not available, send [email protected], size- 48transactionTypestringrequiredDefaults to SALEPass SALE, PREAUTH based on the preffered flowpaymentModestringPayment instrument restriction list CARD, NB, WALLET, UPI, Sodexo. Can be used to restrict the payment options. For payType = 1, this field should indicate the exact paymentMode For AADHAAR the payType has to be 1paymentOptionCodesstringTo be used to specify providers where paymentMode is NB or WALLETreturnURLstringrequiredCall back url on which the response will be posted on payment success/rejection. If available in request, the same would be used for response else the preconfigured URL of the merchant would be used. In case the transaction involves OTP capture on merchant page then the return URL is not used. Size-64txnDatestringrequiredDate of transaction. YYYYMMDDHHMISScardNostringCard Number / token Number (in case of tokenized card). This will be Mandatory, If payType is ‘1’ and paymentMode is CARD, Size-19cardExpirystringCard expiration (YYYYMM). This will be Mandatory, If payType is ‘1’ and paymentMode is CARDnameOnCardstringName on Card. This will be Mandatory, If payType is ‘1’ and paymentMode is CARD, Size-45cvvstringCard Verification Value. This will be Mandatory, If payType is ‘1’ and paymentMode is CARD Optional in case token number is passed in cardNo field, Size-4tokenCryptogramstringCryptogram / TAVV received from TRG/TR for transacting using token number, Size-128tokenRefIdstringToken ReferenceID corresponding to the token number, Size-64saveCardIndicatorstringY / N. Y – Indicates that the customer has opted to tokenize the card. Applicable only if the cardNo passed is an actual card no (Not applicable for token card No), Size-1authOnlyIndicatorstringY / N. Default is N. Y – The transaction is only for authentication. Save card indicator would also needs to be sent as Y for authOnly to work. This field is for supporting Rupay tokenization with Authentication (no authorization). Note: amount field is not required for authOnly transaction, Size-1tokenizeOnAuthstringY / N. Default is N. Y – Tokenize the card during the transaction. Auth only indicator would also need to be sent as Y for this to work.. This field is for supporting Rupay tokenization with Authentication (no authorization). Size-1panReferenceIdstringPAN reference Id of the card generated during the earlier tokenization call. "This will be used for authentication & tokenization. Either card number or panReferenceId should be present in the request. Auth Only indicator would also need to be Y for this to work." Size-64customerUPIAliasstringIf paymentMode is UPI then this field will be used to pass the payer’s UPI Alias (VPA), Size-45aggregatorIDstringMerchant Aggregator IDcustomerNamestringCustomer Name, size-45customerMobileNostringCustomer Mobile No, size-15invoiceNostringMerchant Invoice No, Size-32orderDescstringThis variable is for future use. Short description of the purchased items, size-45addlParam1stringAdditional info 1, size-45addlParam2stringAdditional info 2, size-45addline1stringAddress line 1, size-45addline2stringAddress line 2, size-45citynamestringCity name, size-32statestringState code, size-32zipCodestringPin code of the location, size-12countrystringTwo digit country code, size-2txnChannelstring WEB 2) MOBILE 3) IVR 4) POS terminalIDstringTerminal ID provided by acquirer, size-8settlementProdCodestringSize-12customerIDstringID of customer as identified by Merchant, size-48accountNostringSize-16accountIFSCstringSize-12gstInstringGSTIN of the merchant. Required if gst details are passed by the merchant. Size-15gststringThe GST amount calculated by the merchantcgststringThe CGST amountsgststringThe SGST amountigststringThe IGST amountcessstringCESS amountgstIncentivestringGST IncentivegstPercentagestringGST Percentage used.secureHashstringrequiredCheck the Secure Hash logic. Size-64udfFieldsstringResponses 200Successful response 4XXClient ErrorUpdated 5 months ago