---
page_title: Mandate Integration Architecture
product: SmartGateway API Reference (Basic Auth)
page_source: https://smartgateway.hdfc.bank.in/docs/docs/smartgateway-api-ref-basicauth/docs/mandates-subscriptions/mandate-integration-architecture
llms_txt: https://smartgateway.hdfc.bank.in/docs/docs/llms.txt
product_llms_txt: https://smartgateway.hdfc.bank.in/docs/docs/smartgateway-api-ref-basicauth/llms.txt
---


# Mandate Integration Architecture



![Image](https://dth95m2xtyv8v.cloudfront.net/tesseract/assets/smartgateway-api-ref-basicauth/Mandates%20on%20SmartGATEWAY%20Payment%20Page%20-%20Flow%20Diagram.jpg)



Mandate Registration Flow

The mandate registration flow involves three key players: the User, the Merchant's Server, the SmartGATEWAY Server. The process begins with the user entering details on the merchant's server/page. This request is then transferred to the Juspay server, which forwards it to the PG to complete the registration. 

Once the mandate registration is completed, SmartGATEWAY server sends webhooks to notify the merchant, and if needed the merchant can also call SmartGATEWAY’s Order Status APIs to check the mandate status. 

This flow ensures efficient communication and a seamless transaction experience.


## Mandate Execution Flow



Here is the general mandate execution flow at SmartGATEWAY, which typically does not require user intervention. The merchant initiates the process by calling the Merchant Execution API. In certain cases, such as UPI Autopay, the PDN API must be called 24 hours in advance.

The request is sent to the SmartGATEWAY server, which then forwards it to the Payment Gateway (PG). The PG sends webhooks back to Juspay, which are then relayed to the merchant. Alternatively, the merchant can check the execution status using the Order Status API.

> **Note**
> Below is the general mandate execution flow. Exceptions exist, such as for transactions over INR 15k with UPI Autopay, where an additional step requires the user to enter the MPIN as mandated by the RBI.



---

## See Also

- [Introduction](https://smartgateway.hdfc.bank.in/docs/docs/smartgateway-api-ref-basicauth/docs/mandates-subscriptions/introduction)
- [Mandate Registration (Setting up a subscription)](https://smartgateway.hdfc.bank.in/docs/docs/smartgateway-api-ref-basicauth/docs/mandates-subscriptions/mandate-registration-setting-up-a-subscription)
