Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node 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 managed under an account, such as in corporate finance or expense management workflows. For example, a company might use this node to automate the retrieval of reimbursement statuses for employees before processing payroll or auditing expenses.

Properties

Name Meaning
Account Id Identifier of the account
User Id Identifier of the user whose reimbursements are being fetched

Output

The node outputs JSON data containing the reimbursement details of the specified user within the given account. The exact structure depends on the external API response but typically includes fields such as reimbursement amounts, dates, status, and possibly related transaction metadata.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • The node uses a base URL configured via credentials to connect to the external API.
  • The underlying implementation relies on an OpenAPI specification (payhawk.api.json) for request construction.

Troubleshooting

  • Missing or invalid Account Id/User Id: Ensure both identifiers are provided and valid; otherwise, the API call will fail or return empty results.
  • Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
  • Network or API errors: Check connectivity and API availability; transient errors may require retries.
  • Unexpected response format: If the output JSON does not match expectations, confirm that the API version and endpoint have not changed.

Links and References

  • Refer to the external API documentation for detailed reimbursement data schema and authentication setup.
  • n8n documentation on setting up API credentials and using HTTP request nodes for custom integrations.

Discussion