Mandate Execution API
This API is used to debit amount from the customers account on a recurring basis as per the frequency specified during mandate registration flow. The API creates an order, sends notification to customer informing about upcoming debit and performs a transaction with PG based on the mandate_id passed in the request.
NOTE: Implement this API only when you have use case of Mandates.
Consists of two parts.
Username: API Key obtained from Juspay dashboard
Password: Empty string
Example:-
MUQ2QUZEQzhFQTY0OUU5QTIxQzNFNTQwNkFDMEZCOg==
Merchant ID provided by Juspay
Example:-
merchant-id
Unique Identifier for the order. Should be Alphanumeric with character length less than 18.
Example:-
order-id-9876580
Amount that the customer has to pay. Will accept stringified double or integer values with upto two decimal places. For example, '100.15' and '100' are valid input but '100.1532' is not valid.
Example:-
1.00
It is the ID with which merchant refers to a customer object. This id is used to access the stored payment methods, allow EMI transactions and setup subscriptions
Example:-
customer-id-007
It is available in the response of order status api post mandate registration
Example:-
4rKxSj3bNXs7RQcdtajAkb
Should be passed in UNIX Epoch timestamp. This is the date on which the mandate has to be executed i.e when money should be debited from customer
Example:-
1622369936
The format of the response. Should be passed as json.
Given order ID
Status of order
Transaction ID for the payment attempt. Can be used as an identifier at PG end and will be present in reconciliation report.
The unique id generated by Juspay for a particular transaction. Can be used as an identifier in case of UPI transaction
URL to which the user has to be taken to for completing the authentication
HTTP Method for authentication. Can be one of GET or POST
Json with offer details
Contains array of offers applicable
DUPLICATE_ORDER_ID
DUPLICATE_ORDER_ID
Order already exists with the given order_id
error
access_denied
error
Internal server Error
Have questions?
- Need help? Contact support
- LLM? Read llms.txt

