Warranty

Criar uma garantia

O objetivo dessa rota é criar uma garantia

post/warranty

Request

  • Base URL
    https://api.sandbox.empresas.btgpactual.com
  • Auth
    OAuth 2
    Client credentials
    Token URLhttps://id.btgpactual.com/oauth2/token
    Scopesempresas.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

identificationstring

Identificador da garantia

Example response

{
  "identification": "7e4d025d-af1e-4270-97d9-aae8552d392b"
}

Changes

No recorded changes to this operation across all 1 revision of this API.