---
page_source: https://juspay.io/in/docs/upi-plugin-direct-psp/flutter/transaction-api-callbacks/incoming-money-to-merchant--pay
page_title: Incoming Money to Merchant - Pay
---


## **Incoming Money to Merchant - Pay** 



This callback is given to merchant when a customer pays for his order on merchant app using the sdk pay api.


| Parameter | Description |
|---|---|
| amount | Amount for the transaction. |
| autoUpdateNote optional | adjFlag and adjCode separated by "|" |
| customResponse | Stringified JSON parameter for future use. |
| gatewayPayerResponseCode optional | Response code returned by gateway |
| gatewayPayeeResponseCode optional | Response code returned by gateway |
| gatewayPayerReversalResponseCode optional | Response code returned by gateway |
| gatewayPayeeReversalResponseCode optional | Response code returned by gateway |
| gatewayReferenceId | Customer reference number (rrn) for the transaction. |
| gatewayResponseCode | Response code returned by gateway for the transaction. Refer below. |
| gatewayResponseMessage | Verbose response message returned by gateway for the transaction. |
| gatewayResponseStatus | Response status returned by gateway |
| gatewayTransactionId | UPI request id returned by gateway for the transaction. |
| merchantChannelId | Unique id for the channel via which request is made. |
| merchantId | Unique id for merchant. |
| merchantRequestId | Merchant generated request id as passed in the pay request. |
| payeeMcc | Merchant Category Code of the payee merchant. |
| payeeVpa | Vpa of the merchant who received the payment. |
| payerName | Name of the customer who sent the payment. |
| payerMerchantCustomerId (optional) | Merchant generated unique id for customer who sent the payment. Only if it is an onus transaction. |
| payerVpa | Vpa of the customer who sent the payment. |
| refUrl | Invoice as sent by merchant or reference to the transaction in the form of url. |
| riskScore (optional) | RiskScore shared by NPCI or Bank |
| transactionTimestamp | Timestamp of when the sdk pay was initiated. (YYYY-MM-DDTHH:MM:SS+05:30) |
| type | Event type of the callback - MERCHANT_CREDITED_VIA_PAY. |
| subMerchantId optional | Unique id for the channel via which request is made. Only if present as a subMerchant. |
| udfParameters optional | Udf parameters as passed in the pay request. |




## Sample Code Snippets:
### Callback:

#### Parameters:
```json
{"success":false,"message":"No Data found for the given path"}
```

