Jul 12, 2023

Foram feitas alterações nos endpoints da API relacionados a empréstimos. Agora, todos os endpoints que retornam uma resposta 200 ou 201 suportam a propriedade cashout.items.dueDate, que foi adicionada. Essa mudança se aplica a várias ações, incluindo busca, anexação, cancelamento, distribuição, marcação como expirado ou pendente, abertura, transações e anulação de empréstimos.

Loans
  • POST /v1/loans/search:
    • 200 response: added support for data.items.cashout.items.dueDate property
  • POST /v1/loans/{loan}/attach:
    • 200 response: added support for cashout.items.dueDate property
  • POST /v1/loans/{loan}/cancel:
    • 200 response: added support for cashout.items.dueDate property
  • POST /v1/loans/{loan}/disburse:
    • 200 response: added support for cashout.items.dueDate property
  • POST /v1/loans/{loan}/mark-expired:
    • 200 response: added support for cashout.items.dueDate property
  • POST /v1/loans/{loan}/mark-pending:
    • 200 response: added support for cashout.items.dueDate property
  • POST /v1/loans/{loan}/open:
    • 200 response: added support for cashout.items.dueDate property
  • POST /v1/loans/{loan}/transactions:
    • 200 response: added support for cashout.items.dueDate property
  • POST /v1/loans/{loan}/void:
    • 200 response: added support for cashout.items.dueDate property
  • GET /v1/loans/{loan}:
    • 200 response: added support for cashout.items.dueDate property
  • POST /v1/loans/{loan}:
    • 200 response: added support for cashout.items.dueDate property
  • GET /v1/loans:
    • 200 response: added support for data.items.cashout.items.dueDate property
  • POST /v1/loans:
    • 201 response: added support for cashout.items.dueDate property