List Webhooks
List all configured webhooks.
Endpoint
GET /v1/webhooksAuthentication
Header
Value
Query parameters
Parameter
Type
Required
Description
Example request
curl -X GET "https://ramp-api.ivorypay.io/api/v1/webhooks?environment=LIVE" \
-H "x-api-key: your_api_key"const params = new URLSearchParams({
environment: "LIVE",
});
const response = await fetch(`https://ramp-api.ivorypay.io/api/v1/webhooks?${params}`, {
method: "GET",
headers: {
"x-api-key": "your_api_key",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.get(
"https://ramp-api.ivorypay.io/api/v1/webhooks",
headers={
"x-api-key": "your_api_key",
},
params={
"environment": "LIVE",
},
)
print(response.json())Example response
{
"statusCode": 200,
"success": true,
"message": "Query successful",
"data": [
{
"id": "wh-uuid-1",
"url": "https://yourapp.com/webhooks/ivorypay",
"environment": "LIVE",
"events": ["onramp.success", "offramp.success", "buy.success", "sell.success"],
"createdAt": "2026-03-26T12:00:00.000Z"
}
]
}Last updated