---
page_title: Port UPI Number
product: UPI TPAP SDK
platform: Android
page_source: https://juspay.io/in/docs/upi-tpap-sdk/android/callbacks/port-upi-number
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/upi-tpap-sdk/llms.txt
---


## Port UPI Number




### Step 1.1. Port UPI Number


This callback is used for two purposes:Purpose 1) This callback will be sent when a 10 digit UPI Number (Mobile Number) has been delinked from a particular Vpa and moved to a different PSP. In this case, action is PORTED_OUT and upiNumber will be 10 digit always.Purpose 2) Juspay will asynchronously resolve UPI numbers that go to pending status, which happens when create or update UPI number call times out because of timeout at NPCI’s end. When such a resolution to terminal status happens, this callback will be sent to the merchant using which merchant shall update/sync their database. In this case, action will be one of CREATE, REACTIVATE, CHANGE_VPA, DISABLE, DELETE and upiNumber can be 8, 9 or 10 digit.Important notes about optional parameters and more: 1) In the first (current) version of UPI number feature, Juspay does not store the action and upiRequestId passed by merchant in create and update UPI number APIs. Hence Juspay will not be able to retrieve these values. So the equivalent action and gatewayTransactionId parameters shall NOT be passed for a bunch of UPI numbers. The status parameter will also be SUCCESS by default for this bunch of UPI numbers. (Applicable in Purpose 2)2) upiNumberStatus will NOT be sent whenever action is PORTED_OUT. (Applicable in Purpose 1) 3) status will be SUCCESS when the action has succeeded and FAILURE if the action has failed.Event: **MERCHANT_CUSTOMER_PORTED_UPI_NUMBER** 


### Payload
- **Id**:
  - Description: Event ID
  - Value: evt_V2_03c6ec0681124450b55cf92fa35df241
- **Event_name**:
  - Description: Server sends a callback to the Payer to the url configured.
  - Value: MERCHANT_CUSTOMER_PORTED_UPI_NUMBER
- **Date_created**:
  - Description: timestamp when webhook was created
  - Value: 2021-12-07T13:46:40Z
- **Content**:
  - Description: Details of the event
  - Value:
    - **Merchant_customer**:
      - Description: Details of the event
      - Value:




#### Code Snippets: -

#### Objective-C Code Snippet:

```objective-c
{
  "id": "evt_V2_d21c51c4268d499e9ae935c6bae6b101",
  "event_name": "MERCHANT_CUSTOMER_PORTED_UPI_NUMBER",
  "date_created": "2022-11-22T06:42:07Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "merchant_channel_id": "TESTAPP",
        "merchant_id": "TEST",
        "upi_app": "YES_BIZ"
      },
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "merchant_customer_id": "DEMO-CUST-1234",
      "gateway_webhook_payload": {
        "action": "PORTED_OUT",
        "customResponse": "{}",
        "customerMobileNumber": "917550277516",
        "gatewayTimestamp": "2021-11-08T15:15:08+05:30",
        "gatewayTransactionId": "TXNVGXVGDV21r521r53MAPPERdbhsbcs372",
        "merchantChannelId": "TESTAPP",
        "merchantCustomerId": "DEMO-CUST-1234",
        "merchantId": "TEST",
        "status": "SUCCESS",
        "type": "UPI_NUMBER_MAPPER",
        "upiNumber": "755027712",
        "vpa": "abcd@xyz"
      }
    }
  }
}
```

#### Swift Code Snippet:

```swift
{
  "id": "evt_V2_d21c51c4268d499e9ae935c6bae6b101",
  "event_name": "MERCHANT_CUSTOMER_PORTED_UPI_NUMBER",
  "date_created": "2022-11-22T06:42:07Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "merchant_channel_id": "TESTAPP",
        "merchant_id": "TEST",
        "upi_app": "YES_BIZ"
      },
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "merchant_customer_id": "DEMO-CUST-1234",
      "gateway_webhook_payload": {
        "action": "PORTED_OUT",
        "customResponse": "{}",
        "customerMobileNumber": "917550277516",
        "gatewayTimestamp": "2021-11-08T15:15:08+05:30",
        "gatewayTransactionId": "TXNVGXVGDV21r521r53MAPPERdbhsbcs372",
        "merchantChannelId": "TESTAPP",
        "merchantCustomerId": "DEMO-CUST-1234",
        "merchantId": "TEST",
        "status": "SUCCESS",
        "type": "UPI_NUMBER_MAPPER",
        "upiNumber": "755027712",
        "vpa": "abcd@xyz"
      }
    }
  }
}
```


