Skip to content

Instantly share code, notes, and snippets.

@chiragchamoli
Created July 25, 2018 13:01
Show Gist options
  • Save chiragchamoli/dba8c96d47e8997d5d5ece64dc1fa149 to your computer and use it in GitHub Desktop.
Save chiragchamoli/dba8c96d47e8997d5d5ece64dc1fa149 to your computer and use it in GitHub Desktop.
razorpay.webhook.sample.json
{
"event": "payment.authorized",
"entity": "event",
"contains": [
"payment"
],
"payload": {
"payment": {
"entity": {
"id": "pay_6X6jcHoHdRdy79",
"entity": "payment",
"amount": 50000,
"currency": "INR",
"status": "authorized", // for payments that have failed, the status would be "failed".
"amount_refunded": 0,
"refund_status": null,
"method": "card",
"order_id": "order_6X4mcHoSXRdy79",
"card_id": "card_6GfX4mcIAdsfDQ",
"bank": null,
"captured": true,
"email": "gaurav.kumar@example.com",
"contact": "9123456780",
"description": "Payment Description",
"error_code": null,
"error_description": null,
"fee": 200,
"service_tax": 10,
"international": false,
"notes": {
"reference_no": "848493"
},
"vpa": null,
"wallet": null
}
},
"created_at": 1400826760
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment