---
page_title: Incoming Money to Customer - Collect Status
product: UPI TPAP SDK
platform: Android
page_source: https://juspay.io/in/docs/upi-tpap-sdk/android/callbacks/incoming-money-to-customer--collect-status
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/upi-tpap-sdk/llms.txt
---


## Incoming Money to Customer - Collect Status




### Step 1.1. Incoming Money to Customer - Collect Status


Merchant can get multiple callbacks for the same event type till the transaction status reaches a terminal state. Terminal states for a transaction are SUCCESS, FAILURE, EXPIRED, DECLINED.


### Payload
- **Id**:
  - Description: Event ID
  - Value: evt_V2_03c6ec0681124450b55cf92fa35df241
- **Event_name**:
  - Value: MERCHANT_CUSTOMER_CREDITED_VIA_COLLECT
- **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
        - **Merchant_customer_id**:
          - Value: DEMO-CUST-1234
        - **Expiry**:
          - Value: 2016-11-24T19:00:00Z
        - **Date_created**:
          - Description: transaction timestamp sent from bank
          - Value: 2016-11-24T18:30:00Z
        - **Amount**:
          - Value: 100.00


> **Note**
> Merchant can get multiple callbacks for the same event type till the transaction status reaches a terminal state. Terminal states for a transaction are SUCCESS, FAILURE, EXPIRED, DECLINED.




| Optional Fields | Constrains |
|---|---|
| bank_account_uniqueId | Only if gatewayResponseCode is 00. |
| bankCode | Only if gatewayResponseCode is 00 |
| maskedAccountNumber | Only if gatewayResponseCode is 00 |




#### Code Snippets: -

#### Java Code Snippet:

```java
{
  "id": "evt_V2_0d39b03ca2c64a8588947b71ecbc6ead",
  "event_name": "MERCHANT_CUSTOMER_CREDITED_VIA_COLLECT",
  "date_created": "2021-12-07T13:49:55Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "payer_vpa": "customer@xyz",
        "payer_name": "Customer Name",
        "payee_vpa": "customer1@abc",
        "payee_mobile_number": "919812388554",
        "payee_merchant_customer_id": "DEMO-CUST-1234",
        "payee_mcc": "4121",
        "merchant_id": "DEMOUAT01",
        "merchant_channel_id": "DEMOUATAPP",
        "masked_account_number": "XXXX123456",
        "bank_code": "123456",
        "bank_account_unique_id": "fb96f8b2b...1ab0c070d0d894"
      },
      "transaction": {
        "ref_url": "https://www.abcxyz.com/",
        "merchant_request_id": "TXN1234567",
        "gateway_transaction_id": "XYZd0c077...f39c454979",
        "gateway_response_code": "00",
        "gateway_reference_id": "806115044725",
        "custom_response": "{}"
      },
      "remarks": "Sample remarks",
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "message": "Transaction is approved",
      "merchant_customer_id": "DEMO-CUST-1234",
      "expiry": "2016-11-24T18:40:00Z",
      "date_created": "2016-11-24T18:30:00Z",
      "amount": "100.00"
    }
  }
}
```

#### Kotlin Code Snippet:

```kotlin
{
  "id": "evt_V2_0d39b03ca2c64a8588947b71ecbc6ead",
  "event_name": "MERCHANT_CUSTOMER_CREDITED_VIA_COLLECT",
  "date_created": "2021-12-07T13:49:55Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "payer_vpa": "customer@xyz",
        "payer_name": "Customer Name",
        "payee_vpa": "customer1@abc",
        "payee_mobile_number": "919812388554",
        "payee_merchant_customer_id": "DEMO-CUST-1234",
        "payee_mcc": "4121",
        "merchant_id": "DEMOUAT01",
        "merchant_channel_id": "DEMOUATAPP",
        "masked_account_number": "XXXX123456",
        "bank_code": "123456",
        "bank_account_unique_id": "fb96f8b2b...1ab0c070d0d894"
      },
      "transaction": {
        "ref_url": "https://www.abcxyz.com/",
        "merchant_request_id": "TXN1234567",
        "gateway_transaction_id": "XYZd0c077...f39c454979",
        "gateway_response_code": "00",
        "gateway_reference_id": "806115044725",
        "custom_response": "{}"
      },
      "remarks": "Sample remarks",
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "message": "Transaction is approved",
      "merchant_customer_id": "DEMO-CUST-1234",
      "expiry": "2016-11-24T18:40:00Z",
      "date_created": "2016-11-24T18:30:00Z",
      "amount": "100.00"
    }
  }
}
```


