Mar 27, 2023

Atualizações na API incluem alterações em vários endpoints. No conjunto de endpoints 'Installments', a descrição do parâmetro de consulta 'expand' foi alterada. Para o conjunto de endpoints 'Loans', a resposta '200' foi modificada para alterar o 'status.default' e remover suporte para o valor 'draft' de várias enumerações. O endpoint 'POST /v1/loans/{loan}/open' foi removido. No conjunto de endpoints 'Tenants', o parâmetro de caminho 'id' foi removido e o parâmetro de caminho 'api_key' foi adicionado ao endpoint 'POST /v1/tenants/api-keys/{api_key}'.

Installments
  • GET /v1/installments/export:
    • expand query parameter: changed description
  • POST /v1/installments/{installment}/mark-uncollectible:
    • expand query parameter: changed description
  • POST /v1/installments/{installment}/void:
    • expand query parameter: changed description
  • GET /v1/installments/{installment}:
    • expand query parameter: changed description
  • GET /v1/installments:
    • expand query parameter: changed description
  • POST /v1/installments:
    • expand query parameter: changed description
Loans
  • POST /v1/loans/search:

    • 200 response: changed data.items.status.default
    • 200 response: removed support for value draft from enum data.items.status
    • 200 response: removed support for value draft from enum data.items.history.items.status
  • POST /v1/loans/{loan}/attach:

    • 200 response: changed status.default
    • 200 response: removed support for value draft from enum status
    • 200 response: removed support for value draft from enum history.items.status
  • POST /v1/loans/{loan}/cancel:

    • 200 response: changed status.default
    • 200 response: removed support for value draft from enum status
    • 200 response: removed support for value draft from enum history.items.status
  • POST /v1/loans/{loan}/disburse:

    • 200 response: changed status.default
    • 200 response: removed support for value draft from enum status
    • 200 response: removed support for value draft from enum history.items.status
  • POST /v1/loans/{loan}/mark-expired:

    • 200 response: changed status.default
    • 200 response: removed support for value draft from enum status
    • 200 response: removed support for value draft from enum history.items.status
  • POST /v1/loans/{loan}/mark-pending:

    • 200 response: changed status.default
    • 200 response: removed support for value draft from enum status
    • 200 response: removed support for value draft from enum history.items.status
  • POST /v1/loans/{loan}/open: removed

  • POST /v1/loans/{loan}/transactions:

    • 200 response: changed status.default
    • 200 response: removed support for value draft from enum status
    • 200 response: removed support for value draft from enum history.items.status
  • POST /v1/loans/{loan}/void:

    • 200 response: changed status.default
    • 200 response: removed support for value draft from enum status
    • 200 response: removed support for value draft from enum history.items.status
  • GET /v1/loans/{loan}:

    • 200 response: changed status.default
    • 200 response: removed support for value draft from enum status
    • 200 response: removed support for value draft from enum history.items.status
  • POST /v1/loans/{loan}:

    • 200 response: changed status.default
    • 200 response: removed support for value draft from enum status
    • 200 response: removed support for value draft from enum history.items.status
  • GET /v1/loans:

    • 200 response: changed data.items.status.default
    • 200 response: removed support for value draft from enum data.items.status
    • 200 response: removed support for value draft from enum data.items.history.items.status
    • status query parameter: changed description
    • removed status query parameter
    • status query parameter: changed examples.list.value
  • POST /v1/loans:

    • 201 response: changed status.default
    • 201 response: removed support for value draft from enum status
    • 201 response: removed support for value draft from enum history.items.status
    • requestBody: changed status.default
    • requestBody: removed support for value draft from enum status
Tenants
  • POST /v1/tenants/api-keys/{api_key}:
    • removed id path parameter
    • added api_key path parameter