Decisions
Accept or reject a process from your backend, or hand it over to an agent for review.
Accept process
/mobbscan-agent/accept Access tokenAccepts an onboarding process. The process moves to VERIFIED and cannot be modified afterwards. You can also send corrected user data in personalData: send only the fields you want to update.
Request bodyapplication/json
typestringRequiredIndicates how the decision was made:
AUTOfor a decision made by your backend or automatic rules;MANUALfor a decision made by a human reviewer.Values:AUTOMANUALverificationIdstring· UUIDRequiredUnique identifier of the onboarding process.
personalDataobjectRequiredUser's personal information to update. Send only the fields you want to change.
Response200 · application/json
statusstringOutcome of the requested operation. For example, accepting a process returns
VERIFICATION_ACCEPTED, rejecting one returnsVERIFICATION_REJECTED, and sending one for review returnsUPDATED_VERIFICATION.descriptionstringHuman-readable description of the outcome.
Status codes
- 200The process has been accepted.
- 400The JSON body is malformed or a field is missing or invalid. Include the fields documented for this request and use the expected formats.
- 401Wrong credentials, invalid or expired access token, or the process is not valid for this user.
- 403The user does not have permission to accept the process.
- 409The process is not in a valid state to be accepted: it has already been accepted or rejected.
- 404Gateway returns HTTP 404 with its JSON error for an unknown verification ID.
curl -X POST 'https://{GATEWAY-HOST}/mobbscan-agent/accept' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"personalData": {
"address": "123 Fake Street",
"city": "Sampletown",
"cityOfBirth": "Sampletown",
"country": "USA",
"countryDocumentType": "Passport",
"curp": "ABC123XYZ",
"dateOfBirth": "1985-06-15",
"dateOfExpiry": "2030-12-31",
"documentNumber": "A1234567",
"gender": "M",
"mrz": "MRZDATAHERE",
"name": "John",
"personalNumber": "987654321",
"postCode": "56789",
"region": "Sample Region",
"regionOfBirth": "Sample Region",
"firstSurname": "Doe",
"secondSurname": "Smith",
"stateOfBirth": "Sample State",
"surname": "Doe"
},
"type": "AUTO",
"verificationId": "123e4567-e89b-12d3-a456-426614174000"
}'
application/jsonThe process has been accepted.
{
"status": "VERIFICATION_ACCEPTED",
"description": "Verification with id={verificationId} accepted successfully"
}
Reject process
/mobbscan-agent/reject Access tokenRejects an onboarding process. The process moves to NOT_VERIFIED and cannot be modified afterwards.
Request bodyapplication/json
typestringRequiredIndicates how the decision was made:
AUTOfor a decision made by your backend or automatic rules;MANUALfor a decision made by a human reviewer.Values:AUTOMANUALverificationIdstring· UUIDRequiredUnique identifier of the onboarding process.
rejectionReasonstringRequiredReason for the rejection.
Response200 · application/json
statusstringOutcome of the requested operation. For example, accepting a process returns
VERIFICATION_ACCEPTED, rejecting one returnsVERIFICATION_REJECTED, and sending one for review returnsUPDATED_VERIFICATION.descriptionstringHuman-readable description of the outcome.
Status codes
- 200The process has been rejected. The response is a JSON object with
statusanddescriptionfields, as shown below. - 400The JSON body is malformed or a field is missing or invalid. Include the fields documented for this request and use the expected formats.
- 401Wrong credentials, invalid or expired access token, or the process is not valid for this user.
- 403The user does not have permission to reject the process.
- 409The process is not in a valid state to be rejected: it has already been accepted or rejected.
- 404Gateway returns HTTP 404 with its JSON error for an unknown verification ID.
curl -X POST 'https://{GATEWAY-HOST}/mobbscan-agent/reject' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"rejectionReason": "The document photo does not match the selfie.",
"type": "AUTO",
"verificationId": "123e4567-e89b-12d3-a456-426614174000"
}'
application/jsonThe process has been rejected. The response is a JSON object with status and description fields, as shown below.
{
"status": "VERIFICATION_REJECTED",
"description": "Verification with id={verificationId} rejected successfully"
}
Send to review
/mobbscan-agent/pending Access tokenSends a process in PENDING_VALIDATION to manual review by an agent, instead of accepting or rejecting it yourself.
Only for integrators that run their own automatic validations. Ask the platform support team in advance to configure them. The process then stays in PENDING_VALIDATION until you decide: accept it, reject it or send it to manual review with this endpoint.
Request bodyapplication/json
verificationIdstring· UUIDRequiredUnique identifier of the onboarding process.
Response200 · application/json
statusstringOutcome of the requested operation. For example, accepting a process returns
VERIFICATION_ACCEPTED, rejecting one returnsVERIFICATION_REJECTED, and sending one for review returnsUPDATED_VERIFICATION.descriptionstringHuman-readable description of the outcome.
Status codes
- 200The process has been sent to manual review.
- 400The JSON body is malformed or a field is missing or invalid. Include the fields documented for this request and use the expected formats.
- 401Wrong credentials, invalid or expired access token, or the process is not valid for this user.
- 403The user does not have permission to send to review the process.
- 409The process is not in a valid state to be sent to review: it has already been accepted or rejected.
- 404Gateway returns HTTP 404 with its JSON error for an unknown verification ID.
curl -X POST 'https://{GATEWAY-HOST}/mobbscan-agent/pending' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"verificationId": "123e4567-e89b-12d3-a456-426614174000"
}'
application/jsonThe process has been sent to manual review.
{
"status": "UPDATED_VERIFICATION",
"description": "Verification with id={verificationId} sent for manual review successfully"
}