Bayarcash icon

Bayarcash

Consume Bayarcash API

Portal → Get Portal Channels

AI-generated

Overview

This node interacts with the Bayarcash API to retrieve all available payment channels for a specified portal. It is useful in scenarios where you need to fetch and display the payment channels associated with a particular portal, such as in payment processing workflows or portal management systems.

Use Case Examples

  1. Fetch payment channels for a given portal ID to display available payment options to users.
  2. Retrieve portal channels to integrate with other payment-related automation or reporting tools.

Properties

Name Meaning
Portal ID ID of the portal to get channels for, required to specify which portal's channels to retrieve.

Output

JSON

  • channel_id - Identifier of the payment channel available in the portal
  • channel_name - Name of the payment channel
  • channel_details - Additional details about the payment channel

Dependencies

  • Requires Bayarcash API credentials including a personal access token (PAT) for authentication.

Troubleshooting

  • Authentication errors due to invalid or expired PAT token. Verify and update credentials.
  • Validation errors if the portal ID is missing or incorrect. Ensure the portal ID is valid and provided.
  • Forbidden errors if the user does not have permission to access the portal or if the payment channel is not enabled for the account.
  • Not found errors if the specified portal does not exist.
  • Server errors from Bayarcash API indicating temporary issues; retry later.

Links

Discussion