Skip to main content

Upload Prepared Data

Prepared Data is information about a user or transaction that your application provides to Jumio during a verification workflow. It can include information such as the user's name, date of birth, contact details, address, or identification number.

This information is provided by your application rather than extracted from a credential collected during the customer journey.

How Is Prepared Data Obtained?​

Prepared Data can be:

  • Entered by the end-user before the Jumio customer journey starts.
  • Retrieved from information previously stored by your application.

Prepared Data

How To Upload Prepared Data?​

1. Prerequisites​

Before uploading Prepared Data, make sure that,

  1. Your workflow supports Prepared Data
  2. The account has been created or updated.
  3. The Account API response contains a DATA credential.
  4. You have the required user or transaction information to provide as Prepared Data.

2. Retrieve the Prepared Data URL​

The Account API response includes a DATA credential when the workflow supports Prepared Data. The api object within the credential contains:

  • token: Authorization token required to upload Prepared Data.
  • parts.prepared_data: URL used to upload Prepared Data.

The following example shows the relevant fields in the Account API response:

Account API Response​

{
"credentials": [
...
{
"id": "<CREDENTIAL_ID>",
"category": "DATA",
"label": "DATA",
"allowedChannels": [
"API"
],
"api": {
"token": "<YOUR_TOKEN>",
"parts": {
"prepared_data": "<PREPARED_DATA_URL>"
},
"workflowExecution": "<WORKFLOW_EXECUTION_URL>"
}
}
...
]
}

3. Upload Prepared Data​

Step 1: Send a POST request to the prepared_data URL returned in the DATA credential.

Step 2: Use the authorization token provided in the DATA credential.

http POST <PREPARED_DATA_URL>
Authorization: Bearer <YOUR_TOKEN>
Content-Type: application/json

4. Example Request Body​

The following example shows how Prepared Data can be provided in the request body. The fields you include depend on the information required by your workflow, refer to the API reference here.

{
"suffix": "Mr, Mrs, Ms",
"firstName": "Elroy",
"middleName": "Percival",
"lastName": "Jetson",
"sex": "M",
"dateOfBirth": "2021-12-23",
"socialSecurityNumber": "3387462834",
"nationality": "FRA",
"email": "elroy.jetson@spacely.com",
"phoneNumber": "2134445678",
"phoneNumber2": "3109992939",
"personalNumber": "string",
"address": {
"line1": "string",
"line2": "string",
"line3": "string",
"line4": "string",
"line5": "string",
"postalCode": "90275",
"city": "string",
"subdivision": "string",
"country": "string"
},
"id": {
"issuingDate": "2021-12-23",
"expiryDate": "2021-12-23",
"idNumber": "string",
"type": "PASSPORT",
"subType": "TAX_ID"
},
"kyc": {
"registrationDate": "2021-9-17",
"registrationIpAddress": "8.8.8.8"
},
"bank": {
"paymentMethod": "EC",
"binNumber": "string",
"lastDigits": "string",
"accountNumber": "27382782XXX",
"routingNumber": "49582934XXX",
"amount": 0.1,
"currency": "USD",
"transactionTime": "2022-03-22T08:04:36.000Z",
"transactionId": "string",
"ipAddress": "127.0.8.81"
},
"business": {
"name": "string",
"city": "string",
"address": "string",
"state": "California",
"country": "BRA",
"registrationNumber": "060704780",
"searchId": "string",
"kybCapabilities": [
"ADVERSE_MEDIA"
]
}
}

5. Prepared Data Fields​

The following values can be uploaded as Prepared Data.

Details
KeyTypeDescription
suffixstringTitle for the subject.
firstNamestringFirst name of the subject.
middleNamestringMiddle name of the subject.
lastNamestringLast name of the subject.
sexstringGender of the ID subject. Use M for male and F for female.
dateOfBirthLocalDateDate of birth in YYYY-MM-DD format only.
socialSecurityNumberstringSocial Security number of the subject.
nationalitystringNationality of the subject.
emailstring($email)Primary email address of the subject.
phoneNumberstringPrimary phone number of the subject in E.164 format.
phoneNumber2stringAlternate phone number of the subject.
personalNumberstringPersonal identification number of the subject.
addressObjectAddress information for the subject.
address.line1stringFirst line of the subject's address.
address.line2stringSecond line of the subject's address.
address.line3stringThird line of the subject's address.
address.line4stringFourth line of the subject's address.
address.line5stringFifth line of the subject's address.
address.postalCodestringPostal or ZIP code.
address.citystringCity of residence as it appears on the ID.
address.subdivisionstringCity subdivision of residence as it appears on the ID.
address.countrystringCountry in ISO-3166-1 Alpha-3 Code format.
idObjectPersonal details as they appear on the identifying document.
id.issuingDateLocalDateDate on which the identifying document was issued.
id.expiryDateLocalDateExpiration date of the identifying document.
id.idNumberstringIdentification document number.
id.typestringType of identifying document.
id.subTypestringSubtype of the identifying document.
kycObjectKnow Your Customer (KYC) information.
kyc.registrationDatestringDate on which the subject registered.
kyc.registrationIpAddressstringIP address used during registration.
bankObjectBank or payment information associated with the subject or transaction.
bank.paymentMethodstringPayment method used for the transaction.
bank.binNumberstringBank identification number.
bank.lastDigitsstringLast digits of the bank account or payment instrument.
bank.accountNumberstringBank account number.
bank.routingNumberstringBank routing number.
bank.amountnumberTransaction amount.
bank.currencystringCurrency of the transaction.
bank.transactionTimestringDate and time of the transaction.
bank.transactionIdstringTransaction identifier.
bank.ipAddressstringIP address associated with the transaction.
businessObjectBusiness information associated with the subject or transaction.
business.namestringBusiness name.
business.citystringCity where the business is located.
business.addressstringBusiness address.
business.statestringState or province where the business is located.
business.countrystringCountry where the business is located.
business.registrationNumberstringBusiness registration number.
business.searchIdstringIdentifier for the business search.
business.kybCapabilitiesarray[string]KYB capabilities to apply.

Next Steps After Upload​

Once the prepared data is uploaded, Jumio acquires any remaining credentials and executes the verification workflow.