Once a Card Mandate registration is successful, you can seamlessly initiate the recurring debit transactions with Juspay at per the set frequency
Use the mandate_id (available from Order status API/ Webhooks) stored internally at your end and use Mandate Status API
to get the updated mandate status and confirm if the mandate is in active state before initiating the recurring debit flow.
Alternatively you can use the List Mandate API
to fetch the mandate_ids linked for a particular customer_id.
Use Mandate Execution API
to initiate the recurring debit transaction
Mandatory details: Order_id, Amount, Customer Id, Mandate ID
Please initiate this transaction at least 25 hours prior to the actual debit date to accommodate the time taken for a Pre-Debit Notification (PDN)
Once Mandate Execution transaction is received, Juspay immediately triggers a PDN.
Once this PDN is successful, there is a mandatory 24 wait period post which the recurring debit call is done by Juspay to the payment gateway
Please note that recurring debit transaction will be routed to the same PA/PG through which the Mandate registration was done
In case the PDN fails, a Notification_Failed webhook will be triggered from Juspay with the failure reason.