## Sample Code Snippets:
### Callback:

#### Port UPI Number Code Snippet:

```port upi number
// block:start:outgoingUpdateMandateFromCustomer

{
  "id": "evt_V2_793089c9a7234c1080b8a1137a7a2be8",
  "event_name": "MERCHANT_CUSTOMER_OUTGOING_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:outgoingUpdateMandateFromCustomer

// block:start:outgoingPauseMandateFromCustomer

{
  "id": "evt_V2_99b99545a8ea471c9a33af80759b6502",
  "event_name": "MERCHANT_CUSTOMER_OUTGOING_MANDATE_PAUSED",
  "date_created": "2021-12-07T14:33:06Z",
  "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 paused",
      "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,
        "pause_start": "2019/09/17",
        "pause_end": "2019/09/19",
        "org_mandate_id": "BJJMsleiuryufhuhsoisdjfadb48003sdaa0",
        "mandate_type": "PAUSE",
        "mandate_timestamp": "2020-06-01T10:10:42Z",
        "mandate_name": "merchant mandate",
        "initiated_by": "PAYER",
        "gateway_mandate_id": "BJJ71f7d43bdf64d72d9saddfded",
        "block_fund": true
      },
      "amount": "100.00"
    }
  }
}

// block:end:outgoingPauseMandateFromCustomer

// block:start:incomingPrePaymentNotificationMandateForCustomer

{
  "id": "evt_V2_f20bfac484f4456486e5a1e0bbd85776",
  "event_name": "MERCHANT_CUSTOMER_INCOMING_PRE_PAYMENT_NOTIFICATION_MANDATE_RECEIVED",
  "date_created": "2021-12-10T13:18:38Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "merchant_id": "MERCHANT",
        "merchant_channel_id": "MERCHANTAPP"
      },
      "transaction": {
        "umn": "customervpa@bank",
        "seq_number": "1",
        "merchant_request_id": "TXN1234567",
        "gateway_response_status": "SUCCESS",
        "gateway_response_code": "00",
        "gateway_reference_id": "809323430413"
      },
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "merchant_customer_id": "DEMO_CUST-1234",
      "mandate": {
        "org_mandate_id": "BJJ0f018ee5b832468779cb4a53ea9bde",
        "next_execution": "2017-06-09T12:27:49Z",
        "gateway_mandate_id": "BJJ0f018ee5bc8b428fb979cb4a53ea9bde"
      },
      "amount": "9.00"
    }
  }
}

// block:end:incomingPrePaymentNotificationMandateForCustomer

// block:start:complaintRaised

{
  "event_name": "MERCHANT_CUSTOMER_COMPLAINT_RAISED",
  "content": {
    "merchant_customer": {
      "upi": {
        "payer_mobile_number": "9876543210",
        "upi_app": "YES_BIZ",
        "merchant_channel_id": "TESTAPP",
        "payer_vpa": "123454306@upi",
        "merchant_id": "TEST",
        "payee_vpa": "83746598743@upi"
      },
      "amount": "1.00",
      "payment_method": "UPI",
      "payment_method_type": "UPI",
      "gateway_webhook_payload": {
        "payer_mobile_number": "919988776655",
        "req_adj_code": "U010",
        "gateway_response_status": "SUCCESS",
        "transaction_amount": "1.00",
        "req_adj_flag": "PBRB",
        "gateway_response_message": "Complaint is Raised",
        "org_resp_code": "RR",
        "merchant_customer_id": "test-merchantcustomer-1",
        "original_transaction_timestamp": "2021-08-12T22:50:00+05:30",
        "gateway_response_code": "00",
        "merchant_channel_id": "TESTAPP",
        "payer_vpa": "123454306@upi",
        "crn": "302570532",
        "original_gateway_transaction_id": "AIX699393106f865d1a9467c59725789tgh",
        "gateway_complaint_id": "AIX699393106f865d1a9467c59725789tgh",
        "req_adj_amount": "0.50",
        "merchant_id": "TEST",
        "payee_vpa": "83746598743@upi",
        "type": "CUSTOMER_COMPLAINT_RAISED",
        "remarks": "Goods not received"
      },
      "complaint": {
        "adj_flag": "PBRB",
        "gateway_response_status": "SUCCESS",
        "transaction_amount": "1.00",
        "adj_code": "U010",
        "original_transaction_timestamp": "2021-08-12T17:20:00Z",
        "gateway_response_code": "00",
        "adj_amount": "0.50",
        "crn": "302570532",
        "original_gateway_transaction_id": "AIX699393106f865d1a9467c59725789tgh",
        "gateway_complaint_id": "AIX699393106f865d1a9467c59725789tgh"
      },
      "message": "Complaint is Raised",
      "remarks": "Goods not received"
    }
  },
  "id": "evt_V2_0342cf251aa9460ba6500e0b7fe9aef3",
  "date_created": "2023-02-09T10:17:56Z"
}

// block:end:complaintRaised

// block:start:complaintResolved

{
  "id": "evt_V2_5049b27bcc264930b45c8d25a398f665",
  "event_name": "MERCHANT_CUSTOMER_COMPLAINT_RESOLVED",
  "date_created": "2022-03-30T21:23:39Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "merchant_channel_id": "TESTAPP",
        "merchant_id": "TEST",
        "upi_app": "AXIS_BIZ",
        "payer_vpa": "123454306@axb",
        "payee_vpa": "83746598743@axb"
      },
      "remarks": "Goods not received",
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "message": "Complaint is Resolved",
      "merchant_customer_id": "test-merchantcustomer-1",
      "customer_mobile_number": "919988776655",
      "complaint": {
        "gateway_response_status": "SUCCESS",
        "gateway_complaint_id": "AIX699393106f865d1a9467c59725789tgh",
        "adj_code": "U010",
        "org_sett_resp_code": "RR",
        "custom_response": "{}",
        "original_transaction_timestamp": "2021-08-12T17:20:00Z",
        "adj_flag": "PBRB",
        "gateway_response_code": "00",
        "gateway_reference_id": "123456",
        "crn": "302570532",
        "transaction_amount": "1.00",
        "original_gateway_transaction_id": "AIX699393106f865d1a9467c59725789tgh",
        "adj_amount": "0.50",
        "curr_cycle": "Y"
      }
    }
  }
}

// block:end:complaintResolved

// block:start:bankAccountLinkedByCustomer

{
  "id": "evt_gsu1c0r7umcfrxeb",
  "date_created": "2021-05-05T10:42:25Z",
  "event_name": "MERCHANT_CUSTOMER_LINKED_BANK_ACCOUNT",
  "content": {
	"merchant_customer": {
            "payment_method_type" : "UPI",
            "payment_method" : "UPI",
            "merchant_id" : "Slice",
            "merchant_customer_id": "DEMO-CUST-1234",
            "customer_mobile_numer": "91xxxxxxxxxx",
            "upi" : {
             "upi_app" : "YES_BIZ",
             "bank_accounts" : [{
	         "masked_account_number" : "xxxxxxx123045678",
                "account_number" : "12345678921233",
                "ifsc_code": "HDFC012345",
                "upi_bank_account_reference_id": "Unique id",
                "bank_name": "HDFC",
                "bank_code": "HDFC",
                "juspay_bank_code": "JP_HDFC",
                "account_name": "Customer Name",
                "account_type": "SAVINGS"
            } ]
          }
        }
    }
}

// block:end:bankAccountLinkedByCustomer

// block:start:merchantCustomerPortedUpiNumber

{
  "id": "evt_V2_d21c51c4268d499e9ae935c6bae6b101",
  "event_name": "MERCHANT_CUSTOMER_PORTED_UPI_NUMBER",
  "date_created": "2022-11-22T06:42:07Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "merchant_channel_id": "TESTAPP",
        "merchant_id": "TEST",
        "upi_app": "YES_BIZ"
      },
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "merchant_customer_id": "DEMO-CUST-1234",
      "gateway_webhook_payload": {
        "action": "PORTED_OUT",
        "customResponse": "{}",
        "customerMobileNumber": "917550277516",
        "gatewayTimestamp": "2021-11-08T15:15:08+05:30",
        "gatewayTransactionId": "TXNVGXVGDV21r521r53MAPPERdbhsbcs372",
        "merchantChannelId": "TESTAPP",
        "merchantCustomerId": "DEMO-CUST-1234",
        "merchantId": "TEST",
        "status": "SUCCESS",
        "type": "UPI_NUMBER_MAPPER",
        "upiNumber": "755027712",
        "vpa": "abcd@xyz"
      }
    }
  }
}

// block:end:merchantCustomerPortedUpiNumber
```



