Merchant exercises the Mandate (Recurring payments)
After the Mandate is successful, Merchant will receive a mandate_token from Juspay that should be stored against a customer at their end. From the subsequent charge transactions, Merchant is supposed to pass a combination of customer_id and mandate_token to do a charge without a 2nd factor. This API will create order and will charge it based on the mandate_token passed by the merchant.
In case of Credit Cards, the charge is real time, so status can be CHARGED or AUTHORISATION_FAILED. In the case of e-mandate (netbanking / aadhaar), this might be PENDING_VBV, for which Merchant should poll after the appropriate time.
Consists of two parts.
Username: API Key obtained from Juspay dashboard
Password: Empty string
Example:- Basic MUQ2QUxxxxxxxxxxxxU5QTIxQzNFNTQwNkFDMEZCOg==
application/x-www-form-urlencoded
Unique identifier for the merchant. This ID is provided by Juspay or, may refer to Juspay's own merchant ID.
Passing this value will help us route efficiently at network level.
Example:- x-merchantid: testaccount
Unique Identifier for the order.
This is the amount that a customer will be charge in this transaction.
ISO string of the currency. Use INR for Indian Rupee. Among other accepted values are EUR, USD, GBP. Default value: INR
Customer Identifier against which a mandate was created.
Email address of the customer. If the backend gateway requires it, then you must send this value.
Mobile number or fixed line number of the customer. If the backend gateway requires it, then you must
Short description for the order. We send this information to the backend gateways whenever there is a provision for this.
A fully qualified URL such as http://shop.merchant.com/ to which the customer will be redirected after payment completion. This URL shouldn’t contain any query parameters. This URL takes higher precedence over the common return URL configured in your account settings.
An identifier for the product. Fits well for impulse purchase usecases
First name in the billing address
Last name in the billing address
Line1 in the billing address
Line2 in the billing address
Line3 in the billing address
Billing address city
Billing address state
Billing address country
Billing address postal code or zip code
Mobile or phone number in the billing address
ISO Country code. Default value: IND
First name in the shipping address
Last name in the shipping address
Line1 in the shipping address
Line2 in the shipping address
Line3 in the shipping address
Shipping address city
Shipping address state
Shipping address country
Shipping address postal code or zip code
Mobile or phone number in the shipping address
ISO Country code. Default value: IND
Mandate id sent by Juspay after mandate creation
JSON object specifying how the payment is to be split between marketplace and vendors.
Amount to be allocated to the marketplace.
Note: For MyFatoorah, this value must be explicitly set to 0
Indicates who bears the MDR (Merchant Discount Rate). Values: ALL, MARKETPLACE, VENDOR.
Amount to be transferred to a particular vendor.
Commission charged to the vendor.
Sub-merchant identifier used for vendor settlement.
eul81DBJR2Yv6gjZ7ue
Transaction Id for the payment
Status of the transaction. See appendix.
HTTP Method for authentication. Can be one of GET or POST
URL to which the user has to be taken to for completing the authentication
OrderID for which the payment is being started.
Have questions?
- Need help? Contact support
- LLM? Read llms.txt

