BCL icon

BCL

Consume BCL Payment API

Form → Update Content

AI-generated

Overview

This node operation updates the custom HTML content of a specified form using the BCL Payment API. It is useful for scenarios where you need to dynamically change the content of a form, such as updating promotional messages, instructions, or embedded elements within the form's HTML. For example, you might update the form content to reflect a new campaign or to customize the user experience based on certain conditions.

Use Case Examples

  1. Updating the HTML content of a registration form to include new instructions for users.
  2. Changing the promotional banner within a payment form to advertise a limited-time offer.

Properties

Name Meaning
Form ID The unique identifier of the form to update. This is required to specify which form's content will be changed.
Content The new custom HTML content to set for the form. This allows full customization of the form's displayed content.

Output

JSON

  • * - The JSON response from the BCL API representing the updated form content and related metadata.

Dependencies

  • BCL Payment API with an API token credential

Troubleshooting

  • Ensure the Form ID is valid and corresponds to an existing form; otherwise, a 'Not found' error may occur.
  • The Content field must contain valid HTML or acceptable content as per the API requirements to avoid validation errors.
  • Authentication errors may occur if the API token is invalid or expired; verify credentials if you encounter a 401 error.
  • If the API returns a 422 status, check the content format and required fields for correctness.

Discussion