Download OpenAPI specification:Download
The Credentials resources let you upload credentials and execute workflows.
Note that each Credential request requires a token that you generate through an Authorization call before starting the session.
Updates a specified part of a credential for a given account.
| accountId required | string <uuid> Example: bbf3a261-9bf9-400c-b218-cd275596d8d9 Unique account identifier. |
| workflowExecutionId required | string <uuid> Unique workflow identifier. |
| credentialId required | string <uuid> Unique identifier for the credential. |
| classifier required | string FRONT, BACK, FACE |
| User-Agent | string Value for the User-Agent header |
| Authorization required | string OTP token received in response to account create / update. |
| file | string <binary> JPEG, PNG (max. size 15 MB and max resolution of 8000 x 8000) |
{- "timestamp": "2019-08-24T14:15:22Z",
- "account": {
- "id": "bbf3a261-9bf9-400c-b218-cd275596d8d9"
}, - "workflowExecution": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "credential": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "part": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "api": {
- "token": "string",
- "parts": {
- "property1": {
- "1": "href",
- "2": "href"
}, - "property2": {
- "1": "href",
- "2": "href"
}
},
}
}Adds a part to the specified account credential.
| accountId required | string <uuid> Example: bbf3a261-9bf9-400c-b218-cd275596d8d9 Unique account identifier. |
| workflowExecutionId required | string <uuid> Unique identifier of the workflow associated with the target credential. |
| credentialId required | string <uuid> Unique identifier of the credential the part will be added to. |
| classifier required | string Example: BACK The part classifier. |
| User-Agent | string Value for the User-Agent header |
| Authorization required | string OTP token returned by the account create / update request. |
| file | string <binary> JPEG, PNG (max. size 15 MB and max resolution of 8000 x 8000. Longest side must be > 300px.) |
{- "timestamp": "2019-08-24T14:15:22Z",
- "account": {
- "id": "bbf3a261-9bf9-400c-b218-cd275596d8d9"
}, - "workflowExecution": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "credential": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "part": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "api": {
- "token": "string",
- "parts": {
- "property1": {
- "1": "href",
- "2": "href"
}, - "property2": {
- "1": "href",
- "2": "href"
}
},
}
}| accountId required | string <uuid> Example: bbf3a261-9bf9-400c-b218-cd275596d8d9 Unique account identifier. |
| workflowExecutionId required | string <uuid> Unique workflow identifier. |
| credentialId required | string <uuid> Unique ID of the credential |
| User-Agent | string Value for the User-Agent header |
| Authorization required | string OTP token returned by the account create / update request. |
| suffix | string Title for the subject. |
| firstName | string First name of the subject. |
| middleName | string Middle name of the subject. |
| lastName | string Last name of the subject. |
| sex | string Gender of ID subject. M for male and F for female. |
| dateOfBirth | string <date> Date of birth in ISO 8601 date format. |
| socialSecurityNumber | string SSN of the subject. |
| nationality | string Nationality of the subject. |
string <email> Primary email address of the subject. | |
| phoneNumber | string Primary phone number of the subject. |
| phoneNumber2 | string Alternate phone number of the subject. |
| personalNumber | string Personal identification number of the subject. |
object (address) | |
object (idDetails) Personal details as they appear on the identifying document or ID card. | |
object (kycDetails) | |
object (bankDetails) | |
object (businessInformation) |
{- "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": "2738278278",
- "routingNumber": "49582934898",
- "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"
]
}
}{- "timestamp": "2019-08-24T14:15:22Z",
- "account": {
- "id": "bbf3a261-9bf9-400c-b218-cd275596d8d9"
}, - "workflowExecution": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "credential": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "part": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "api": {
- "token": "string",
- "parts": {
- "property1": {
- "1": "href",
- "2": "href"
}, - "property2": {
- "1": "href",
- "2": "href"
}
},
}
}Uploads a specified document (image(s)/single pdf).
| accountId required | string <uuid> Example: bbf3a261-9bf9-400c-b218-cd275596d8d9 Unique account identifier. |
| workflowExecutionId required | string <uuid> Unique workflow identifier. |
| credentialId required | string <uuid> Unique credential identifier |
| User-Agent | string Value for the User-Agent header |
| Authorization required | string OTP token returned by the account create / update request. |
| file | string <binary> |
{- "timestamp": "2019-08-24T14:15:22Z",
- "account": {
- "id": "bbf3a261-9bf9-400c-b218-cd275596d8d9"
}, - "workflowExecution": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "credential": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "part": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "api": {
- "token": "string",
- "parts": {
- "property1": {
- "1": "href",
- "2": "href"
}, - "property2": {
- "1": "href",
- "2": "href"
}
},
}
}Finalize the acquisition process and start the workflow.
| accountId required | string <uuid> Example: bbf3a261-9bf9-400c-b218-cd275596d8d9 Unique account identifier. |
| workflowExecutionId required | string <uuid> Unique workflow identifier. |
| User-Agent | string Value for the User-Agent header |
| Authorization required | string OTP token which has been received on the account create update |
{- "timestamp": "2019-08-24T14:15:22Z",
- "account": {
- "id": "bbf3a261-9bf9-400c-b218-cd275596d8d9"
}, - "workflowExecution": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "credential": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "part": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "api": {
- "token": "string",
- "parts": {
- "property1": {
- "1": "href",
- "2": "href"
}, - "property2": {
- "1": "href",
- "2": "href"
}
},
}
}Deletes a specified part of a credential for a given account.
IMPORTANT: Deleted data is not retrievable. Contact support for more details on data retention configuration options.
| accountId required | string <uuid> Example: bbf3a261-9bf9-400c-b218-cd275596d8d9 Unique account identifier. |
| workflowExecutionId required | string <uuid> Unique identifier of a particular instance of workflow execution. |
| credentialId required | string <uuid> Unique identifier of the credential containing the part to be deleted. |
| classifier required | string Classifier of the part to be deleted. |
| User-Agent | string Value for the User-Agent header |
| Authorization required | string OTP token returned by account create / update |
{- "timestamp": "2019-08-24T14:15:22Z",
- "account": {
- "id": "bbf3a261-9bf9-400c-b218-cd275596d8d9"
}, - "workflowExecution": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "credential": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "part": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "api": {
- "token": "string",
- "parts": {
- "property1": {
- "1": "href",
- "2": "href"
}, - "property2": {
- "1": "href",
- "2": "href"
}
},
}
}Delete all pages.
IMPORTANT: Deleted data is not retrievable. Contact support for more details on data retention configuration options.
| accountId required | string <uuid> Example: bbf3a261-9bf9-400c-b218-cd275596d8d9 Unique account identifier. |
| workflowExecutionId required | string <uuid> Unique workflow identifier. |
| credentialId required | string <uuid> Unique credential identifier. |
| User-Agent | string Value for the User-Agent header |
| Authorization required | string OTP token returned by the account create / update request. |
{- "timestamp": "2019-08-24T14:15:22Z",
- "account": {
- "id": "bbf3a261-9bf9-400c-b218-cd275596d8d9"
}, - "workflowExecution": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "credential": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "part": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "api": {
- "token": "string",
- "parts": {
- "property1": {
- "1": "href",
- "2": "href"
}, - "property2": {
- "1": "href",
- "2": "href"
}
},
}
}