Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation retrieves reimbursement details for a specific user within a given account. It is useful in scenarios where you need to fetch financial or expense reimbursement information related to users, such as in accounting, payroll, or expense management workflows. For example, an organization might use this node to automatically gather reimbursement data for employees to process payments or generate reports.

Properties

Name Meaning
Account Id Identifier of the account
User Id Identifier of the user

Output

The output JSON contains the reimbursement details of the specified user within the given account. This typically includes structured data about reimbursements such as amounts, dates, statuses, and possibly related metadata. The exact structure depends on the external API response but will be accessible under the json field of the output item.

No binary data output is indicated by the source code.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • The node uses a base URL configured via credentials/environment variables.
  • Depends on an external REST API (referred to generically here) that provides user reimbursement data.

Troubleshooting

  • Missing or invalid Account Id/User Id: Ensure both identifiers are provided and correctly formatted; otherwise, the API call may fail or return no data.
  • Authentication errors: Verify that the API key or authentication token is valid and has sufficient permissions.
  • Network or API errors: Check connectivity and API availability; handle rate limits or server errors gracefully.
  • Unexpected response structure: If the output JSON does not match expectations, confirm the API version and parameters used.

Links and References

  • Refer to the external API documentation for detailed information on the reimbursement endpoint.
  • n8n documentation on creating and using custom nodes for API integrations.

Discussion