Razorpay webhook (signature verified)
curl --request POST \
--url https://api.callaro.ai/api/v1/billing/razorpay-webhook \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.callaro.ai/api/v1/billing/razorpay-webhook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.callaro.ai/api/v1/billing/razorpay-webhook"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "<string>",
"error_code": "<string>",
"request_id": "<string>",
"details": {},
"errors": [
"<string>"
]
}Webhooks
Razorpay webhook (signature verified)
No JWT. Uses X-Razorpay-Signature header for verification.
POST
/
api
/
v1
/
billing
/
razorpay-webhook
Razorpay webhook (signature verified)
curl --request POST \
--url https://api.callaro.ai/api/v1/billing/razorpay-webhook \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.callaro.ai/api/v1/billing/razorpay-webhook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.callaro.ai/api/v1/billing/razorpay-webhook"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "<string>",
"error_code": "<string>",
"request_id": "<string>",
"details": {},
"errors": [
"<string>"
]
}Body
application/json
The body is of type object.
Response
OK
Was this page helpful?

