Send a test event
curl --request POST \
--url https://examples.staging.rampapay.com/v1/webhooks/{id}/test \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://examples.staging.rampapay.com/v1/webhooks/{id}/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://examples.staging.rampapay.com/v1/webhooks/{id}/test"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"event_id": "5b0c2f7e-8d4a-4c1b-9e3f-2a6d8c4b1e07",
"delivered": true,
"response_status": 200,
"error": null
}Webhooks
Send a test event
Scope: webhooks:manage
Sends one webhook.test event to the endpoint now, signed like any other, and answers how it went: delivered and the response_status your endpoint gave, or error TIMEOUT / UNREACHABLE. Works on a paused endpoint, to check a fix before reactivating. Never retried, and never counted as a failure. Try it on this page sends nothing.
POST
/
webhooks
/
{id}
/
test
Send a test event
curl --request POST \
--url https://examples.staging.rampapay.com/v1/webhooks/{id}/test \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://examples.staging.rampapay.com/v1/webhooks/{id}/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://examples.staging.rampapay.com/v1/webhooks/{id}/test"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"event_id": "5b0c2f7e-8d4a-4c1b-9e3f-2a6d8c4b1e07",
"delivered": true,
"response_status": 200,
"error": null
}