## Sample Code Snippets:
### Callback:

#### Incoming Money to Customer - Collect Status Code Snippet:

```incoming money to customer - collect status
// block:start:incomingCollectRequestToCustomer

{
  "id": "evt_V2_03c6ec0681124450b55cf92fa35df241",
  "event_name": "MERCHANT_CUSTOMER_COLLECT_REQUEST_RECEIVED",
  "date_created": "2021-12-07T13:46:40Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "payer_vpa": "customer1@abc",
        "payer_merchant_customer_id": "DEMO-CUST-1234",
        "payee_vpa": "customer@xyz",
        "payee_name": "Customer Name",
        "payee_merchant_customer_id": "DEMO-CUST-5678",
        "payee_mcc": "4121",
        "merchant_id": "DEMOUAT01"
      },
      "transaction": {
        "umn": "DCR123be148c7ba3b14f6db5cde57c65ccf@bank",
        "seq_number": "1",
        "ref_url": "https://www.abcxyz.com/",
        "is_verified_payee": true,
        "is_marked_spam": true,
        "gateway_transaction_id": "XYZd0c077f39c454979...",
        "gateway_reference_id": "806115044725",
        "custom_response": "{}"
      },
      "remarks": "This is remarks",
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "merchant_customer_id": "DEMO-CUST-1234",
      "expiry": "2016-11-24T19:00:00Z",
      "date_created": "2016-11-24T18:30:00Z",
      "amount": "100.00"
    }
  }
}

// block:end:incomingCollectRequestToCustomer

// block:start:outgoingCollectRequestFromCustomer

{
  "id": "evt_V2_6051eb4f1dd545bb8ac82d80c86db763",
  "event_name": "MERCHANT_CUSTOMER_COLLECT_REQUEST_SENT",
  "date_created": "2021-12-07T13:53:50Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "payer_vpa": "customer1@abc",
        "payer_name": "Customer Name",
        "payee_vpa": "customer@xyz",
        "payee_mobile_number": "919876543210",
        "payee_merchant_customer_id": "DEMO-CUST-1234",
        "payee_mcc": "4121",
        "merchant_id": "DEMOUAT01",
        "merchant_channel_id": "DEMOUAT01",
        "masked_account_number": "XXXXXXX9988",
        "bank_code": "123456",
        "bank_account_unique_id": "4536baef...32cdba67"
      },
      "transaction": {
        "ref_url": "https://www.abcxyz.com/",
        "merchant_request_id": "TXN1234567",
        "gateway_transaction_id": "XYZd0c077f39c454979...",
        "gateway_response_code": "00",
        "gateway_reference_id": "806115044725",
        "custom_response": "{}"
      },
      "remarks": "This is remarks",
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "message": "Collect request sent successfully",
      "merchant_customer_id": "DEMO-CUST-1234",
      "expiry": "2016-11-24T19:00:00Z",
      "date_created": "2016-11-24T18:30:00Z",
      "amount": "100.00"
    }
  }
}

// block:end:outgoingCollectRequestFromCustomer

// block:start:incomingMoneyToCustomerPay

{
  "id": "evt_V2_fc893a0229b94a05bcac4e1d4ba31c47",
  "event_name": "MERCHANT_CUSTOMER_RECEIVED_MONEY",
  "date_created": "2021-12-07T13:51:16Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "payer_vpa": "customer@xyz",
        "payer_name": "Customer Name",
        "payee_vpa": "customer1@abc",
        "payee_mobile_number": "919812388554",
        "payee_merchant_customer_id": "DEMO-CUST-1234",
        "payee_mcc": "4121",
        "merchant_id": "DEMOUAT01",
        "masked_account_number": "XXXX123456",
        "bank_code": "123456",
        "bank_account_unique_id": "fb96f8b2b1ab0c070d0d894......"
      },
      "transaction": {
        "ref_url": "https://www.abcxyz.com/",
        "gateway_transaction_id": "XYZd0c077f39c454979...",
        "gateway_response_code": "00",
        "gateway_reference_id": "806115044725",
        "custom_response": "{}"
      },
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "message": "Transaction is approved",
      "merchant_customer_id": "DEMO-CUST-1234",
      "date_created": "2016-11-24T18:30:00Z",
      "amount": "100.00"
    }
  }
}

// block:end:incomingMoneyToCustomerPay

// block:start:outgoingMoneyFromCustomer

{
  "id": "evt_V2_764d477007844e0aa8728d1dc3e617f2",
  "event_name": "MERCHANT_CUSTOMER_DEBITED_VIA_PAY",
  "date_created": "2021-12-07T13:52:49Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "payer_vpa": "customer1@abc",
        "payer_mobile_number": "919812388554",
        "payer_merchant_customer_id": "DEMO-CUST-1234",
        "payee_vpa": "customer@xyz",
        "payee_name": "Customer Name",
        "payee_mcc": "4121",
        "merchant_id": "MERCHANT",
        "merchant_channel_id": "DEMOUATAPP",
        "masked_account_number": "XXXXXXX9988",
        "bank_code": "123456",
        "bank_account_unique_id": "4536baef...32cdba67"
      },
      "transaction": {
        "umn": "DCR123be148c7ba3b14f6db5cde57c65ccf@bank",
        "seq_number": "1",
        "ref_url": "https://www.abcxyz.com/",
        "merchant_request_id": "TXN1234567",
        "gateway_transaction_id": "DEMOUATAPP01TXNfo897fHVTiYq51739",
        "gateway_response_code": "00",
        "gateway_reference_id": "806115044725",
        "custom_response": "{}"
      },
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "message": "Transaction is approved",
      "merchant_customer_id": "DEMO-CUST-1234",
      "date_created": "2016-11-24T18:30:00Z",
      "amount": "10.00"
    }
  }
}

// block:end:outgoingMoneyFromCustomer

// block:start:incomingMoneyToCustomerCollect

{
  "id": "evt_V2_0d39b03ca2c64a8588947b71ecbc6ead",
  "event_name": "MERCHANT_CUSTOMER_CREDITED_VIA_COLLECT",
  "date_created": "2021-12-07T13:49:55Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "payer_vpa": "customer@xyz",
        "payer_name": "Customer Name",
        "payee_vpa": "customer1@abc",
        "payee_mobile_number": "919812388554",
        "payee_merchant_customer_id": "DEMO-CUST-1234",
        "payee_mcc": "4121",
        "merchant_id": "DEMOUAT01",
        "merchant_channel_id": "DEMOUATAPP",
        "masked_account_number": "XXXX123456",
        "bank_code": "123456",
        "bank_account_unique_id": "fb96f8b2b...1ab0c070d0d894"
      },
      "transaction": {
        "ref_url": "https://www.abcxyz.com/",
        "merchant_request_id": "TXN1234567",
        "gateway_transaction_id": "XYZd0c077...f39c454979",
        "gateway_response_code": "00",
        "gateway_reference_id": "806115044725",
        "custom_response": "{}"
      },
      "remarks": "Sample remarks",
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "message": "Transaction is approved",
      "merchant_customer_id": "DEMO-CUST-1234",
      "expiry": "2016-11-24T18:40:00Z",
      "date_created": "2016-11-24T18:30:00Z",
      "amount": "100.00"
    }
  }
}

// block:end:incomingMoneyToCustomerCollect

// block:start:incomingCreateMandateRequestForCustomer

{
  "id": "evt_V2_eb42521dd872424a84bace92ed050d94",
  "event_name": "MERCHANT_CUSTOMER_INCOMING_MANDATE_CREATE_REQUEST_RECEIVED",
  "date_created": "2021-12-10T12:28:10Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "payer_vpa": "9962463212@BANK",
        "payee_vpa": "test@BANK",
        "payee_name": "BANKTEST",
        "payee_mcc": "4121",
        "merchant_id": "BANK",
        "merchant_channel_id": "BANK"
      },
      "transaction": {
        "umn": "uniqueMandateNumber@BANK",
        "ref_url": "https://www.abcxyz.com/",
        "is_verified_payee": true,
        "is_marked_spam": true,
        "gateway_reference_id": "809323430413"
      },
      "remarks": "Sample Remarks",
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "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": "PAYER",
        "recurrence_value": "5",
        "recurrence_rule": "ON",
        "recurrence_pattern": "MONTHLY",
        "payer_revocable": true,
        "org_mandate_id": "BJJMsleiuryufhuhsoisdjfadb48003sdaa0",
        "mandate_timestamp": "2020-06-01T10:10:42Z",
        "mandate_name": "merchant mandate",
        "initiated_by": "PAYER",
        "gateway_mandate_id": "BJJ71f7d43bdf64d72d9saddfded",
        "block_fund": true,
        "amount_rule": "VARIABLE"
      },
      "expiry": "2020-07-24T19:00:00Z",
      "amount": "100.00"
    }
  }
}

// block:end:incomingCreateMandateRequestForCustomer

// block:start:incomingCreateMandateForCustomer

{
  "id": "evt_V2_487dcbcb0bcb4052a015ce4d8a7ede7c",
  "event_name": "MERCHANT_CUSTOMER_INCOMING_MANDATE_CREATED",
  "date_created": "2021-12-07T14:27:30Z",
  "content": {
    "merchant_customer": {
      "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",
      "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": "PAYER",
      "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": "PAYEE",
      "gateway_mandate_id": "BJJ71f7d43bdf64d72d9saddfded",
      "block_fund": true,
      "amount_rule": "VARIABLE"
    },
    "expiry": "2020-07-24T19:00:00Z",
    "amount": "100.00"
  }
}


// block:end:incomingCreateMandateForCustomer

// block:start:outgoingCreateMandateFromCustomer

{
  "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"
    }
  }
}

// block:end:outgoingCreateMandateFromCustomer

// block:start:incomingUpdateMandateRequestForCustomer

{
  "id": "evt_V2_912b61c9770c4049a73badb1b8ef806a",
  "event_name": "MERCHANT_CUSTOMER_INCOMING_MANDATE_UPDATE_REQUEST_RECEIVED",
  "date_created": "2021-12-07T14:29:47Z",
  "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"
      },
      "transaction": {
        "umn": "uniqueMandateNumber@bank",
        "ref_url": "https://www.abcxyz.com/",
        "gateway_reference_id": "809323430413"
      },
      "remarks": "Sample Remarks",
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "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": "PAYER",
        "recurrence_value": "5",
        "recurrence_rule": "ON",
        "recurrence_pattern": "MONTHLY",
        "payer_revocable": true,
        "org_mandate_id": "BJJMsleiuryufhuhsoisdjfadb48003sdaa0",
        "mandate_type": "UPDATE",
        "mandate_timestamp": "2020-06-01T10:10:42Z",
        "mandate_name": "merchant mandate",
        "initiated_by": "PAYER",
        "gateway_mandate_id": "BJJ71f7d43bdf64d72d9saddfded",
        "block_fund": true,
        "amount_rule": "VARIABLE"
      },
      "expiry": "2020-07-24T19:00:00Z",
      "amount": "100.00"
    }
  }
}

// block:end:incomingUpdateMandateRequestForCustomer

// block:start:incomingUpdateMandateForCustomer

{
  "id": "evt_V2_793089c9a7234c1080b8a1137a7a2be8",
  "event_name": "MERCHANT_CUSTOMER_INCOMING_MANDATE_UPDATED",
  "date_created": "2021-12-07T14:31:02Z",
  "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"
      },
      "transaction": {
        "umn": "uniqueMandateNumber@bank",
        "ref_url": "https://www.abcxyz.com/",
        "merchant_request_id": "6138ne3wswbsssddc4dddc",
        "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 updated",
      "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": "PAYER",
        "recurrence_value": "5",
        "recurrence_rule": "ON",
        "recurrence_pattern": "MONTHLY",
        "payer_revocable": true,
        "org_mandate_id": "BJJMsleiuryufhuhsoisdjfadb48003sdaa0",
        "mandate_type": "UPDATE",
        "mandate_timestamp": "2020-06-01T10:10:42Z",
        "mandate_name": "merchant mandate",
        "initiated_by": "PAYER",
        "gateway_mandate_id": "BJJ71f7d43bdf64d72d9saddfded",
        "block_fund": true
      },
      "expiry": "2020-07-24T19:00:00Z",
      "amount": "100.00"
    }
  }
}

// block:end:incomingUpdateMandateForCustomer
```



