---
page_source: https://docs.juspay.io/mandates/docs/how-to-integrate/enable-mandate-registration
page_title: Enable Mandate Registration
---


# Adding the UPI Autopay flow




### **Step 3:** Enable UPI Autopay Registration flow on your payment page



---

## Integration type : Juspay HyperCheckout (Payment Page)


### 3.1 Juspay config changes


* [Login](https://portal.juspay.in/marketplace?id=de72c170-22c8-4536-b3db-e1b6e8758eff&name=DOTP) to Juspay Dashboard and navigate to Marketplace tab to get the UPI Autopay flow enabled on your Juspay payment page
* Juspay will release these changes in testing environment (CUG) for you to initiate the end to end testing on your app / website




### 3.2  Payload changes


* Additional  UPI Autopay parameters are expected to be passed to Juspay while you are loading the payment page
  
  * If you are using **Session API based authentication**  to load the Juspay HyperCheckout Payment Page
    
    * Refer to [Session API payload for Mandate / Autopay](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/session-api-payload-for-mandateautopay)
  * If you are using **Signature based authentication**  to load the Juspay HyperCheckout Payment Page, 
    
    * Refer to the [Process Payload for Autopay / Mandate](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/process-payload-for-autopay--mandate) changes to be done
* Autopay details like Order amount, Max mandate amount, Start Date, End Date, and Frequency are expected to be passed to Juspay in this step




### 3.3 Check UPI Autopay registration status


* Once the mandate registration has been completed, a Juspay Mandate ID is created
* Juspay will share the mandate status & details in response of `Order Status API` call and also in `Webhooks`
* Changes are required at your end to handle these additional mandate parameters and show correct status to the customers
  
  * [Webhooks Response](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/webhooks)
  * [Order Status Response](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/order-status)
  
  > **Note**
  > There can be cases where the debit of the order amount is successful but the Autopay registration has failed. Please refer to `mandate_status` parameter for the actual status of the Autopay registration.



---

## Integration type : Juspay Express Checkout SDK


### 3.1 Check Eligibility


* Eligibility check is required to allow UPI Autopay flow only for selected UPI Intent apps and UPI Handles 
  
  * Use [Juspay SDK getMandateApps Call](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/juspay-sdk-getmandateapps-call)[](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/getmandateapps-sdk-process-call/edit)to get the list of the UPI Autopay supported apps that are present on the user’s device
  * Use [Verify VPA API](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/verify-vpa)to check if the VPA (UPI handle) entered by the customer is valid and supports UPI Autopay
  
  > **Note**
  > It is recommended to display a consent message to the user, before initiating the Autopay registration with an option to Opt out.




### 3.2 Create autopay order


* Mandate params like Order amount, Max mandate amount, Start Date, End Date, and Frequency are expected to be passed when you are creating Order at Juspay
  
  * Refer to the [Order Create call for Mandate/ Autopay](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/order-create-call-for-mandates-autopay)for the changes to be done.




### 3.3 Initiate autopay transaction


* For initiating UPI Autopay registration transaction, mandate related params are required to be added in the existing UPI Txn Juspay SDK Process call.
* Depending on the UPI payment option chosen by the user, initiate the UPI autopay registration transaction to Juspay using following payloads:
  
  * [UPI Intent Autopay Payload](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/upi-intent-autopay-payload)
  * [UPI Collect Autopay Payload](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/upi-collect-autopay-payload)
  * UPI QR Autopay: Use S2S [UPI Intent API](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/mandate-registration-api#UPI-Intent-/QR----URI-construction:-) to construct the URI (UPI deeplink) and generate QR code




### 3.4 Check autopay registration status


* Once the mandate registration has been completed, Juspay will share the mandate status & details in response of `Order Status API`call and also in `Webhooks`
* Changes are required at your end to handle these additional mandate parameters and show correct status to the customers
  
  * [Webhooks Response](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/webhooks)
  * [Order Status Response](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/order-status)
  
  > **Note**
  > There can be cases where the debit of the order amount is successful but the Autopay registration has failed. Please refer to `mandate_status` parameter for the actual status of the Autopay registration.



---

## Integration type : Juspay Express Checkout API


### 3.1 Check Eligibility


* Eligibility check is required to allow UPI Autopay flow only for selected UPI Intent apps and UPI Handles 
  
  * Use [Verify VPA API](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/verify-vpa)to check if the VPA (UPI handle) entered by the customer is valid and supports UPI Autopay.
  * In case the user selects to Pay via UPI app, 
    
    * For Android, the list of autopay eligible apps is fetched directly by the Android (OS), after txns call is done (refer point 3.2)
    * For iOS, there is currently no support to check for autopay eligible apps or apps present in user’s device. Hence, it is recommended to show all UPI Autopay eligible apps on the payment page. 
      
      * [Refer NPCI list of UPI Autopay eligible apps.](https://www.npci.org.in/what-we-do/autopay/list-of-banks-and-apps-live-on-autopay)




### 3.2 Create autopay order & Initiate Transaction


* Mandate params like Order amount, Max mandate amount, Start Date, End Date, and Frequency are expected to be passed when you are creating Order at Juspay
  
  * Refer to the [Order Create API for Mandates](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/order-create-call-for-mandates-autopay)for the changes to be done
* For initiating UPI Autopay registration transaction, two additional mandate parameters i.e `shouldCreateMandate` and `mandate_type`are required to be added in the existing UPI transaction API.
  
  * Refer to the [Mandate Registration API](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/mandate-registration-api)for the changes required.
    
    > **Note**
    > It is recommended to display a consent message to the user, before initiating the Autopay registration with an option to Opt out.




### 3.4 Check Autopay registration status


* Once the mandate registration has been completed, Juspay will share the mandate status & details in response of `Order Status API`call and also in `Webhooks`
* Changes are required at your end to handle these additional mandate parameters and show correct status to the customers
  
  * [Webhooks Response](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/webhooks)
  * [Order Status Response](https://docs.juspay.in/upi-autopay/docs/how-to-integrate/order-status)
  
  > **Note**
  > There can be cases where the debit of the order amount is successful but the Autopay registration has failed. Please refer to `mandate_status` parameter for the actual status of the Autopay registration.

