Webhooks are server callbacks to your server from Cashfree Payments.
Webhooks are event-based notifications that are received when a specific event related to the reverse penny drop verification occurs. Read the article to add webhooks and verify signature.
Events
Find the different event types and its description below:
Event | Description |
---|---|
E_SIGN_VERIFICATION_SUCCESS | The e-sign verification is a success. |
E_SIGN_VERIFICATION_FAILURE | The e-sign verification is a failure. |
E_SIGN_VERIFICATION_EXPIRED | The e-sign verification request expired. |
Sample payload
Find the sample payload for the different webhook events of E-Sign:
{
"signature":"signature",
"event_type":"ESIGN_VERIFICATION_SUCCESS",
"event_time":"2023-07-19 10:46:16",
"version":"v1",
"data": {
"status": "SUCCESS",
"reference_id": 32,
"verification_id": "ABC00123",
"document_id": 36,
"signers": [
{
"name": "John Doe",
"status": "SUCCESS",
"is_notified": true
},
{
"name": "Frank Kelvin",
"status": "SUCCESS",
"is_notified": true
}
],
"signed_doc_url": "SIGNED_DOC_URL"
}
}
{
"signature":"signature",
"event_type":"ESIGN_VERIFICATION_FAILURE",
"event_time":"2023-07-19 10:46:16",
"version":"v1",
"data": {
"status": "FAILURE",
"reference_id": 32,
"verification_id": "ABC00123",
"document_id": 36,
"signers": [
{
"name": "John Doe",
"status": "SUCCESS",
"is_notified": true
},
{
"name": "Frank Kelvin",
"status": "FAILURE",
"is_notified": true
}
],
"signed_doc_url": "SIGNED_DOC_URL"
}
}
{
"signature":"signature",
"event_type":"ESIGN_VERIFICATION_EXPIRED",
"event_time":"2023-07-19 10:46:16",
"version":"v1",
"data": {
"status": "EXPIRED",
"reference_id": 32,
"verification_id": "ABC00123",
"document_id": 36,
"signers": [
{
"name": "John Doe",
"status": "EXPIRED",
"is_notified": true
},
{
"name": "Frank Kelvin",
"status": "RECEIVED",
"is_notified": true
}
],
"signed_doc_url": "SIGNED_DOC_URL"
}
}