curl --request POST \
--url https://sandbox.dollarpe.xyz/org/api/v1/organizations/api-webhooks \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'X-SIGNATURE: <api-key>' \
--header 'X-TIMESTAMP: <api-key>' \
--data '
{
"webhook_url": "www.testwh1fromapi.com/w1"
}
'{
"status": true,
"message": "Success",
"data": "www.testwh1fromapi.com/w1"
}Configure the webhook URL for receiving transaction status updates
curl --request POST \
--url https://sandbox.dollarpe.xyz/org/api/v1/organizations/api-webhooks \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'X-SIGNATURE: <api-key>' \
--header 'X-TIMESTAMP: <api-key>' \
--data '
{
"webhook_url": "www.testwh1fromapi.com/w1"
}
'{
"status": true,
"message": "Success",
"data": "www.testwh1fromapi.com/w1"
}| API Status Code | Response | Reason |
|---|---|---|
| 400 | Webhook URL is required | Webhook URL is required |
| 500 | Internal Server Error | Internal Server Error |
API Key for authentication
Current timestamp in seconds since epoch
HMAC SHA256 signature of the request encoded in Base64
The HTTPS URL where webhook events will be sent
"www.testwh1fromapi.com/w1"