baskar82 | Posts: 1

PHP Code to get e-signed person details

0 votes

I'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.

 


fleblanc | Posts: 13

Reply to: PHP Code to get e-signed person details

0 votes

In 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.


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