---
page_title: Incoming Money to Customer - Collect Status
product: UPI TPAP SDK
platform: iOS
page_source: https://juspay.io/in/docs/upi-tpap-sdk/ios/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
{"success":false,"message":"Failed to fetch snippet"}
```


## Sample Code Snippets:
### Callback:

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

```incoming money to customer - collect status
{"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

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