curl --location 'https://stageapi.partake.ng/api/v2/payments/webhook/paystack' \
--header 'x-paystack-signature: <hmac-sha512-of-raw-body>' \
--header 'Content-Type: application/json' \
--data '{
"event": "charge.success",
"data": {
"reference": "PAY_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "success",
"amount": 150000,
"currency": "NGN"
}
}'{
"success": false,
"error": {
"code": "WEBHOOK_SIGNATURE_INVALID",
"message": "Invalid Paystack webhook signature.",
"details": {}
},
"statusCode": 401
}