BCL icon

BCL

Consume BCL Payment API

Form → Update Redirect URLs

AI-generated

Overview

This node operation updates the redirect URLs for a specified form in the BCL Payment API. It allows users to set URLs to which customers are redirected after a successful or failed payment, enabling customized user experience post-transaction. This is useful for scenarios where businesses want to control the flow after payment completion, such as redirecting to a thank you page or an error page.

Use Case Examples

  1. Updating the success and failure redirect URLs of a payment form to custom pages on a website.
  2. Changing the redirect URLs dynamically based on different campaigns or promotions.

Properties

Name Meaning
Form ID The unique identifier of the form whose redirect URLs are to be updated.
Redirect URLs Collection of URLs to redirect after payment outcomes, including success and failure URLs.

Output

JSON

  • success_url - The URL to which the user is redirected after a successful payment.
  • failed_url - The URL to which the user is redirected after a failed payment.

Dependencies

  • BCL Payment API with an API token credential

Troubleshooting

  • Authentication errors due to invalid or expired API token. Ensure the API token is correct and active.
  • Validation errors if the URLs are improperly formatted or missing required fields.
  • Bad request errors if the request payload is malformed.
  • Permission errors if the API token does not have access to update the form.
  • Not found errors if the specified form ID does not exist.
  • Server errors from the BCL API indicating temporary issues; retry later.

Discussion