---

## Complete Code Reference

The following code files are referenced in the steps above:

### InappCallbacks1.txt

```
// block:start:outgoingUpdateMandateFromCustomer

{
  "id": "evt_V2_793089c9a7234c1080b8a1137a7a2be8",
  "event_name": "MERCHANT_CUSTOMER_OUTGOING_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:outgoingUpdateMandateFromCustomer

// block:start:outgoingPauseMandateFromCustomer

{
  "id": "evt_V2_99b99545a8ea471c9a33af80759b6502",
  "event_name": "MERCHANT_CUSTOMER_OUTGOING_MANDATE_PAUSED",
  "date_created": "2021-12-07T14:33:06Z",
  "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 paused",
      "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,
        "pause_start": "2019/09/17",
        "pause_end": "2019/09/19",
        "org_mandate_id": "BJJMsleiuryufhuhsoisdjfadb48003sdaa0",
        "mandate_type": "PAUSE",
        "mandate_timestamp": "2020-06-01T10:10:42Z",
        "mandate_name": "merchant mandate",
        "initiated_by": "PAYER",
        "gateway_mandate_id": "BJJ71f7d43bdf64d72d9saddfded",
        "block_fund": true
      },
      "amount": "100.00"
    }
  }
}

// block:end:outgoingPauseMandateFromCustomer

// block:start:incomingPrePaymentNotificationMandateForCustomer

{
  "id": "evt_V2_f20bfac484f4456486e5a1e0bbd85776",
  "event_name": "MERCHANT_CUSTOMER_INCOMING_PRE_PAYMENT_NOTIFICATION_MANDATE_RECEIVED",
  "date_created": "2021-12-10T13:18:38Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "upi_app": "YES_BIZ",
        "merchant_id": "MERCHANT",
        "merchant_channel_id": "MERCHANTAPP"
      },
      "transaction": {
        "umn": "customervpa@bank",
        "seq_number": "1",
        "merchant_request_id": "TXN1234567",
        "gateway_response_status": "SUCCESS",
        "gateway_response_code": "00",
        "gateway_reference_id": "809323430413"
      },
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "merchant_customer_id": "DEMO_CUST-1234",
      "mandate": {
        "org_mandate_id": "BJJ0f018ee5b832468779cb4a53ea9bde",
        "next_execution": "2017-06-09T12:27:49Z",
        "gateway_mandate_id": "BJJ0f018ee5bc8b428fb979cb4a53ea9bde"
      },
      "amount": "9.00"
    }
  }
}

// block:end:incomingPrePaymentNotificationMandateForCustomer

// block:start:complaintRaised

{
  "event_name": "MERCHANT_CUSTOMER_COMPLAINT_RAISED",
  "content": {
    "merchant_customer": {
      "upi": {
        "payer_mobile_number": "9876543210",
        "upi_app": "YES_BIZ",
        "merchant_channel_id": "TESTAPP",
        "payer_vpa": "123454306@upi",
        "merchant_id": "TEST",
        "payee_vpa": "83746598743@upi"
      },
      "amount": "1.00",
      "payment_method": "UPI",
      "payment_method_type": "UPI",
      "gateway_webhook_payload": {
        "payer_mobile_number": "919988776655",
        "req_adj_code": "U010",
        "gateway_response_status": "SUCCESS",
        "transaction_amount": "1.00",
        "req_adj_flag": "PBRB",
        "gateway_response_message": "Complaint is Raised",
        "org_resp_code": "RR",
        "merchant_customer_id": "test-merchantcustomer-1",
        "original_transaction_timestamp": "2021-08-12T22:50:00+05:30",
        "gateway_response_code": "00",
        "merchant_channel_id": "TESTAPP",
        "payer_vpa": "123454306@upi",
        "crn": "302570532",
        "original_gateway_transaction_id": "AIX699393106f865d1a9467c59725789tgh",
        "gateway_complaint_id": "AIX699393106f865d1a9467c59725789tgh",
        "req_adj_amount": "0.50",
        "merchant_id": "TEST",
        "payee_vpa": "83746598743@upi",
        "type": "CUSTOMER_COMPLAINT_RAISED",
        "remarks": "Goods not received"
      },
      "complaint": {
        "adj_flag": "PBRB",
        "gateway_response_status": "SUCCESS",
        "transaction_amount": "1.00",
        "adj_code": "U010",
        "original_transaction_timestamp": "2021-08-12T17:20:00Z",
        "gateway_response_code": "00",
        "adj_amount": "0.50",
        "crn": "302570532",
        "original_gateway_transaction_id": "AIX699393106f865d1a9467c59725789tgh",
        "gateway_complaint_id": "AIX699393106f865d1a9467c59725789tgh"
      },
      "message": "Complaint is Raised",
      "remarks": "Goods not received"
    }
  },
  "id": "evt_V2_0342cf251aa9460ba6500e0b7fe9aef3",
  "date_created": "2023-02-09T10:17:56Z"
}

// block:end:complaintRaised

// block:start:complaintResolved

{
  "id": "evt_V2_5049b27bcc264930b45c8d25a398f665",
  "event_name": "MERCHANT_CUSTOMER_COMPLAINT_RESOLVED",
  "date_created": "2022-03-30T21:23:39Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "merchant_channel_id": "TESTAPP",
        "merchant_id": "TEST",
        "upi_app": "AXIS_BIZ",
        "payer_vpa": "123454306@axb",
        "payee_vpa": "83746598743@axb"
      },
      "remarks": "Goods not received",
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "message": "Complaint is Resolved",
      "merchant_customer_id": "test-merchantcustomer-1",
      "customer_mobile_number": "919988776655",
      "complaint": {
        "gateway_response_status": "SUCCESS",
        "gateway_complaint_id": "AIX699393106f865d1a9467c59725789tgh",
        "adj_code": "U010",
        "org_sett_resp_code": "RR",
        "custom_response": "{}",
        "original_transaction_timestamp": "2021-08-12T17:20:00Z",
        "adj_flag": "PBRB",
        "gateway_response_code": "00",
        "gateway_reference_id": "123456",
        "crn": "302570532",
        "transaction_amount": "1.00",
        "original_gateway_transaction_id": "AIX699393106f865d1a9467c59725789tgh",
        "adj_amount": "0.50",
        "curr_cycle": "Y"
      }
    }
  }
}

// block:end:complaintResolved

// block:start:bankAccountLinkedByCustomer

{
  "id": "evt_gsu1c0r7umcfrxeb",
  "date_created": "2021-05-05T10:42:25Z",
  "event_name": "MERCHANT_CUSTOMER_LINKED_BANK_ACCOUNT",
  "content": {
	"merchant_customer": {
            "payment_method_type" : "UPI",
            "payment_method" : "UPI",
            "merchant_id" : "Slice",
            "merchant_customer_id": "DEMO-CUST-1234",
            "customer_mobile_numer": "91xxxxxxxxxx",
            "upi" : {
             "upi_app" : "YES_BIZ",
             "bank_accounts" : [{
	         "masked_account_number" : "xxxxxxx123045678",
                "account_number" : "12345678921233",
                "ifsc_code": "HDFC012345",
                "upi_bank_account_reference_id": "Unique id",
                "bank_name": "HDFC",
                "bank_code": "HDFC",
                "juspay_bank_code": "JP_HDFC",
                "account_name": "Customer Name",
                "account_type": "SAVINGS"
            } ]
          }
        }
    }
}

// block:end:bankAccountLinkedByCustomer

// block:start:merchantCustomerPortedUpiNumber

{
  "id": "evt_V2_d21c51c4268d499e9ae935c6bae6b101",
  "event_name": "MERCHANT_CUSTOMER_PORTED_UPI_NUMBER",
  "date_created": "2022-11-22T06:42:07Z",
  "content": {
    "merchant_customer": {
      "upi": {
        "merchant_channel_id": "TESTAPP",
        "merchant_id": "TEST",
        "upi_app": "YES_BIZ"
      },
      "payment_method_type": "UPI",
      "payment_method": "UPI",
      "merchant_customer_id": "DEMO-CUST-1234",
      "gateway_webhook_payload": {
        "action": "PORTED_OUT",
        "customResponse": "{}",
        "customerMobileNumber": "917550277516",
        "gatewayTimestamp": "2021-11-08T15:15:08+05:30",
        "gatewayTransactionId": "TXNVGXVGDV21r521r53MAPPERdbhsbcs372",
        "merchantChannelId": "TESTAPP",
        "merchantCustomerId": "DEMO-CUST-1234",
        "merchantId": "TEST",
        "status": "SUCCESS",
        "type": "UPI_NUMBER_MAPPER",
        "upiNumber": "755027712",
        "vpa": "abcd@xyz"
      }
    }
  }
}

// block:end:merchantCustomerPortedUpiNumber
```


---

## See Also

- [Incoming Pre Payment Notification Mandate For Customer](https://juspay.io/in/docs/upi-tpap-sdk/android/callbacks/incoming-pre-payment-notification-mandate-for-customer)
- [Complaint Raised](https://juspay.io/in/docs/upi-tpap-sdk/android/callbacks/complaint-raised)
