PHP Code to get e-signed person details
Wednesday, June 24, 2020 at 09:12amI've been looking for the PHP snippet to get e-signed person details. I found the below help from OneSpan documentation section.
https://www.onespan.com/blog/onespan-sign-how-using-auditservice
But i didn't find php code. If you could provide me direction to fetch e-singed package audit info using PHP code.
Reply to: PHP Code to get e-signed person details
Wednesday, June 24, 2020 at 12:39pmIn order to get audit data from a transaction, you need to issue a GET request to https://{onespansign}/api/packages/{packageId}/audit
For instance, GET https://sandbox.esignlive.com/api/packages/KpbteuYB0jQoRrFOp1ugyOcpYCI=/audit
Don't forget to include your API key in the appropriate header, e.g.
Authorization: Basic {your_api_key_here}
You should get back a JSON payload.
I am assuming you are familiar with PHP and issuing RESTful calls in PHP however please reply if you are hitting any issue.