Skip to main content

Creating Orders

This central method is used to create any kind of new order for identifications and/or qualified electronic signatures for natural persons.

Special considerations for eSigning

Signature Type

You can choose between using AES (Advanced Electronic Signature) or QES (Qualified Electronic Signature) when creating an order to sign documents. When creating orders, QES will be used by default.

To be able to use AES for signing, you need to go through a special on-boarding process in which a special seal will be created that will later be used to create AES'. Please contact IDnow for that.

Multi-Signing

When requesting multiple parties to sign a document, please make sure, that each person uses a distinct mobile number. If the phone number is shared among two or more parties, the signing process will fail predictably.

Please also inform your customers about that restriction.

Requirements

The requested products must be associated with and enabled on your account by IDnow.

Method and URL

[PUT] https://customer.identity.tm/api/2.10/putOrder

JSON Request Body

ElementParentTypeLenReqDescription
Ref[ROOT]S100NYour internal reference number to the order. This field can be used to associate the order with an ID in your system and has no meaning for IDnow except in the case of a Testrobot (see Additional Functions).
Product[ROOT]NYSpecifies the product you want to use.

12 Identification via any of the enabled methods including Video, but excluding autoID
13 eID – Online-Ausweisfunktion (eID PIN, available for German documents only)
15 eSign
16 Identification via autoID
17 Mobile phone number verification
19 Reader
Add[ROOT]NYSpecifies additional product behaviors. 0 will be the correct choice in most cases.

0 Normal behavior
1 eID: only request eidRestrictedIdentifier
4 eSign Order
128 Use AES instead of QES for eSign
256 Use SES instead of QES for eSign
512 Click to Sign per signature box (SES only)
1024 Click to Sign with single button, no signature boxes shown (SES only)
4096 License Check (with ID)
8192 License Check (without ID)
131072 Record Video
4194304 PoS eSign service
8388608 PoS identification service
Lang[ROOT]S2NLanguage hint for video system, has no effect on web or app flow.

Use ISO 639-1 language codes.
eIDSettings[ROOT]ONSettings for eID, no effect if user selects different method
VerifyMobileNumbereIDSettingsBNEnables mobile phone number verification
EnableOCReIDSettingsBNEnables OCR to gather document number, issuing authority and date of issue of identification document.
CaptureImageseIDSettingsBNCapture images of the legitimation document; if EnableOCR is set, images will always be taken
NoVideoFallbackeIDSettingsBNIf eID fails, no fallback to Video will be offered.
DisableEIDeIDSettingsBNDisable eID
getTargetLink[ROOT]BNSet to true to get the TargetURL in response (otherwise only the user will be informed via e-mail)
getVideoHashes[ROOT]BNSet to true to get the video system hash in the response if Product is 12 or 15.
getDeepLink[ROOT]BNIf set to true, a deeplink for mobile application will be part of the response
RedirectURL[ROOT]ON
SuccessRedirectURLS150NRedirect to URL after success
AbortRedirectURLS150NRedirect to URL after failure
WebhookURL[ROOT]ON
AfterVideoWebhookURLS250NWebhook to trigger when the user leaves the video system. Cannot be used together with AfterIdent. Ident data will not necessarily be ready when triggered.
AfterIdentWebhookURLS250NWebhook to trigger when the identification has been conducted. Cannot be used together with AfterVideo. Ident data will not necessarily be ready when triggered.
OnFinalWebhookURLS250NWebhook to trigger when the order has been finally processed
OnErrorWebhookURLS250NWebhook to trigger when a partner is unable to process an order (does not apply to video)
OnVideoErrorWebhookURLS250NWebhook to trigger when a temporary error occurs while performing a video identification
OnStatusChangeWebhookURLS250NSpecial webhook to trigger on when order reaches a specific status (configurable on account level)
Phone[ROOT]PN50NPhone number of your customer
Mobile[ROOT]PN50NMobile number of your customer
Email[ROOT]S50YEmail address of your customer
Address[ROOT]OYMandatory if user is allowed to use product Shop
FirstnameAddressS50YPhysical Address data of your customer (Contact / Location)
SurnameAddressS50Y
CompanyNameAddressS50N
StreetAddressS50N
ZipCodeAddressS5N
CityAddressS100N
CountryAddressS3YThe ISO-Code of the country (ISO 3166) e.g. DE, AT, NL
IdentData[ROOT]ONThe fields you provide, will be checked. Empty fields will be picked if possible.
FirstnameIdentDataS50DepPlease give us notice if you plan to omit any of these fields.
SurnameIdentDataS50Dep
StreetIdentDataS100Dep
ZipCodeIdentDataS5Dep
CityIdentDataS100Dep
CountryIdentDataS2DepThe ISO-Code of the country (ISO 3166) e.g. DE, AT, NL
BirthdateIdentDataDSDepDate of birth
BirthplaceIdentDataS100DepPlace of birth
BirthnameIdentDataS75NSurname at birth. Will only be determined if field is neither null nor omitted
NationalityIdentDataS50DepNationality
TitleIdentDataS50DepTitle
ArtistnameIdentDataS50DepArtist name/alias
GenderIdentDataSDepfemale/male/diverse
EmailIdentDataS50NEmail address of your customer
MobileIdentDataPN50NMobile number of your customer
CollectedByIdentDataS255DepIdentifier who carried out the identification, PoS eSign Service only
IDCardIdentDataONoData about the ID document
CardNoIDCardS50DepID document number
PlaceOfIssueIDCardS100DepID document place of issue
DateOfIssueIDCardDSDepID document date of issue
CountryOfIssueIDCardS3DepThe ISO-Code of the issuing country (ISO 3166) e.g., DE, AT, NL
ValidUntilIDCardDSDepID document valid until
ImagesIDCardODep
FrontImagesSDepBase64 encoded JPEG image of the front side of ID Card
BackImagesSDepBase64 encoded JPEG image of the front side of ID Card
DriverLicenceIdentDataODepIf Driver's License Check with Add 4096 and/or 8192, provide data if available
LicenceNoDriverLicenceS50Dep
ClassesDriverLicenceS50Dep
CountryOfIssueDriverLicenceS3DepThe ISO-Code of the issuing country (ISO 3166) e.g., DE, AT, NL
DateOfIssueDriverLicenceDSDepDate of issue
ValidUntilDriverLicenceDSDepDate until the license is valid
AdditionalIdentDataONIf you need special attributes, you can add here for Shop up to 2, Video up to 10 items. <detail> can have a length of 50
<detail>AdditionalON
Type<detail>NYData type of the field. Required for additional fields.

