Jun 15, 2023

A API foi atualizada para melhorar as configurações, empregos, faturas, intenções de pagamento e produtos. A resposta e o corpo da solicitação para vários endpoints foram aprimorados para adicionar suporte para novos valores e propriedades. Além disso, as descrições de alguns endpoints foram alteradas para melhorar a compreensão. Destaques incluem a adição do valor 'pass' ao enum 'steps'.'additionalProperties'.'type' e a adição de suporte para as propriedades 'description' e 'metadata' em vários endpoints de faturas. As atualizações também incluem o suporte para o novo valor 'loan' no enum 'method' para os endpoints de intenções de pagamento.

Configurações
  • GET /v1/settings:
    • 200 response: added support for new value pass on enum steps.additionalProperties.type
  • POST /v1/settings:
    • 200 response: added support for new value pass on enum steps.additionalProperties.type
    • requestBody: added support for new value pass on enum steps.additionalProperties.type
Employments
  • DELETE /v1/employments/{id}:
    • 200 response: changed description
  • GET /v1/employments:
    • 200 response: changed description
Invoice
  • POST /v1/invoices/{invoice}/finalize:
    • 200 response: added support for invoiceItems.data.items.description property
    • 200 response: added support for invoiceItems.data.items.metadata property
  • GET /v1/invoices/{invoice}/invoice-items/{invoice_item}:
    • 200 response: added support for description property
    • 200 response: added support for metadata property
  • GET /v1/invoices/{invoice}/invoice-items:
    • 200 response: added support for data.items.description property
    • 200 response: added support for data.items.metadata property
  • POST /v1/invoices/{invoice}/invoice-items:
    • 201 response: added support for description property
    • 201 response: added support for metadata property
    • requestBody: added support for description property
    • requestBody: added support for metadata property
  • POST /v1/invoices/{invoice}/mark-uncollectible:
    • 200 response: added support for invoiceItems.data.items.description property
    • 200 response: added support for invoiceItems.data.items.metadata property
  • POST /v1/invoices/{invoice}/void:
    • 200 response: added support for invoiceItems.data.items.description property
    • 200 response: added support for invoiceItems.data.items.metadata property
  • GET /v1/invoices/{invoice}:
    • 200 response: added support for invoiceItems.data.items.description property
    • 200 response: added support for invoiceItems.data.items.metadata property
  • POST /v1/invoices/{invoice}:
    • 200 response: added support for invoiceItems.data.items.description property
    • 200 response: added support for invoiceItems.data.items.metadata property
  • GET /v1/invoices:
    • 200 response: added support for invoiceItems.data.items.description property
    • 200 response: added support for invoiceItems.data.items.metadata property
  • POST /v1/invoices:
    • 201 response: added support for invoiceItems.data.items.description property
    • 201 response: added support for invoiceItems.data.items.metadata property
    • requestBody: added support for items.items.description property
    • requestBody: added support for items.items.metadata property
Payment Intents
  • POST /v1/payment-intents/{payment_intent}/pay:
    • 200 response: added an item to methodData oneOf values
    • 200 response: added support for new value loan on enum method
  • POST /v1/payment-intents/{payment_intent}/void:
    • 200 response: added an item to methodData oneOf values
    • 200 response: added support for new value loan on enum method
  • GET /v1/payment-intents/{payment_intent}:
    • 200 response: added an item to methodData oneOf values
    • 200 response: added support for new value loan on enum method
  • GET /v1/payment-intents:
    • 200 response: added an item to data.items.methodData oneOf values
    • 200 response: added support for new value loan on enum data.items.method
  • POST /v1/payment-intents:
    • 201 response: added an item to methodData oneOf values
    • 201 response: added support for new value loan on enum method
    • requestBody: added an item to methodData oneOf values
    • requestBody: added support for new value loan on enum method
Products
  • GET /v1/products/{product}:
    • 200 response: added support for new value pass on enum settings.steps.additionalProperties.type
    • 200 response: changed settings.products.documents.toRequest.items.owner.description
  • POST /v1/products/{product}:
    • 200 response: added support for new value pass on enum settings.steps.additionalProperties.type
    • 200 response: changed settings.products.documents.toRequest.items.owner.description
    • requestBody: added support for new value pass on enum settings.steps.additionalProperties.type
    • requestBody: changed settings.products.documents.toRequest.items.owner.description
  • GET /v1/products:
    • 200 response: added support for new value pass on enum data.items.settings.steps.additionalProperties.type
    • 200 response: changed data.items.settings.products.documents.toRequest.items.owner.description
  • POST /v1/products:
    • 200 response: added support for new value pass on enum settings.steps.additionalProperties.type
    • 200 response: changed settings.products.documents.toRequest.items.owner.description
    • requestBody: added support for new value pass on enum settings.steps.additionalProperties.type
    • requestBody: changed settings.products.documents.toRequest.items.owner.description