Negocie icon

Negocie

Consume Negocie API

Overview

This node integrates with the Negocie API to manage financial debt-related operations. Specifically, for the "Dívida" resource and the "Buscar opções de pagamento" operation, it retrieves available payment options associated with a given document identifier. This is useful in scenarios where users want to fetch current debt details or payment possibilities for a customer or account.

Practical examples include:

  • Fetching outstanding debts for a client by their document ID.
  • Retrieving payment options before processing a payment or proposing an agreement.

Properties

Name Meaning
Token Bearer Token used for API authentication to authorize requests to the Negocie service.

Output

The node outputs JSON data representing the response from the Negocie API for the requested payment options. The structure typically includes details about debts and possible payment methods related to the specified document.

No binary data output is produced by this operation.

Dependencies

  • Requires access to the Negocie API endpoint.
  • Needs a valid Bearer Token for authorization, which must be provided as an input property.
  • No additional external services or environment variables are explicitly required beyond the token.

Troubleshooting

  • Invalid or missing token: If the Bearer Token is incorrect or not provided, the API request will fail with an authorization error. Ensure the token is valid and correctly set.
  • Invalid document parameter: The node expects a valid document identifier. Providing an invalid or empty document may cause errors or empty responses.
  • API limits or server errors: Network issues or API rate limits can cause failures. Check logs for detailed error messages.
  • Value constraints: Although not directly relevant to this operation, other operations validate numeric values (e.g., payment amount) to be within specific ranges; ensure inputs meet these criteria if switching operations.

Links and References

Discussion