1 String
2 Date
3 Boolean
4 Country code according to ISO 3166
Label<detail>S100YReadable label for the element
Value<detail>S150NInitial field value
LegitimationDocument[ROOT]ANIndividual legitimation documents in case defaults are not sufficient
DocumentLegitimationDocumentA50The readable description shown to the agent / employee processing the order
eSignPDF[ROOT]O/ANDocument(s) designated for signing, use array for multiple documents.
DataeSignPDFSNBase64 encoded PDF (PDF must be unprotected). Supported PDF versions: 1.3 to 1.7 and 2.0
FilenameeSignPDFS50NFilename
SignaturePosXeSignPDFNNThe units are PDF Points equivalent to 1/72 inch. The lower/left corner of the document is the origin X=0 and Y=0. Position and field name cannot be used at the same time.
SignaturePosYeSignPDFNN
SignatureHeighteSignPDFNNOnly applicable if SignaturePos is also set. The units are PDF Points equivalent to 1/72 inch.
SignatureWidtheSignPDFNN
SignaturePageeSignPDFNNPage to place the signature on
SignatureFieldNameeSignPDFSNUse the given predefined signature field in the PDF. Position and field name cannot be used at the same time.
SignatureTageSignPDFSNA tag (text), that is used to define the position of the signature (alterative to X/Y coordinates). It must only apear once in the document, otherwise an error will be returned.
SignatureOffsetPosXeSignPDFINCan be used with SignatureTag
SignatureOffsetPosYeSignPDFINCan be used with SignatureTag
StampingeSignPDFANArray of objects, used to place additional stamps on the document.

This feature is only available when using Namirial TSP.
PageStampingNDepPage to place stamp on. Default is 1.
PosXStampingNDepPosition of the stamp on the page. The units are PDF Points equivalent to 1/72 inch. Default is 100;100.
PosYStampingNDep
TagStampingSNA tag (text), that is used to define the position of stamps (alterative to X/Y coordinates). Stamp will be placed at each occurrence of matching text in the document.
OffsetPosXeSignPDFINCan be used with Tag
OffsetPosYeSignPDFINCan be used with Tag
WidthStampingNNSize of the stamp. The units are PDF Points equivalent to 1/72 inch. Default is 200;60.
HeightStampingNN
ContentStampingS500DepString content of the stamp, available placeholders are:

[DATE] Date of signature
[TIME] Time of signature
[DT] Date and time of signature
[SIGNEE] Name of signee
eSignHash[ROOT]O/AN
HasheSignHashSNBase64 Hash of prepared PDF
FilenameeSignHashS50NFilename
eSignOptions[ROOT]O
AdditionalCheckboxeseSignOptionsA300Text for Checkboxes in the esign workflow that must be checked before signing is possible (Array of String(s))
MultiSignOptions[ROOT]ON
FirstOrderIDMultiSignOptionsS14To reference an eSign order to the master. Contract from first Order will be signed by each.
SignParametersMultiSignOptionsO/ANSignature parameters for file(s) given with the first order
FilenameSignParametersS50NFilename given with first order
SignaturePosXSignParametersNNThe units are PDF Points equivalent to 1/72 inch. The lower/left corner of the document is the origin X=0 and Y=0. Default is 100;100.
SignaturePosYSignParametersNN
SignatureWidthSignParametersNNOnly applicable if SignaturePos is also set. The units are PDF Points equivalent to 1/72 inch.

