> ## Documentation Index
> Fetch the complete documentation index at: https://fastflowpe.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Easy Split Overview

> Onboard vendors, check their verification status, and create payment links that automatically split each payment between your vendors and your own account.

Easy Split lets you collect a single payment from your customer and automatically share it between one or more **vendors** (for example, sellers on your marketplace or service partners), with the remainder staying with you.

## The integration flow

**1. [Get your provider ID](https://fastflowpe.com/docs/easy-split/get-config.md)**

Check that Easy Split is enabled and note the `psp_provider_id` of your provider.

**2. [Create a vendor](https://fastflowpe.com/docs/easy-split/create-vendor.md)**

Register each vendor's bank and KYC details with that `psp_provider_id`, and note the returned `id`.

**3. [Wait until the vendor is ACTIVE](https://fastflowpe.com/docs/easy-split/list-vendors.md)**

Verification happens in the background. Check the vendor's status until it shows up as `ACTIVE`, or use [Sync Vendor](https://fastflowpe.com/docs/easy-split/sync-vendor.md) to force a refresh.

**4. [Create a split payment link](https://fastflowpe.com/docs/easy-split/create-split-link.md)**

Create a payment link and choose each vendor's share, passing the vendor's `id` as `vendor_id`.

**5. [Share payment\_url with the customer](https://fastflowpe.com/docs/easy-split/list-split-links.md)**

Send the returned `payment_url` to your customer, and track all your split links from one place.

> [!TIP]
>
> **Quick Reference**
>
> **Get providers:** `GET /merchant/easy-split/config`
>
> **Create vendor:** `POST /merchant/easy-split/vendors`
>
> **List vendors:** `GET /merchant/easy-split/vendors`
>
> **Get vendor:** `GET /merchant/easy-split/vendors/{vendor_id}`
>
> **Sync vendor status:** `POST /merchant/easy-split/vendors/{vendor_id}/sync`
>
> **Create split link:** `POST /merchant/easy-split/split-links`
>
> **List split links:** `GET /merchant/easy-split/split-links`
>
> **Auth:** `x-api-key` header on every request. Easy Split is available to the parent merchant account only (not sub-merchants) and must be enabled for your account on the payment provider — contact FastFlowPe support to enable it, then call Get Providers to fetch your `psp_provider_id`.

## Response format

Every response uses the same envelope. `status` is `success` or `error`; `status_code` mirrors the HTTP status; `data` holds the payload (or `null` on errors).

All failure codes returned by the Easy Split APIs:

**400**

Invalid request: a validation error, a bad query parameter or `vendor_id`, or an invalid split.

Returned by: [Create Vendor](https://fastflowpe.com/docs/easy-split/create-vendor.md), [List Vendors](https://fastflowpe.com/docs/easy-split/list-vendors.md), [Get Vendor](https://fastflowpe.com/docs/easy-split/get-vendor.md), [Sync Vendor](https://fastflowpe.com/docs/easy-split/sync-vendor.md), [Create Split Link](https://fastflowpe.com/docs/easy-split/create-split-link.md), [List Split Links](https://fastflowpe.com/docs/easy-split/list-split-links.md)

**401**

The `x-api-key` header is missing or invalid.

Returned by: [Get Providers](https://fastflowpe.com/docs/easy-split/get-config.md)

**403**

Easy Split is not enabled for your account on this payment provider, or the request was made as a sub-merchant.

Returned by: [Create Vendor](https://fastflowpe.com/docs/easy-split/create-vendor.md), [Create Split Link](https://fastflowpe.com/docs/easy-split/create-split-link.md), [List Split Links](https://fastflowpe.com/docs/easy-split/list-split-links.md)

**404**

No vendor with this ID exists on your account.

Returned by: [Get Vendor](https://fastflowpe.com/docs/easy-split/get-vendor.md), [Sync Vendor](https://fastflowpe.com/docs/easy-split/sync-vendor.md)

**409**

The vendor has not been registered with the provider yet, or a payment link with this `order_id` already exists.

Returned by: [Sync Vendor](https://fastflowpe.com/docs/easy-split/sync-vendor.md), [Create Split Link](https://fastflowpe.com/docs/easy-split/create-split-link.md)

**422**

The provider needs fields you did not send. `data.missing_fields` lists them.

Returned by: [Create Vendor](https://fastflowpe.com/docs/easy-split/create-vendor.md)

**500**

Unexpected server error. Retry after a short delay.

Returned by: [Get Providers](https://fastflowpe.com/docs/easy-split/get-config.md), [List Vendors](https://fastflowpe.com/docs/easy-split/list-vendors.md), [Get Vendor](https://fastflowpe.com/docs/easy-split/get-vendor.md), [Sync Vendor](https://fastflowpe.com/docs/easy-split/sync-vendor.md), [Create Split Link](https://fastflowpe.com/docs/easy-split/create-split-link.md), [List Split Links](https://fastflowpe.com/docs/easy-split/list-split-links.md)

**502**

The payment provider could not be reached or returned an error.

Returned by: [Sync Vendor](https://fastflowpe.com/docs/easy-split/sync-vendor.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.