1. Generate Secret
curl -X POST \ 'https://mpwa.godentopup.com/api/v1/webhook/secret' \ -H 'X-APIKEY: your_api_key'
Response
200 OK
{
"status": true,
"message": "Webhook secret generated...",
"data": {
"webhook_secret": "abc123..."
}
}
2. Set Callback URL
curl -X PUT \ 'https://mpwa.godentopup.com/api/v1/webhook' \ -H 'X-APIKEY: your_api_key' \ -H 'Content-Type: application/json' \ -d '{ "callback_url": "https://your.site/webhook", "webhook_enabled": true }'
3. Test Webhook
curl -X POST \ 'https://mpwa.godentopup.com/api/v1/webhook/test' \ -H 'X-APIKEY: your_api_key'