Payment Flow

A flow refers to a sequence of actions that can be triggered automatically in response to specific events. These events include editing your checkout experience or creating routing rules for your payment flow. Flows are customizable and configurable to meet specific business needs, making them a valuable tool for automating processes and improving overall efficiency.

Creating a new flow

To start the creation of a new payment flow in MoneyHash, follow these steps:

  1. In the Routing & Optimization section, select Payment Flows.
  2. Click the "+" button to create a new flow.
  3. Fill in the necessary details, the Flow Name and Accounts to assign to this flow.

Routing rules

You can configure each step as you wish, defining what will happen with each payment and imposing trigger rules for many situations. For example, You can add a trigger for payments initiated by the customer, and the currency is USD. Or you can add a trigger to handle every payment initiated by the customer that is not USD. Then, you can add a provider to define what happens to successful and failed payments.

Refer to the Routing rules page to see more about Routing Rules in MoneyHash.

  1. After concluding your rules, click Create to create the new payment flow.

Publishing the flow

Before you can use a flow, it must be published. Here's how to publish a flow:

  1. Locate the flow you wish to publish within the list on the Flows page.

  2. Click on the three-dot menu at the bottom-left of the flow when hovering it.

  3. From the menu that appears, choose Publish Flow.

Adding the flow to your payload

To add a flow to your accounts and trigger it, follow these steps:

  1. Find the flow you want to add.

  2. Below each flow name, you can find and copy the Flow ID.

  3. Add the parameter "flow":"#flow_id" to your payload to trigger the flow for the linked accounts.

Pay with a Payment Flow

When creating an intent, to use a flow_id you cannot send the operation type parameter, as the flow will already determine the type of operation. To better understand how to use payment flows in a payment process, refer to the Pay with a Payment Flow page.

You can effortlessly create and integrate flows into your MoneyHash account using these straightforward steps.