Warranty
Criar uma garantia
O objetivo dessa rota é criar uma garantia
post/warranty
Request
- Base URLhttps://api.sandbox.empresas.btgpactual.com
- AuthOAuth 2Client credentialsToken URLhttps://id.btgpactual.com/oauth2/tokenScopesempresas.btgpactual.com/loans
Request body
Example request
{
"files": [
{
"name": "meu_arquivo.pdf",
"downloadUri": "https://arquivolink.com"
}
],
"warranties": [
{
"acquisitionDate": "2023-08-03T00:00:00.000Z",
"value": 500,
"details": {
"currency": "BRL",
"amount": 500,
"isInternal": true
}
}
]
}Response
Sucesso
Example response
{
"identification": "7e4d025d-af1e-4270-97d9-aae8552d392b"
}Changes
No recorded changes to this operation across all 1 revision of this API.