Sending the signed PDF
Request
ENDPOINT
/debt/DEBT-KEY/signedMETHOD
POSTRequest Body
{
"type": "pdf-signature",
"path-pdf-signed": "https://www.google.com/"
}
Path Params
Field | Type | Description | Characters |
---|---|---|---|
debt_key * | string | Debt key returned at the moment of credit operation creation. | - |
Body Params
Field | Type | Description | Characters |
---|---|---|---|
type * | string | Type of signature to be sent. | - |
path-pdf-signed * | string | URL with the signed PDF - must be sent in case of signature "type": "pdf-signature". | - |
Response
STATUS
200Response Body
{
"data": {},
"event_datetime": "2022-11-07 15:24:47",
"key": "\<DEBT-KEY\>",
"status": "signature_received",
"webhook_type": "debt"
}
STATUS
400Response Body
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}