Kiwify icon

Kiwify

Interagir com a API da Kiwify

Overview

This node integrates with the Kiwify API to perform various operations related to account management, products, sales, affiliates, webhooks, payouts, and participants. Specifically, the "Realizar Saque" (Create Payout) operation allows users to request a payout from their Kiwify account by specifying an amount.

Common scenarios for this node include automating financial workflows such as requesting payouts, retrieving sales data, managing affiliates, or handling webhooks. For example, a user can automate the process of requesting a payout after reaching a certain balance threshold or retrieve detailed sales statistics for reporting purposes.

Properties

Name Meaning
Valor Do Saque The amount to be requested for payout, specified in cents (e.g., 1000 = R$10.00).

Output

The node outputs JSON data corresponding to the response from the Kiwify API for the selected operation. For the "Realizar Saque" operation, the output JSON contains details about the created payout request, such as its status, ID, amount, and other metadata returned by the API.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the Kiwify API.
  • The node uses OAuth token retrieval internally by exchanging client credentials for an access token.
  • Requires configuration of the API client ID, client secret, and account ID within the credentials.
  • Makes HTTP requests to the public Kiwify API endpoints.

Troubleshooting

  • Authentication errors: If the node fails to authenticate, verify that the API client ID, client secret, and account ID are correctly configured in the credentials.
  • Invalid payout amount: Ensure the "Valor Do Saque" property is set to a positive integer representing the amount in cents.
  • API rate limits or downtime: The node depends on the availability of the Kiwify API; network issues or API outages may cause failures.
  • Error messages from the API: The node surfaces error messages returned by the Kiwify API. Review these messages for specific causes such as invalid parameters or insufficient balance.

Links and References

Discussion