May 17, 2023

As atualizações na API incluem alterações na descrição do parâmetro de consulta 'expand' nos endpoints das empresas. No endpoint de empréstimos, foi adicionado suporte para a propriedade 'metadata' na resposta e no corpo da solicitação. No endpoint de produtos, foi removido o suporte para a propriedade 'acquittanceLoans'. E no endpoint de inquilinos, foi adicionado suporte para um novo valor 'writeOnly' no enum 'rules.items.rule'.

Companies
  • DELETE /v1/companies/{id}:
    • expand query parameter: changed description
  • GET /v1/companies/{id}:
    • expand query parameter: changed description
  • POST /v1/companies/{id}:
    • expand query parameter: changed description
  • GET /v1/companies:
    • expand query parameter: changed description
  • POST /v1/companies:
    • expand query parameter: changed description
Loans
  • GET /v1/loans/{loan}/installments:
    • 200 response: added support for data.items.metadata property
  • POST /v1/loans/{loan}/installments:
    • 200 response: added support for metadata property
    • requestBody: added support for metadata property
Products
  • POST /v1/products/{product}/offers:
    • 200 response: removed support for items.acquittanceLoans property
Tenants
  • POST /v1/tenants/api-keys:
    • requestBody: added support for new value writeOnly on enum rules.items.rule