Kobana icon

Kobana

Interact with Kobana API - Quick access to common operations

Actions215

Overview

This node enables interaction with the Kobana API, specifically for managing "Discharges" under version 1 (V1). The "Create" operation allows users to create a new discharge record by sending a JSON request body to the Kobana API. This is useful in financial or billing workflows where discharges (likely representing payment discharges or similar financial events) need to be programmatically created and tracked.

Practical examples include:

  • Automatically creating a discharge record when a payment is confirmed.
  • Integrating discharge creation into an automated billing or accounting system.
  • Creating discharges based on external triggers or data sources within an n8n workflow.

Properties

Name Meaning
Request Body The JSON object representing the discharge details to be sent in the creation request.
Additional Fields A JSON object containing any extra fields to include in the request (optional).

Note: For this operation, the "Request Body" property is required and must contain the necessary data for creating the discharge.

Output

The node outputs the JSON response returned by the Kobana API after creating the discharge. This typically includes details of the newly created discharge such as its ID, status, timestamps, and any other relevant metadata provided by the API.

If the API supports binary data output for this resource (not indicated here), it would be summarized accordingly, but in this case, the output is purely JSON.

Dependencies

  • Requires an active Kobana API credential configured in n8n, which provides authentication tokens or API keys needed to authorize requests.
  • The node dynamically selects the API base URL depending on the environment (production or sandbox).
  • No additional external dependencies are required beyond the Kobana API access.

Troubleshooting

  • Invalid JSON in Request Body: If the JSON provided in the "Request Body" field is malformed, the node will throw a parsing error. Ensure the JSON syntax is correct.
  • Authentication Errors: If the Kobana API credentials are missing, invalid, or expired, the node will fail to authenticate. Verify that the API key or token is correctly set up in n8n credentials.
  • API Endpoint Errors: If the API returns errors due to invalid or missing required fields in the request body, check the Kobana API documentation for required parameters and ensure they are included.
  • Network Issues: Connectivity problems to the Kobana API endpoints can cause timeouts or failures. Confirm network access and endpoint availability.
  • Continue On Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output JSON.

Links and References

Discussion