Skip to main content

Alternative Signatures

For the use of alternative forms of signature, the proof file dossier must be compressed into a .zip file and sent via the QI TECH /upload endpoint. The returned document_key can then be used in this endpoint as a form of contract signature.

Examples of alternative signatures:
  • Recorded call;

  • Credit analysis;

Request

ENDPOINT
/debt/DEBT-KEY/signed
METHOD
POST
Request Body
{
"type": "data-signature",
"signatures": [
{
"signed_object": {
"raw_text": "Lorem ipsum dolor sit amet, consectetur a....",
"document_key": "79003de0-2590-455d-9b73-426b8ca284eb",
"document_md5": "7521bd5621d97af26b2c1721fc4023a8"
},
"authenticity": {
"timestamp": "1970-01-01 00:00:01",
"document_key": "79003de0-2590-455d-9b73-426b8ca284eb",
"document_md5": "79003de0-2590-455d-9b73-426b8ca284eb"
},
"signer": {
"name": "IVANILDO DE SENA LIMA",
"email": "ivanlima2604@gmail.com",
"phone": {
"country_code": "055",
"area_code": "11",
"number": "999999999"
},
"document_number": "61766976204"
},
"authentication_type": "zip"
}
]
}

Path Params

FieldTypeDescriptionCharacters
debt_key *stringDebt key returned at the moment of credit operation creation.-

Body Params

FieldTypeDescriptionCharacters
type *stringType of signature to be sent.-
signatures *array of objectsList containing signature proof objects - must be sent in case of signature "type": "data-signature".Objects signatures
path-pdf-signed *stringURL with the signed PDF - must be sent in case of signature "type": "pdf-signature".-

Object signatures

FieldTypeDescriptionCharacters
signed_objectobjectObject containing the document being signed.Objects signed_object
authenticityobjectObject with authentication data.Objects authenticity
signerobjectObject with the signatory's data.Object signer
authentication_type *stringType of signature.-

Object signed_object

FieldTypeDescriptionCharacters
raw_textstringPlain text with the contract data to be signed (Mandatory for opt-in type authentication).-
document_keystringDOCUMENT_KEY of the signed file sent via API 1.1 (mandatory only if the "raw_text" field is not sent).-
document_md5stringDOCUMENT_MD5 of the signed file sent via API 1.1 (mandatory only if the "raw_text" field is not sent).-

Object authenticity

FieldTypeDescriptionCharacters
timestamp *stringData da assinatura.-
document_key *stringDOCUMET_KEY retornado pela API 1.1 após o envio do arquivo com as evidencias de assinatura.-
document_md5 *stringDOCUMET_MD5 retornado pela API 1.1 após o envio do arquivo com as evidencias de assinatura.-

Object signer

FieldTypeDescriptionCharacters
name *stringName of the signatory.-
email *stringSignatory's email.-
phonestringObject containing the signatory's phone.Object phone
document_number *stringSignatory's document number.-

Object phone

FieldTypeDescriptionCharacters
country_code *stringPhone DDI code (https://ddi.guiamais.com.br/)3
area_code *stringPhone area code (DDD) (https://ddd.guiamais.com.br/)2
number *stringPhone number (numbers only)10

Response

STATUS
200
Response Body
{
"data": {},
"event_datetime": "2022-11-07 15:24:47",
"key": "\<DEBT-KEY\>",
"status": "signature_received",
"webhook_type": "debt"
}

STATUS
400
Response Body
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}