May 8, 2023

A API foi atualizada com várias alterações. Na seção de Empréstimos, foram adicionadas propriedades de suporte para 'signatures' e 'offer.metadata' em várias respostas 200 e também no corpo da solicitação. O endpoint 'POST /v1/loans/{loan}/sign' foi adicionado. Na seção de Intenções de Pagamento, mudanças foram feitas na resposta 200 e no corpo da solicitação, incluindo mudanças no 'title', 'guarantor', 'provider', 'customer' e 'method' do 'methodData'. O suporte para a propriedade 'guarantor' foi removido e o suporte para as propriedades 'externalId' e 'provider' foi adicionado. As propriedades 'id' e 'status' foram removidas. A propriedade 'customer' foi removida e seu tipo foi alterado para 'string'. O suporte para o valor 'kobana' foi removido e o valor 'boleto' foi adicionado no enum 'method'. Na seção de Produtos, a propriedade 'settings.disbursement.required' foi adicionada na resposta 200 e no corpo da solicitação.

Invoice
  • POST /v1/invoices/{invoice}/send: removed
Loans
  • POST /v1/loans/search:

    • 200 response: added support for data.items.signatures property
    • 200 response: added support for data.items.offer.metadata property
  • POST /v1/loans/{loan}/attach:

    • 200 response: added support for signatures property
    • 200 response: added support for offer.metadata property
  • POST /v1/loans/{loan}/cancel:

    • 200 response: added support for signatures property
    • 200 response: added support for offer.metadata property
  • POST /v1/loans/{loan}/disburse:

    • 200 response: added support for signatures property
    • 200 response: added support for offer.metadata property
  • POST /v1/loans/{loan}/mark-expired:

    • 200 response: added support for signatures property
    • 200 response: added support for offer.metadata property
  • POST /v1/loans/{loan}/mark-pending:

    • 200 response: added support for signatures property
    • 200 response: added support for offer.metadata property
  • POST /v1/loans/{loan}/open:

    • 200 response: added support for signatures property
    • 200 response: added support for offer.metadata property
  • POST /v1/loans/{loan}/sign: added

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

    • 200 response: added support for signatures property
    • 200 response: added support for offer.metadata property
  • POST /v1/loans/{loan}/void:

    • 200 response: added support for signatures property
    • 200 response: added support for offer.metadata property
  • GET /v1/loans/{loan}:

    • 200 response: added support for signatures property
    • 200 response: added support for offer.metadata property
  • POST /v1/loans/{loan}:

    • 200 response: added support for signatures property
    • 200 response: added support for offer.metadata property
    • requestBody: added support for offer.metadata property
  • GET /v1/loans:

    • 200 response: added support for data.items.signatures property
    • 200 response: added support for data.items.offer.metadata property
  • POST /v1/loans:

    • 201 response: added support for signatures property
    • 201 response: added support for offer.metadata property
    • requestBody: added support for offer.metadata property
Payment Intents
  • POST /v1/payment-intents/{payment_intent}/pay:
    • 200 response: changed methodData.title
    • 200 response: methodData.guarantor is no longer required
    • 200 response: methodData.provider is now required
    • 200 response: removed support for methodData.guarantor property
    • 200 response: removed support for methodData.id property
    • 200 response: removed support for methodData.status property
    • 200 response: added support for methodData.externalId property
    • 200 response: added support for methodData.provider property
    • 200 response: changed methodData.type.default
    • 200 response: removed methodData.customer
    • 200 response: removed methodData.customer.required
    • 200 response: changed methodData.customer.type to string
    • 200 response: removed support for value kobana from enum method
    • 200 response: added support for new value boleto on enum method
  • POST /v1/payment-intents/{payment_intent}/void:
    • 200 response: changed methodData.title
    • 200 response: methodData.guarantor is no longer required
    • 200 response: methodData.provider is now required
    • 200 response: removed support for methodData.guarantor property
    • 200 response: removed support for methodData.id property
    • 200 response: removed support for methodData.status property
    • 200 response: added support for methodData.externalId property
    • 200 response: added support for methodData.provider property
    • 200 response: changed methodData.type.default
    • 200 response: removed methodData.customer
    • 200 response: removed methodData.customer.required
    • 200 response: changed methodData.customer.type to string
    • 200 response: removed support for value kobana from enum method
    • 200 response: added support for new value boleto on enum method
  • GET /v1/payment-intents/{payment_intent}:
    • 200 response: changed methodData.title
    • 200 response: methodData.guarantor is no longer required
    • 200 response: methodData.provider is now required
    • 200 response: removed support for methodData.guarantor property
    • 200 response: removed support for methodData.id property
    • 200 response: removed support for methodData.status property
    • 200 response: added support for methodData.externalId property
    • 200 response: added support for methodData.provider property
    • 200 response: changed methodData.type.default
    • 200 response: removed methodData.customer
    • 200 response: removed methodData.customer.required
    • 200 response: changed methodData.customer.type to string
    • 200 response: removed support for value kobana from enum method
    • 200 response: added support for new value boleto on enum method
  • GET /v1/payment-intents:
    • 200 response: changed data.items.methodData.title
    • 200 response: data.items.methodData.guarantor is no longer required
    • 200 response: data.items.methodData.provider is now required
    • 200 response: removed support for data.items.methodData.guarantor property
    • 200 response: removed support for data.items.methodData.id property
    • 200 response: removed support for data.items.methodData.status property
    • 200 response: added support for data.items.methodData.externalId property
    • 200 response: added support for data.items.methodData.provider property
    • 200 response: changed data.items.methodData.type.default
    • 200 response: removed data.items.methodData.customer
    • 200 response: removed data.items.methodData.customer.required
    • 200 response: changed data.items.methodData.customer.type to string
    • 200 response: removed support for value kobana from enum data.items.method
    • 200 response: added support for new value boleto on enum data.items.method
  • POST /v1/payment-intents:
    • 201 response: changed methodData.title
    • 201 response: methodData.guarantor is no longer required
    • 201 response: methodData.provider is now required
    • 201 response: removed support for methodData.guarantor property
    • 201 response: removed support for methodData.id property
    • 201 response: removed support for methodData.status property
    • 201 response: added support for methodData.externalId property
    • 201 response: added support for methodData.provider property
    • 201 response: changed methodData.type.default
    • 201 response: removed methodData.customer
    • 201 response: removed methodData.customer.required
    • 201 response: changed methodData.customer.type to string
    • 201 response: removed support for value kobana from enum method
    • 201 response: added support for new value boleto on enum method
    • requestBody: changed methodData.title
    • requestBody: methodData.guarantor is no longer required
    • requestBody: methodData.provider is now required
    • requestBody: removed support for methodData.guarantor property
    • requestBody: added support for methodData.provider property
    • requestBody: changed methodData.type.default
    • requestBody: removed methodData.customer
    • requestBody: removed methodData.customer.required
    • requestBody: changed methodData.customer.type to string
    • requestBody: removed support for value kobana from enum method
    • requestBody: added support for new value boleto on enum method
Products
  • GET /v1/products/{product}:
    • 200 response: added settings.disbursement.required
  • POST /v1/products/{product}:
    • 200 response: added settings.disbursement.required
    • requestBody: added settings.disbursement.required
  • GET /v1/products:
    • 200 response: added data.items.settings.disbursement.required
  • POST /v1/products:
    • 200 response: added settings.disbursement.required
    • requestBody: added settings.disbursement.required