Settlement Webhooks

The webhook will be sent if the settlement is Initiated, Processed and Attempt Failed.

anchor image
Copied !
{ "event" : "settlement.initiated", "payload": { "settlementId" : "abca-defa-kadi-dald", "state" : INITIATED, "utr" : "UTR100291", "amount" : 100, "merchantId" : "merchantId", "lastAttemptErrorCode": "", "lastAttemptErrorDescription" : "", "lastUpdatedAt" : 121211331 } }

Response Parameters

Parameter NameTypeDescription
eventStringThe Webhook event type.
Possible Values:
● settlement.initiated
● settlement.processed
● settlement.attempt.failed
payloadObjectThe settlement related details
payload.settlementIdStringSettlement Id generated by PhonePe
payload.stateStringCurrent State of the settlement
● INITIATED
● PROCESSED
● ATTEMPT_FAILED
payload.utrStringUTR reference of the settlement
payload.amountLongSettlement Amount
payload.merchantIdStringMID of the merchant for which the settlement is initiated.
payload.lastAttemptErrorCodeStringWill be present only if the state is ATTEMPT_FAILED.
– The Error Code for the failure
payload.lastAttemptErrorDescriptionStringWill be present only if the state is ATTEMPT_FAILED.
– The Error message for the failure
payload.lastUpdatedAtDateTimeEpoch Timestamp of the last status updated (in milliseconds)