---
page_source: https://juspay.io/in/docs/hyper-checkout/android/mandates-subscriptions/debit--enach
page_title: Debit + Enach
---


# Debit + eNACH



The standard eNACH is a mandate registration with Net Banking (NB) as the Payment Method. Money is not debited for the first payment in this flow and only a mandate set up this done. 

Juspay has enhanced this flow based on merchant requirements to incorporate the first payment debit along with mandate registration. This gives an end to end set up for merchants to use easily without the hassle to extra integration steps. 

In Debit + ENACH flow, Juspay creates two transactions against the order created

* Transaction 1 - one time Net Banking debit transaction i.e. NB Order payment
* Transaction 2 - eNACH setup ie mandate registration using NB payment method


### **Step 1:** Update PA/PG set up on Juspay Dashboard



* Update the configurations for selected PA/PG(s) on Juspay Dashboard to add support for eNACH / eMandate
  
  * **Login**  to Juspay Dashboard > Navigate to Payments > **PG Control Centre**  > Select gateway > Click on **Edit Gateway Configuration**
  * Click on **Payment Method Configurations**  tab and add the required banks with the corresponding authentication method [NB/ CARD /AADHAAR ] from **Mandates/Subcriptions**  section.
  * Select **Advanced Features** section and set **“Enable Emandate”**  as True and proceed to Save changes
  * Repeat steps for all gateways/aggregators which have added support of this feature for your account
    
    [Video](https://dth95m2xtyv8v.cloudfront.net/tesseract/assets/hyper-checkout/enach_gw_configuration.mov)


### Step 2: Create Order at Juspay with Mandate option



Create Order at Juspay with the mandate creation option


#### Request Code Snippet:

```request
curl --location --request POST 'https://api.juspay.in/session' \
    --header 'x-merchantid: yourMerchantId' \
    --header 'Authorization: Basic base64encodedkey==' \
    --header 'Content-Type: application/json' \
    --data-raw '{
    "amount":"10.00",
    "order_id":"yourUniqueOrderId",
    "customer_id":"yourUniqueCustId",
    "customer_phone":"9876543210",
    "customer_email":"dummyemail@gmail.com",
    "payment_page_client_id":"picasso",
    "action":"paymentPage",
    "options.create_mandate":"OPTIONAL/REQUIRED",
    "mandate.max_amount":"1000.00",
    "mandate.start_date":"1644420442",
    "mandate.end_date":"1646234827"
}'
```

#### Response Code Snippet:

```response
{
  "status": "NEW",
  "id": "ordeh_1662a30d94224d4a9a2cdc4c26ee9f37",
  "order_id": "FC37B98B00",
  "payment_links": {
    "web": 
    "https://api.juspay.in/orders/ordeh_1662a30d94224d4a9a2cdc4c26ee9f37/payment-page"
  },
  "sdk_payload": {
    "requestId": "76a19a48b9344be683430a99fde5fd8f",
    "service": "in.juspay.hyperpay",
    "payload": {
      "options.createMandate": "REQUIRED",
      "clientId": "client_id",
      "amount": "2.0",
      "merchantId": "merchant_id",
      "environment": "production",
      "mandate.maxAmount": "10.00",
      "mandate.endDate": "1646234827",
      "action": "paymentPage",
      "customerId": "yourUniqueCustId",
      "returnUrl": "http://localhost:3111/dashboard/systems/orderStatus",
      "mandate.startDate": "1644420442",
      "currency": "INR",
      "customerPhone": "9876543210",
      "customerEmail": "dummyemail@gmail.com",
      "orderId": "yourUniqueOrderId"
    }
  }
}

```



### Step 3: **Check Transaction & Mandate Registration Status** 



Once the mandate registration and debit has been completed, Juspay will share the mandate status & details in response of `Order Status API`call and also in `Webhooks`

* [Order Status Response (](https://juspay.io/in/docs/api-reference/docs/express-checkout/order-status-api)choose Debit + Enach option in Sample Response[)](https://juspay.io/in/docs/api-reference/docs/express-checkout/order-status-api)
* [Webhook Response](https://juspay.io/in/docs/resources/docs/common-resources/debit---enach-webhooks)
* Store `mandate_id` value passed in the responses as an identifier for future mandate payments and other mandate management actions.