Jun 13, 2023

A API sofreu alterações significativas nos endpoints relacionados a empresas, configurações, esteira, empréstimos e produtos. A propriedade 'settings' foi removida das respostas e corpos de solicitação em vários endpoints, incluindo 'flags', 'locales', 'notifications', 'products' e 'secrets'. Além disso, o suporte para a propriedade 'disbursements' foi adicionado nas configurações. No endpoint de 'esteira' e 'empréstimos', a propriedade 'methodData.required' foi removida. Por fim, em 'produtos', a propriedade 'disbursement' foi removida e seu tipo foi alterado para 'string'.

Companies
  • GET /v1/companies/{id}:
    • 200 response: removed support for settings.flags property
    • 200 response: removed support for settings.locales property
    • 200 response: removed support for settings.notifications property
    • 200 response: removed support for settings.products property
    • 200 response: removed support for settings.secrets property
  • POST /v1/companies/{id}:
    • 200 response: removed support for settings.flags property
    • 200 response: removed support for settings.locales property
    • 200 response: removed support for settings.notifications property
    • 200 response: removed support for settings.products property
    • 200 response: removed support for settings.secrets property
    • requestBody: removed support for settings.flags property
    • requestBody: removed support for settings.locales property
    • requestBody: removed support for settings.notifications property
    • requestBody: removed support for settings.products property
    • requestBody: removed support for settings.secrets property
  • GET /v1/companies:
    • 200 response: removed support for data.items.settings.flags property
    • 200 response: removed support for data.items.settings.locales property
    • 200 response: removed support for data.items.settings.notifications property
    • 200 response: removed support for data.items.settings.products property
    • 200 response: removed support for data.items.settings.secrets property
  • POST /v1/companies:
    • 201 response: removed support for settings.flags property
    • 201 response: removed support for settings.locales property
    • 201 response: removed support for settings.notifications property
    • 201 response: removed support for settings.products property
    • 201 response: removed support for settings.secrets property
    • requestBody: removed support for settings.flags property
    • requestBody: removed support for settings.locales property
    • requestBody: removed support for settings.notifications property
    • requestBody: removed support for settings.products property
    • requestBody: removed support for settings.secrets property
Configurações
  • GET /v1/settings:
    • 200 response: added support for disbursements property
  • POST /v1/settings:
    • 200 response: added support for disbursements property
    • requestBody: added support for disbursements property
Esteira
  • GET /v1/steps:
    • 200 response: removed data.items.methodData.required
Loans
  • GET /v1/loans/{loan}/steps:
    • 200 response: removed data.items.methodData.required
Products
  • GET /v1/products/{product}:
    • 200 response: removed settings.products.disbursement
    • 200 response: changed settings.products.disbursement.type to string
  • POST /v1/products/{product}:
    • 200 response: removed settings.products.disbursement
    • 200 response: changed settings.products.disbursement.type to string
    • requestBody: removed settings.products.disbursement
    • requestBody: changed settings.products.disbursement.type to string
  • GET /v1/products:
    • 200 response: removed data.items.settings.products.disbursement
    • 200 response: changed data.items.settings.products.disbursement.type to string
  • POST /v1/products:
    • 200 response: removed settings.products.disbursement
    • 200 response: changed settings.products.disbursement.type to string
    • requestBody: removed settings.products.disbursement
    • requestBody: changed settings.products.disbursement.type to string