Razorpay Inbound Webhook
This API receives the webhook from Razorpay and updates the payment and refund transactions.
Request Body required
- processed
- failed
- captured
- failed
- card
- upi
- netbanking
- wallet
- card
- upi
- netbanking
- wallet
Possible values: [refund.failed
, refund.processed
, payment.captured
, payment.failed
]
payload object required
refund object nullable
notes object
acquirer_data object required
notes object
acquirer_data object required
Possible values: [bank
, gateway
, issuer
]
payment object required
card object required
acquirer_data object required
Possible values: Value must match regular expression ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$
upi object required
Possible values: Value must match regular expression ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$
acquirer_data object required
acquirer_data object required
acquirer_data object required
card object required
acquirer_data object required
Possible values: Value must match regular expression ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$
upi object required
Possible values: Value must match regular expression ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$
acquirer_data object required
acquirer_data object required
acquirer_data object required
Possible values: [bank
, gateway
, issuer
]
- 200
- 4XX
- 5XX
Razorpay webhook received and processed successfully
Razorpay webhook received and not processed successfully, the response will be as below
Schema
The HTTP error status
The message from the server explaining the error
error object
The HTTP error status
The message from the server explaining the error
This is the http status code
The transaction status
error object
The transaction status
The message from the server explaining the error
{}
When there is a problem on the server, the response will be as below
Schema
The HTTP error status
The message from the server explaining the error
{
"status": 500,
"error": "HTTP 500: Internal Server Error"
}