Decogro icon

Decogro

Decogro integration for n8n

Admin → Get Fees

AI-generated

Overview

This node integrates with the Decogro API to perform various administrative operations, including retrieving fees. Specifically, the 'Get Fees' operation fetches a list of fees configured in the Decogro system. This is useful for workflows that need to access or display fee information, such as billing automation or financial reporting.

Use Case Examples

  1. Retrieve a list of fees with pagination to display in a dashboard.
  2. Fetch fees to apply them in an order processing workflow.

Properties

Name Meaning
Limit Number of items to return, controls pagination size.
Offset Number of items to skip, controls pagination offset.

Output

JSON

  • operation - The operation performed, e.g., 'getFees'.
  • data - The array or object containing the fees data returned from Decogro.
  • metadata
    • method - HTTP method used for the API request.
    • endpoint - API endpoint called for the request.
    • timestamp - Timestamp when the request was made.
    • limit - Limit parameter used for pagination.
    • offset - Offset parameter used for pagination.
    • page - Calculated page number based on limit and offset.

Dependencies

  • Decogro API with API key authentication

Troubleshooting

  • Ensure the API key credential is correctly configured and has permissions to access admin fees.
  • If the node returns an error about invalid JSON, verify that any JSON body inputs are correctly formatted.
  • Pagination parameters (limit and offset) must be within allowed ranges; otherwise, the API may reject the request.

Links

Discussion