Webhook
Only Process Value on settled
You should only credit value to your end user when the webhook status is settled.
Intermediate statuses should not trigger value assignment. Treat only
settledas confirmation that funds are available and final.
🔐 Webhook Signature Verification
Each webhook request from Payceler includes a X-signature header. This is a HMAC-SHA256 hash of the payload, encoded with your secret key.
Steps to verify the webhook:
Extract the
X-signaturevalue from the header.Recompute the HMAC hash of the received body using your secret key.
Compare the computed hash with the received signature.
Process the webhook only if they match.
This protects your system from spoofed or tampered requests.
Last updated