Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation retrieves a list of all available expense categories for a specified account. It is useful in scenarios where you need to categorize expenses or want to present users with predefined expense categories to choose from when managing financial data. For example, an accounting workflow might use this node to fetch valid expense categories before creating or updating expense records.

Properties

Name Meaning
Account Id Identifier of the account to query expense categories for

Output

The node outputs JSON data containing the list of expense categories associated with the given account. Each item in the output typically represents one expense category with its relevant details (such as ID, name, or description). The exact structure depends on the API response but generally includes identifiers and descriptive fields for each category.

No binary data output is expected from this operation.

Dependencies

  • Requires an API key credential for authentication to the external service.
  • Needs the base URL of the API configured in the node credentials.
  • Depends on the external service's API that manages accounts and expense categories.

Troubleshooting

  • Missing or invalid Account Id: Ensure the "Account Id" property is provided and correctly references an existing account.
  • Authentication errors: Verify that the API key or authentication token is correctly set up in the node credentials.
  • API connectivity issues: Check network access and the correctness of the base URL.
  • Empty or unexpected response: Confirm that the account has expense categories defined; otherwise, the output may be empty.

Links and References

  • Refer to the external service’s API documentation for detailed information about expense categories endpoints.
  • n8n documentation on how to configure API credentials and use HTTP request nodes for similar integrations.

Discussion