abhijit_davray

Transaction deactivated

0 votes
Hi, There is a callback event called Transaction deactivated. Is there a REST API which when called will trigger this event. If this is possible then is there a REST API which can active the it back. I wanted the package to go in a state where Signatory will not able to sign for some duration till it is activated back. Thanks, Abhijit

Approved Answer

Reply to: Transaction deactivated

0 votes
Hi Abhijit, As per our documentation: http://docs.esignlive.com/content/c_integrator_s_guide/sdk/i_reports_and_logging/event_notifications.htm The "transaction deactivated" event is triggered when the package status changes from SENT to DRAFT, which only you (your application) has control over. Therefore, if you want to deactivate the package, all you need to do is to change the package status to draft: https://developer.esignlive.com/guides/feature-guides/modify-status-of-a-package/#rest-api And finally, if you want to resend your package (i.e. activate your package), you need to do:
POST https://sandbox.esignlive.com/api/packages/{packageId}
{
    "status": "SENT"
}
Hope this helps!
Haris Haidary OneSpan Technical Consultant

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