Pause Mandate
The API can be used to Pause an Active Mandate
Only ACTIVE mandates can be paused.
Consists of two parts.
Username: API Key obtained from Juspay dashboard
Password: Empty string
Example:- Basic MUQ2QUxxxxxxxxxxxxU5QTIxQzNFNTQwNkFDMEZCOg==
The Username that a merchant holds at Juspay.
application/x-www-form-urlencoded
We recommend passing the customer_id as the x-routing-id. If the customer is checking out as a guest, you can pass an alternative ID that helps track the payment session lifecycle. For example, this could be an Order ID or Cart ID.
This ID is associated with the customer. It plays a key role in ensuring consistency and maintaining connections across different systems. If you fail to pass the same x-routing-id for the same customer in all related API calls, it could lead to issues with API functionality. Therefore, it’s crucial that you use the same x-routing-id for all requests tied to the same customer.
Example:- customer_1122
Mandate Id
Example:- 7KKTSsVLcQjskY5F4moS5M
To be set as "pause", to pause an existing active mandate.
Date in UNIX EPOCH timestamp (UTC timezone) format, when the mandate will be paused. Default value can be the current date.
Date in UNIX EPOCH timestamp (UTC timezone) format, when the mandate status will be automatically changed to ACTIVE. Default value can be set to mandate_end_date.
Mandate start date in UNIX EPOCH timestamp (UTC timezone) format.
Mandate execution rule type ie, ON | BEFORE | AFTER
States if mandate is revokable by the customer
Represents the action performed. Ex: Pause mandate is scheduled, Mandate is Paused.
Mandate pause start date in UNIX EPOCH timestamp (UTC timezone) format.
Mandate pause end date in UNIX EPOCH timestamp (UTC timezone) format.
Max amount of mandate set while creating a mandate
Mandate type: MANDATE(Cards) or EMANDATE (others)
Unique Token provided by Juspay after mandate creation.
Status of the mandate. Will be PAUSED only if the mandate is at ACTIVE state earlier.
Unique Identifier for the mandate. Mandate id can be obtained from the List Mandate API response
The time at which mandate moved to ACTIVE state.
Frequency of mandate set. By default ASPRESENTED
Mandate end date in UNIX EPOCH timestamp (UTC timezone) format.
True/False based on the value passed during mandate creation
VARIABLE or FIXED
error
access_denied
Invalid Authentication