---

## Complete Code Reference

The following code files are referenced in the steps above:

### InappCallbacks.txt

```
// block:start:incomingCollectRequestToCustomer

{
  "id": "evt_V2_03c6ec0681124450b55cf92fa35df241",
  "event_name": "MERCHANT_CUSTOMER_COLLECT_REQUEST_RECEIVED",
  "date_created": "2021-12-07T13:46:40Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "payer_vpa": "customer1@abc",
        "payer_merchant_customer_id": "DEMO-CUST-1234",
        "payee_vpa": "customer@xyz",
        "payee_name": "Customer Name",
        "payee_merchant_customer_id": "DEMO-CUST-5678",
        "payee_mcc": "4121",
        "merchant_id": "DEMOUAT01"
      },
      "transaction": {
        "umn": "DCR123be148c7ba3b14f6db5cde57c65ccf@bank",
        "seq_number": "1",
        "ref_url": "https://www.abcxyz.com/",
        "is_verified_payee": true,
        "is_marked_spam": true,
        "gateway_transaction_id": "XYZd0c077f39c454979...",
        "gateway_reference_id": "806115044725",
        "custom_response": "{}"
      },
      "remarks": "This is remarks",
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "merchant_customer_id": "DEMO-CUST-1234",
      "expiry": "2016-11-24T19:00:00Z",
      "date_created": "2016-11-24T18:30:00Z",
      "amount": "100.00"
    }
  }
}

// block:end:incomingCollectRequestToCustomer

// block:start:outgoingCollectRequestFromCustomer

{
  "id": "evt_V2_6051eb4f1dd545bb8ac82d80c86db763",
  "event_name": "MERCHANT_CUSTOMER_COLLECT_REQUEST_SENT",
  "date_created": "2021-12-07T13:53:50Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "payer_vpa": "customer1@abc",
        "payer_name": "Customer Name",
        "payee_vpa": "customer@xyz",
        "payee_mobile_number": "919876543210",
        "payee_merchant_customer_id": "DEMO-CUST-1234",
        "payee_mcc": "4121",
        "merchant_id": "DEMOUAT01",
        "merchant_channel_id": "DEMOUAT01",
        "masked_account_number": "XXXXXXX9988",
        "bank_code": "123456",
        "bank_account_unique_id": "4536baef...32cdba67"
      },
      "transaction": {
        "ref_url": "https://www.abcxyz.com/",
        "merchant_request_id": "TXN1234567",
        "gateway_transaction_id": "XYZd0c077f39c454979...",
        "gateway_response_code": "00",
        "gateway_reference_id": "806115044725",
        "custom_response": "{}"
      },
      "remarks": "This is remarks",
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "message": "Collect request sent successfully",
      "merchant_customer_id": "DEMO-CUST-1234",
      "expiry": "2016-11-24T19:00:00Z",
      "date_created": "2016-11-24T18:30:00Z",
      "amount": "100.00"
    }
  }
}

// block:end:outgoingCollectRequestFromCustomer

// block:start:incomingMoneyToCustomerPay

{
  "id": "evt_V2_fc893a0229b94a05bcac4e1d4ba31c47",
  "event_name": "MERCHANT_CUSTOMER_RECEIVED_MONEY",
  "date_created": "2021-12-07T13:51:16Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "payer_vpa": "customer@xyz",
        "payer_name": "Customer Name",
        "payee_vpa": "customer1@abc",
        "payee_mobile_number": "919812388554",
        "payee_merchant_customer_id": "DEMO-CUST-1234",
        "payee_mcc": "4121",
        "merchant_id": "DEMOUAT01",
        "masked_account_number": "XXXX123456",
        "bank_code": "123456",
        "bank_account_unique_id": "fb96f8b2b1ab0c070d0d894......"
      },
      "transaction": {
        "ref_url": "https://www.abcxyz.com/",
        "gateway_transaction_id": "XYZd0c077f39c454979...",
        "gateway_response_code": "00",
        "gateway_reference_id": "806115044725",
        "custom_response": "{}"
      },
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "message": "Transaction is approved",
      "merchant_customer_id": "DEMO-CUST-1234",
      "date_created": "2016-11-24T18:30:00Z",
      "amount": "100.00"
    }
  }
}

// block:end:incomingMoneyToCustomerPay

// block:start:outgoingMoneyFromCustomer

{
  "id": "evt_V2_764d477007844e0aa8728d1dc3e617f2",
  "event_name": "MERCHANT_CUSTOMER_DEBITED_VIA_PAY",
  "date_created": "2021-12-07T13:52:49Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "payer_vpa": "customer1@abc",
        "payer_mobile_number": "919812388554",
        "payer_merchant_customer_id": "DEMO-CUST-1234",
        "payee_vpa": "customer@xyz",
        "payee_name": "Customer Name",
        "payee_mcc": "4121",
        "merchant_id": "MERCHANT",
        "merchant_channel_id": "DEMOUATAPP",
        "masked_account_number": "XXXXXXX9988",
        "bank_code": "123456",
        "bank_account_unique_id": "4536baef...32cdba67"
      },
      "transaction": {
        "umn": "DCR123be148c7ba3b14f6db5cde57c65ccf@bank",
        "seq_number": "1",
        "ref_url": "https://www.abcxyz.com/",
        "merchant_request_id": "TXN1234567",
        "gateway_transaction_id": "DEMOUATAPP01TXNfo897fHVTiYq51739",
        "gateway_response_code": "00",
        "gateway_reference_id": "806115044725",
        "custom_response": "{}"
      },
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "message": "Transaction is approved",
      "merchant_customer_id": "DEMO-CUST-1234",
      "date_created": "2016-11-24T18:30:00Z",
      "amount": "10.00"
    }
  }
}

// block:end:outgoingMoneyFromCustomer

// block:start:incomingMoneyToCustomerCollect

{
  "id": "evt_V2_0d39b03ca2c64a8588947b71ecbc6ead",
  "event_name": "MERCHANT_CUSTOMER_CREDITED_VIA_COLLECT",
  "date_created": "2021-12-07T13:49:55Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "payer_vpa": "customer@xyz",
        "payer_name": "Customer Name",
        "payee_vpa": "customer1@abc",
        "payee_mobile_number": "919812388554",
        "payee_merchant_customer_id": "DEMO-CUST-1234",
        "payee_mcc": "4121",
        "merchant_id": "DEMOUAT01",
        "merchant_channel_id": "DEMOUATAPP",
        "masked_account_number": "XXXX123456",
        "bank_code": "123456",
        "bank_account_unique_id": "fb96f8b2b...1ab0c070d0d894"
      },
      "transaction": {
        "ref_url": "https://www.abcxyz.com/",
        "merchant_request_id": "TXN1234567",
        "gateway_transaction_id": "XYZd0c077...f39c454979",
        "gateway_response_code": "00",
        "gateway_reference_id": "806115044725",
        "custom_response": "{}"
      },
      "remarks": "Sample remarks",
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "message": "Transaction is approved",
      "merchant_customer_id": "DEMO-CUST-1234",
      "expiry": "2016-11-24T18:40:00Z",
      "date_created": "2016-11-24T18:30:00Z",
      "amount": "100.00"
    }
  }
}

// block:end:incomingMoneyToCustomerCollect

// block:start:incomingCreateMandateRequestForCustomer

{
  "id": "evt_V2_eb42521dd872424a84bace92ed050d94",
  "event_name": "MERCHANT_CUSTOMER_INCOMING_MANDATE_CREATE_REQUEST_RECEIVED",
  "date_created": "2021-12-10T12:28:10Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "payer_vpa": "9962463212@BANK",
        "payee_vpa": "test@BANK",
        "payee_name": "BANKTEST",
        "payee_mcc": "4121",
        "merchant_id": "BANK",
        "merchant_channel_id": "BANK"
      },
      "transaction": {
        "umn": "uniqueMandateNumber@BANK",
        "ref_url": "https://www.abcxyz.com/",
        "is_verified_payee": true,
        "is_marked_spam": true,
        "gateway_reference_id": "809323430413"
      },
      "remarks": "Sample Remarks",
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "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": "PAYER",
        "recurrence_value": "5",
        "recurrence_rule": "ON",
        "recurrence_pattern": "MONTHLY",
        "payer_revocable": true,
        "org_mandate_id": "BJJMsleiuryufhuhsoisdjfadb48003sdaa0",
        "mandate_timestamp": "2020-06-01T10:10:42Z",
        "mandate_name": "merchant mandate",
        "initiated_by": "PAYER",
        "gateway_mandate_id": "BJJ71f7d43bdf64d72d9saddfded",
        "block_fund": true,
        "amount_rule": "VARIABLE"
      },
      "expiry": "2020-07-24T19:00:00Z",
      "amount": "100.00"
    }
  }
}

// block:end:incomingCreateMandateRequestForCustomer

// block:start:incomingCreateMandateForCustomer

{
  "id": "evt_V2_487dcbcb0bcb4052a015ce4d8a7ede7c",
  "event_name": "MERCHANT_CUSTOMER_INCOMING_MANDATE_CREATED",
  "date_created": "2021-12-07T14:27:30Z",
  "content": {
    "merchant_customer": {
      "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",
      "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": "PAYER",
      "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": "PAYEE",
      "gateway_mandate_id": "BJJ71f7d43bdf64d72d9saddfded",
      "block_fund": true,
      "amount_rule": "VARIABLE"
    },
    "expiry": "2020-07-24T19:00:00Z",
    "amount": "100.00"
  }
}


// block:end:incomingCreateMandateForCustomer

// block:start:outgoingCreateMandateFromCustomer

{
  "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"
    }
  }
}

// block:end:outgoingCreateMandateFromCustomer

// block:start:incomingUpdateMandateRequestForCustomer

{
  "id": "evt_V2_912b61c9770c4049a73badb1b8ef806a",
  "event_name": "MERCHANT_CUSTOMER_INCOMING_MANDATE_UPDATE_REQUEST_RECEIVED",
  "date_created": "2021-12-07T14:29:47Z",
  "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"
      },
      "transaction": {
        "umn": "uniqueMandateNumber@bank",
        "ref_url": "https://www.abcxyz.com/",
        "gateway_reference_id": "809323430413"
      },
      "remarks": "Sample Remarks",
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "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": "PAYER",
        "recurrence_value": "5",
        "recurrence_rule": "ON",
        "recurrence_pattern": "MONTHLY",
        "payer_revocable": true,
        "org_mandate_id": "BJJMsleiuryufhuhsoisdjfadb48003sdaa0",
        "mandate_type": "UPDATE",
        "mandate_timestamp": "2020-06-01T10:10:42Z",
        "mandate_name": "merchant mandate",
        "initiated_by": "PAYER",
        "gateway_mandate_id": "BJJ71f7d43bdf64d72d9saddfded",
        "block_fund": true,
        "amount_rule": "VARIABLE"
      },
      "expiry": "2020-07-24T19:00:00Z",
      "amount": "100.00"
    }
  }
}

// block:end:incomingUpdateMandateRequestForCustomer

// block:start:incomingUpdateMandateForCustomer

{
  "id": "evt_V2_793089c9a7234c1080b8a1137a7a2be8",
  "event_name": "MERCHANT_CUSTOMER_INCOMING_MANDATE_UPDATED",
  "date_created": "2021-12-07T14:31:02Z",
  "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"
      },
      "transaction": {
        "umn": "uniqueMandateNumber@bank",
        "ref_url": "https://www.abcxyz.com/",
        "merchant_request_id": "6138ne3wswbsssddc4dddc",
        "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 updated",
      "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": "PAYER",
        "recurrence_value": "5",
        "recurrence_rule": "ON",
        "recurrence_pattern": "MONTHLY",
        "payer_revocable": true,
        "org_mandate_id": "BJJMsleiuryufhuhsoisdjfadb48003sdaa0",
        "mandate_type": "UPDATE",
        "mandate_timestamp": "2020-06-01T10:10:42Z",
        "mandate_name": "merchant mandate",
        "initiated_by": "PAYER",
        "gateway_mandate_id": "BJJ71f7d43bdf64d72d9saddfded",
        "block_fund": true
      },
      "expiry": "2020-07-24T19:00:00Z",
      "amount": "100.00"
    }
  }
}

// block:end:incomingUpdateMandateForCustomer
```


---

## See Also

- [Outgoing Money from a Customer](https://juspay.io/in/docs/upi-tpap-sdk/android/callbacks/outgoing-money-from-a-customer)
- [Incoming Create Mandate Request For Customer](https://juspay.io/in/docs/upi-tpap-sdk/android/callbacks/incoming-create-mandate-request-for-customer)
