Signing (v1)
This is the current stable version of this step type.
Electronic signing with legally recognized assurance levels.
Enables real‑time electronic signature issuance using verified identity data already available at the time of signing.
This step is designed for flows where AML‑compliant identity data has already been verified and can be provided to IDnow instantly — either by the customer’s system or through a reusable identity scheme. It uses that data, along with the document metadata and the document itself, to issue a signature immediately without initiating a new identity verification.
This step supports both Qualified Electronic Signatures (QES) and Advanced Electronic Signatures (AES) in accordance with eIDAS and AML requirements. Because all required inputs are accessible in real time, this step executes instantly and provides an optimal balance between compliance and user experience — ideal for trusted, high‑speed processes such as digital agreements, account management, or in‑platform signing flows.
Key features
Real‑time execution – Issues signatures instantly using available verified identity data.
Supports QES and AES – Fully compliant with eIDAS signature levels.
Reusable identity integration – Leverages AML‑verified identities or reusable identity schemes.
Phone number handling – Set signWithOtpSms to true to declare an OTP-SMS-verified signature: the signer's phone number (E.164) is taken from the UserContact data block, which becomes mandatory, and forwarded to the provider, which delivers the SMS one-time password and locks it to that number. Use this when the provider prevents the signer from entering or changing their number. When false, no number is forwarded and the signer enters it during the signature process.
Low friction – No need for the user to repeat verification during signing.
Ideal for trusted environments – Optimized for users and transactions with pre‑established trust.
QES (Qualified Electronic Signature): The highest level of assurance. Under eIDAS, a QES has the equivalent legal effect of a handwritten signature. It requires strict, verified identification of the signer before the signature is created.
AES (Advanced Electronic Signature): A secure digital signature that is uniquely linked to the signer. Unlike QES, it does not require the strict, regulated identity-proofing process (such as a face-to-face or equivalent ID document check) mandated before signing. It is therefore widely used for many types of agreements and contracts.
Configuration
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
signingConfiguration | object | Yes | — | A container for parameters that define the signature process. |
signingConfiguration.signatureLevel | string | Yes | — | Signature level: AES (Advanced Electronic Signature) or QES (Qualified Electronic Signature). The selected level must be enabled and configured for the customer's account within the InstantSign provider. A mismatch between the flow definition and the provider's configuration may lead to a runtime error. Accepted values: AES, QES. |
signingConfiguration.signWithOtpSms | boolean | No | false | When true, the signature is verified by an SMS one-time password: the userContact input becomes mandatory and its phoneNumber is forwarded to the provider, which delivers and locks the OTP. When false, no phone number is forwarded — the signer enters it during the signature process. OTP-SMS signing must be configured on the chosen shortname. |
config | object | Yes | — | Environment-specific configuration for the InstantSign provider. |
config.live.shortname | string | Yes | — | The InstantSign provider shortname for the environment (live or staging). Provided by IDnow during onboarding. (live) |
config.staging.shortname | string | Yes | — | The InstantSign provider shortname for the environment (live or staging). Provided by IDnow during onboarding. (staging) |
enableRetry | boolean | No | false | When true, adds a retry output route that can be used to handle user cancellations. |
Example configuration
AES mode
{
"signingConfiguration": {
"signatureLevel": "AES"
},
"config": {
"live": { "shortname": "your-live-shortname" },
"staging": { "shortname": "your-staging-shortname" }
}
}
QES mode
{
"signingConfiguration": {
"signatureLevel": "QES"
},
"config": {
"live": { "shortname": "your-live-shortname" },
"staging": { "shortname": "your-staging-shortname" }
}
}
OTP-SMS verified signature
{
"signingConfiguration": {
"signatureLevel": "AES",
"signWithOtpSms": true
},
"config": {
"live": { "shortname": "your-live-shortname" },
"staging": { "shortname": "your-staging-shortname" }
}
}
When signWithOtpSms is true, the UserContact data block becomes mandatory: its phoneNumber is forwarded to the signature provider, which delivers and locks the SMS one-time password on that number. When the option is false, no phone number is forwarded.
Input data blocks
Input requirements for this step
| Data block | Required | Description |
|---|---|---|
DocumentsToSign | Yes | Contains the references to the documents uploaded by the customers that the end-user must sign. The signature should be applied according to the template referenced in the data block and defined in the InstantSign configuration. |
BasicIdentity | Yes | Provides the signer's fundamental identity information (e.g., name, date of birth), which is essential for any signature level. |
UserContact | Conditional | Provides the signer's phone number (phoneNumber, in E.164 format). It is forwarded to the signature provider only when signingConfiguration.signWithOtpSms is true, in which case a phoneNumber is mandatory and the provider delivers and locks the SMS one-time password on that number. When signWithOtpSms is false the number is not sent — mapping or providing this block has no effect and the signer enters their number during the signature process. Required only when signingConfiguration.signWithOtpSms is true. |
DocumentData | Conditional | Provides the identity document information of the signer. The following fields are mandatory for QES: documentNumber, documentType, issuingCountry, expiryDate, and issuanceDate. The expiryDate is also used to pre-validate that the document has not expired before initiating the signature process. Present only when signingConfiguration.signatureLevel is QES. |
Each file referenced in DocumentsToSign must not exceed 20 MB.
Routes
| Route | Description |
|---|---|
success | The signature process completed successfully. All mandatory documents have been signed, and any optional documents have been either signed or skipped by the user. The produced SignedDocumentsPackage contains the signatureProcessId (transaction identifier) and vault references to the archive containing all signed documents. |
identity_expired | The process was aborted before initiating the signature process. A pre-check determined that the signer's identity document has expired, based on the expiryDate from the input DocumentData. |
failure | The signature process was initiated but did not complete successfully due to a handled error or a specific business rejection. This includes any InstantSign status that is not SUCCESS, such as FAILED, CANCELED, FRAUD_SUSPICION_CONFIRMED, or SUCCESS_DATA_CHANGED. Note: if the user explicitly cancels the process (ABORTED status), a session abort is triggered instead of this verdict. |
retry | Available only when enableRetry is true. The user cancelled the signature process or the signature failed with a rollback-eligible status, and the flow is configured to allow them to retry rather than triggering a session abort. |
Output data blocks
| Route | Data blocks produced |
|---|---|
success | SignedDocumentsPackage |
identity_expired | — |
failure | — |
retry | — Available only when enableRetry is true. |
Example payloads
SignedDocumentsPackage — success
{
"signatureProcessId": "txn-8f3a2c1e-4d7b-4e9f-a012-3b5c6d7e8f90",
"signedDocuments": {
"mode": "both",
"archive": {
"$ref": "vault",
"$id": "01900000-a3f1-7c4e-9b8d-2e6f1a9c4d70"
},
"documents": [
{
"templateId": "contract-template-v2",
"signed": {
"$ref": "vault",
"$id": "01900000-b7e2-4d9a-8f3c-5c1e7a2b9f31"
}
}
]
},
"createdAt": "2026-02-10T14:00:01.000Z"
}