Default is 200;60.
SignatureHeightSignParametersNN
SignaturePageSignParametersNNPage to place the signature on. Default is 1.
SignatureFieldNameSignParametersSNUse the given predefined signature field in the PDF
IdentDataSigned[ROOT]SNPreviously generated identification data for signing purposes
EmailNotifications[ROOT]ONSend final processing mails, overrides customer settings
OnPositiveIdentEmailNotificationsS150NSend a mail to this address in case of a final positive status
OnNegativeIdentEmailNotificationsS150NSend a mail to this address in case of a final negative status
OnTimeOutEmailNotificationsS150NSend a mail to this address in case of a final timeout status
OnLeaveEmailNotificationsS150NSend a mail to this address in case the user leaves the identification process
Purpose[ROOT]S/O150NPurpose of the identification that will be reported in the app to the end user.

If a string is given here, it will be used for every language. In case language dependent strings are required, provide an object here and see the next line.
<lang>PurposeS150NThe key (<lang>) must be an ISO 3166-1 Alpha-2 language code, the value is the desired purpose text
eSignTanSmsText[ROOT]SNeSign TAN Text, only for eSign orders. Use [TAN] as a placeholder for the TAN.
verificationSmsText[ROOT]SNMobile number verification SMS text. Use [TAN] as a placeholder for the TAN.
CustomerRouteTag[ROOT]S250DepUsed to route orders to other preconfigured account(s), for example for invoicing purposes.
Autotest[ROOT]S50NUsed to activate testrobot flow (see Additional Functions).

Response Data

ElementParentTypeLenOccDescription
OrderID[ROOT]S20YOur internal ID of the Order, always unique
Ref[ROOT]S100YYour internal ID of the Order, can be set multiple times
TargetURL[ROOT]S100DepURL to redirect your customer
DeepLinkURL[ROOT]S100DepApp DeepLink URL
AutoIdURL[ROOT]S100DepURL to autoID Web
SignedDataAccepted[ROOT]BDepIn case signed ident data has been provided, this flag will indicate if the data has been accepted
VideoHashes[ROOT]ODepVideo system reference data
ShortCodeVideoHashesS5DepReference number to start Video identification in identity App on iOS/Android
LongCodeVideoHashesS20DepReference number for identity Video SDK
UserID[ROOT]NDepID used for Shop user login, only provided in case this is an agent onboarding order
UserToken[ROOT]S32DepToken used for Shop user login, only provided in case this is an agent onboarding order
Error[ROOT]SDepError message in case an error occurred

HTTP Codes

202 Order accepted, JSON document in body

400 Bad request, error description in body

401 Authentication failed, please check username and password

Example Request

{
"Ref": "Sign-me_Account_Creation_Test",
"Product": 15,
"Add": 8,
"getTargetLink": true,
"getDeepLink": true,
"getVideoHashes": true,
"WebhookURL": {
"OnFinal": "https://webhook.site/1234567_890?OnFinal=%5BOrderID%5D"
},
"RedirectURL": {
"Success": "https://www.example.com/redirect/positive?OrderID=[OrderID]",
"Abort": "https://www.example.com/redirect/negative?OrderID=%5BOrderID%5D"
},
"Email": "e.mustermann@example.com ",
"Mobile": "+491711234567",
"Address": {
"Firstname": "Erika",
"Surname": "Mustermann",
"Street": "Heidestr. 17",
"ZipCode": "43000",
"City": "Köln",
"Country": "DE"
},
"IdentData": {
"Firstname": "Erika",
"Surname": "Mustermann",
"Street": "Heidestr. 17",
"ZipCode": "43000",
"City": "Köln",
"Birthdate": "1964-08-12",
"Birthplace": "Berlin",
"Additional": {
"idCardDateOfIssue": {
"Type": 2,
"Label": "Date of Issue",
"Value": "2010-01-11"
}
}
}
}

Example Response

{
"OrderID": "99921269855041",
"Ref": "Sign-me_Account_Creation_Test",
"TargetURL": "https://www.identity.tm/status/37C4B60A72A1C6C74FC038282CED500B",
"DeepLinkURL": "https://www.identity.tm/ident/37C4B60A72A1C6C74FC038282CED500B",
"VideoHashes": {
"ShortCode": "SHU8T",
"LongCode": "a9PPz-eFcNBifsk--bNJ"
}
}