Capture Signature
Friday, July 21, 2023 at 03:09pmHello how are you?
would it be possible via API to call this screen to capture the signature?
I have an application that needs to send the documents, is it possible to add the documents and call an "iframe" of the OneSpan page, to select the signature position?
Reply to: Capture Signature
Friday, July 21, 2023 at 06:36pmHi Matheus,
Thanks for your post! This screen is so called Designer page in OneSpan Sign. You'd first retrieve a sender authentication token:
Java SDK
String senderAuthenticationToken = client.getAuthenticationTokensService().createSenderAuthenticationToken(packageId);
.NET SDK
string senderAuthenticationToken = client.AuthenticationTokenService.CreateSenderAuthenticationToken(packageId);
REST METHOD:
HTTP
Request POST /api/authenticationTokens/sender
HTTP Headers
Accept: application/json
Content-Type: application/json
Authorization: Basic api_key
Request Payload { "packageId": "e937fc75-3c3b-4506-b270-cc7e43f4cf78" }
Response Payload { "value": "MjY0MjQ4MzgtMTJlOS00MzhjLTgzODMtMzJmMGNiZTg3ODBl" }
Then build and embed the following URL:
{instance_url}/auth?senderAuthenticationToken={senderToken}&target={instance_url}/a/transaction/{packageId}/designer
Duo
Reply to: Capture Signature
Monday, July 24, 2023 at 03:08pmHello Duo Liang, thanks for the reply!!
I made the request, but when I implemented it on my page, it only displayed "Succesfully created transaction"
I needed to open the signature page, inside my page
Reply to: Capture Signature
Monday, July 24, 2023 at 03:09pmHello Duo Liang, thanks for the reply!!
I made the request, but when I implemented it on my page, it only displayed "Succesfully created transaction"
I needed to open the signature page, inside my page