Overview
This tutorial shows you how to verify the signature of incoming webhooks from the Issuing API using Java. This ensures that webhook requests are authentic and come from our servers.Complete Code
Here is the completeWebhookSignVerifier class:
Step 1: Paste the public key
ThepublicKeyPem variable contains the Issuing API Webhook public key. This is used to verify that webhook requests come from our servers.
Step 2: Get the signature from header
Getx-access-signature from the header of the webhook request and assign it to the signature variable.
Step 3: Get the webhook body in JSON string
Get the raw webhook request body as a JSON string and assign it to thewebhookBody variable.
Step 4: Run the main function
Run the verifier to check if the webhook signature is valid:true if the signature is valid, false otherwise.
Next Steps
- Learn more about Webhooks
- Explore Webhook Events
- See the Node.js version: Verify webhook signature with node.js

