Document Signing
The document signing SDK allows you to complete signing processes that require verification of the signer's identity. This integration combines authentication mechanisms such as OTP, biometrics, or document validation with the execution of electronic signatures depending on the use case.
The signature process validations are configured at the time of process creation, so they cannot be modified or overridden during SDK integration.
Integration Example
For the integration, it is necessary to have an <iframe id='iframeId'>
element where the SDK will be rendered, and the AucoSDK function must be provided with the ID of this element.
Follow the link to see the reference of the events required for an SDK integration: 👉🏻 Events
import { AucoSDK } from 'auco-sdk-integration';
const unsubscribe = AucoSDK({
iframeId: 'iframeId',
sdkType: 'sign',
language: 'es', // Accepted languages 'es' | 'en'
events: {
onSDKReady,
onSDKClose,
},
sdkData: {
document: 'WO0J4L3YWBWE', // Process code pending signature
signFlow: 'document',
uxOptions: {
primaryColor: '#021c30',
alternateColor: '#a557f2',
},
},
env: process.env.PUBLIC_ENVIRONMENT === 'dev' ? 'DEV' : 'PROD',
});
Each signer has a 2-character ID that identifies them. In the integration, the document code must be specified concatenated with this ID as follows:
- Document code: WO0J4L3YWB
- Signer ID: WE
- Integration code: WO0J4L3YWBWE