---
page_title: Outgoing Create Mandate From Customer
product: UPI TPAP SDK
platform: Flutter
page_source: https://juspay.io/in/docs/upi-tpap-sdk/flutter/callbacks/outgoing-create-mandate-from-customer
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/upi-tpap-sdk/llms.txt
---


## Outgoing Create Mandate From Customer




### Step 1.1. Outgoing Create Mandate From Customer


Server sends a callback to the customer (PAYER/PAYEE) to the url configured when the final status of mandate creation is received from NPCI. It is sent to the same entity that has initiated the mandate.


### Payload
- **Id**:
  - Description: Event ID
  - Value: evt_V2_03c6ec0681124450b55cf92fa35df241
- **Event_name**:
  - Description: Server sends a callback to the customer (PAYER/PAYEE) to the url configured when the mandate is created.
  - Value: MERCHANT_CUSTOMER_OUTGOING_MANDATE_CREATED
- **Date_created**:
  - Description: timestamp when webhook was created
  - Value: 2021-12-07T13:46:40Z
- **Content**:
  - Description: Details of the event
  - Value:
    - **Merchant_customer**:
      - Value:
        - **Upi**:
          - Value:
            - **Upi_app**:
              - Value: YES_BIZ
            - **Payer_vpa**:
              - Value: customer1@abc
            - **Payer_merchant_customer_id**:
              - Value: DEMO-CUST-1234
            - **Payee_vpa**:
              - Value: customer@xyz
            - **Payee_name**:
              - Value: Customer Name
            - **Payee_merchant_customer_id**:
              - Value: DEMO-CUST-5678
            - **Payee_mcc**:
              - Value: 4121
            - **Merchant_id**:
              - Value: DEMOUAT01
        - **Transaction**:
          - Value:
            - **Ref_url**:
              - Value: https://www.abcxyz.com/
            - **Gateway_transaction_id**:
              - Value: XYZd0c077f39c454979...
            - **Gateway_response_code**:
              - Value: 00
            - **Gateway_reference_id**:
              - Value: 806115044725
            - **Custom_response**:
              - Value: {}
        - **Remarks**:
          - Value: This is remarks
        - **Payment_method_type**:
          - Value: UPI
        - **Payment_method**:
          - Value: UPI
        - **Message**:
          - Value: Mandate is successfully created
        - **Merchant_customer_id**:
          - Value: DEMO-CUST-1234
        - **Mandate**:
          - Value:
            - **Validity_start**:
              - Value: 2020/06/04
            - **Validity_end**:
              - Value: 2020/06/05
            - **Transaction_type**:
              - Value: UPI_MANDATE
            - **Share_to_payee**:
              - Value: true
            - **Role**:
              - Value: PAYER
            - **Recurrence_value**:
              - Value: 5
            - **Recurrence_rule**:
              - Value: ON
            - **Recurrence_pattern**:
              - Value: MONTHLY
            - **Payer_revocable**:
              - Value: true
            - **Org_mandate_id**:
              - Value: BJJMsleiuryufhuhsoisdjfadb48003sdaa0
            - **Mandate_timestamp**:
              - Value: 2020-06-01T10:10:42Z
            - **Mandate_name**:
              - Value: merchant mandate
            - **Initiated_by**:
              - Value: PAYER
            - **Upi_request_id**:
              - Value: BJJ71f7d43bdf64d72d9saddfded
            - **Block_fund**:
              - Value: true
        - **Expiry**:
          - Value: 2016-11-24T19:00:00Z
        - **Amount**:
          - Value: 100.00



| Optional Fields | Constrains |
|---|---|
| recurrenceRule | It is not present if recurrencePattern is ONETIME, DAILY or ASPRESENTED. |
| recurrencValue |  It is not present if recurrencePattern is ONETIME, DAILY or ASPRESENTED. |
| expiry | It will be present only when the payee has initiated the mandate. |
| payeeName | It will be present if role is PAYER |
| payerName | It will be present if role is PAYEE |
| mandateApprovalTimestamp |  |
| umn | Only present if mandate was initiatedBy Payee |




#### Code Snippets: -

#### Java Code Snippet:

```java
{
  "id": "evt_V2_487dcbcb0bcb4052a015ce4d8a7ede7c",
  "event_name": "MERCHANT_CUSTOMER_OUTGOING_MANDATE_CREATED",
  "date_created": "2021-12-07T14:27:30Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "payer_vpa": "9962463212@BANK",
        "payer_name": "ABC",
        "payee_vpa": "test@BANK",
        "payee_name": "BANKTEST",
        "payee_mcc": "4121",
        "merchant_id": "BANK",
        "merchant_channel_id": "BANK",
        "masked_account_number": "XXXXXXX9988",
        "bank_code": "123456"
      },
      "transaction": {
        "umn": "uniqueMandateNumber@bank",
        "ref_url": "https://www.abcxyz.com/",
        "merchant_request_id": "6138ne3wswbsssddc4dddc", //the txn uuid in transaction
        "gateway_response_status": "SUCCESS",
        "gateway_response_code": "00",
        "gateway_reference_id": "809323430413"
      },
      "remarks": "Sample Remarks",
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "message": "Mandate is successfully created",
      "merchant_customer_id": "DEMO-CUST-1234",
      "mandate": {
        "validity_start": "2020/06/04",
        "validity_end": "2020/06/05",
        "transaction_type": "UPI_MANDATE",
        "share_to_payee": true,
        "role": "PAYEE",
        "recurrence_value": "5",
        "recurrence_rule": "ON",
        "recurrence_pattern": "MONTHLY",
        "payer_revocable": true,
        "org_mandate_id": "BJJ71f7d43bdf64d72d9saddfded",
        "mandate_timestamp": "2020-06-01T10:10:42Z",
        "mandate_name": "merchant mandate",
        "mandate_approval_timestamp": "2017-06-09T12:28:49Z",
        "initiated_by": "PAYER",
        "gateway_mandate_id": "BJJ71f7d43bdf64d72d9saddfded",
        "block_fund": true,
        "amount_rule": "FIXED"
      },
      "expiry": "2020-07-24T19:00:00Z",
      "amount": "100.00"
    }
  }
}
```

#### Kotlin Code Snippet:

```kotlin
{"success":false,"message":"Failed to fetch snippet"}
```


## Sample Code Snippets:
### Callback:

#### Outgoing Create Mandate From Customer Code Snippet:

```outgoing create mandate from customer
{"success":false,"message":"Failed to fetch snippet"}
```



---

## Complete Code Reference

The following code files are referenced in the steps above:

### InappCallbacks.txt

```
{"success":false,"message":"Failed to fetch snippet"}
```


---

## See Also

- [Incoming Create Mandate For Customer](https://juspay.io/in/docs/upi-tpap-sdk/flutter/callbacks/incoming-create-mandate-for-customer)
- [Incoming Update Mandate Request For Customer](https://juspay.io/in/docs/upi-tpap-sdk/flutter/callbacks/incoming-update-mandate-request-for-customer)
