alejandrito | Posts: 4

Test callbacks on local

0 votes

The Creating a Callback Notification Listener guide says I have put a callback URL. Is there a way to test the integration of Event callbacks in a local environment?


Duo_Liang | Posts: 3776

Reply to: Test callbacks on local

0 votes

Hi alejandrito,

 

Thanks for your post! You can use an HTTP client, like Postman or cURL, and invoke a POST call with below payload hitting your callback URL in order to stimulate when an event of interest get triggered:

{
  "@class": "com.silanis.esl.packages.event.ESLProcessEvent",
  "name": "PACKAGE_COMPLETE",
  "sessionUser": "0787be84-f095-44c7-ba00-787093df86fc",
  "packageId": "KHiRfOXgKK0gpVWwwpFOSNy6o34=",
  "message": null,
  "documentId": null
}

This is the same behavior when a relevant event get triggered and OneSpan Sign server sends an HTTP POST call to your registered URL. Also, you can find more sample payloads of different events in this guide.

 

Duo


alejandrito | Posts: 4

Reply to: Test callbacks on local

0 votes

Thank you so much!


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off