Skip to main content

Sending the signed PDF

Request

ENDPOINT
/debt/DEBT-KEY/signed
METHOD
POST
Request Body
{
"type": "pdf-signature",
"path-pdf-signed": "https://www.google.com/"
}

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.-
path-pdf-signed *stringURL with the signed PDF - must be sent in case of signature "type": "pdf-signature".-

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\"}"
}