Rest API to draw signature
Wednesday, July 31, 2019 at 12:18amHi Team,
Could you help me with API/JSON format to draw on a signature field .
Appreciate your help.
Thanks,
Ramki
OneSpan Introduces DigipassONE, Bringing a Unified Platform Approach to Authentication Modernization
A new authentication platform helps financial institutions support diverse customer authentication preferences while modernizing at their own pace Learn More
Reply to: Rest API to draw signature
Wednesday, July 31, 2019 at 06:55am{ "role": "Signer1", "id": "signature1", "fields": [ { "type": "SIGNATURE", "subtype": "CAPTURE", "height": 37, "left": 211, "top": 140, "width": 165, "page": 0 } ] }As you can see, Capture Signature is with a subtype of "CAPTURE", this is how it's different from other signature types. Hope this could help! DuoReply to: Rest API to draw signature
Wednesday, July 31, 2019 at 05:42pmReply to: Rest API to draw signature
Thursday, August 1, 2019 at 02:05am{ "status": "DRAFT", "roles": [ { "id": "Sender1", "type": "SIGNER", "signers": [ { "id": "Sender1", "firstName": "Ramki", "lastName": "SV", "email": "[email protected]" } ] } ], "documents": [ { "id": "contract", "extract": true, "fields": [ { "value": "Ramki", "name": "first_name" }, { "value": "SV", "name": "last_name" }, { "value": "Abbot street", "name": "address" }, { "value": "sydney", "name": "city" }, { "value": "2120", "name": "zip" }, { "value": "NSW", "name": "state" }, { "value": "AUSTRALIA", "name": "country" }, { "value": "4101412331", "name": "phone_number" }, { "value": "[email protected]", "name": "email" }, { "value": "KRMICT", "name": "company" }, { "value": "234", "name": "policy_number" } ], "name": "Sample Contract", "approvals": [ { "fields": [ { "type": "SIGNATURE", "subtype": "CAPTURE", "height": 37, "left": 211, "top": 140, "width": 165, "page": 0 } ], "role": "Sender1", "id": "signature1" } ] } ], "type": "PACKAGE", "name": "Sample" }Only few points to notice: 1. "role" field in "approvals" node should map with role Id, which is "Sender1" in your case. 2."approvals" node should be host under the "documents" node. Our new API Specification site is up here, for your reference. Duo