> ## 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.

# Get Providers

> Check whether Easy Split is enabled for your account and fetch the payment provider IDs used when creating vendors and split links.

Call this endpoint first. It tells you whether Easy Split is enabled for your account and returns the **payment providers** you can use it with. The `psp_provider_id` of a provider is required in [Create Vendor](https://fastflowpe.com/docs/easy-split/create-vendor.md) and [Create Split Link](https://fastflowpe.com/docs/easy-split/create-split-link.md), and is also available as a filter in [List Vendors](https://fastflowpe.com/docs/easy-split/list-vendors.md).

> [!TIP]
>
> **Quick Reference**
>
> **Returns:** `enabled`, `providers`, `max_vendors_per_link`

> [!TIP]
>
> If `enabled` is `false` or `providers` is empty, Easy Split is not enabled for your account yet — contact FastFlowPe support. Easy Split is available to the parent merchant account only (not sub-merchants).

## Endpoint

```http theme={"dark"}
GET https://api.fastflowpe.com/merchant/easy-split/config
```

## Request Headers

**x-api-key** `string` *required*

Your API key.

```bash cURL theme={"dark"}
curl --location 'https://api.fastflowpe.com/merchant/easy-split/config' \
--header 'x-api-key: <your-x-api-key>'
```

```python Python theme={"dark"}
import requests

url = "https://api.fastflowpe.com/merchant/easy-split/config"
headers = {"x-api-key": "<your-x-api-key>"}

response = requests.get(url, headers=headers)
print(response.json())
```

```javascript Node.js theme={"dark"}
const response = await fetch("https://api.fastflowpe.com/merchant/easy-split/config", {
  method: "GET",
  headers: {
    "x-api-key": "<your-x-api-key>",
  },
});
console.log(await response.json());
```

```java Java theme={"dark"}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://api.fastflowpe.com/merchant/easy-split/config"))
    .header("x-api-key", "<your-x-api-key>")
    .GET()
    .build();

HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
```

```go Go theme={"dark"}
package main

import (
    "fmt"
    "io"
    "net/http"
)

func main() {
    req, _ := http.NewRequest("GET", "https://api.fastflowpe.com/merchant/easy-split/config", nil)
    req.Header.Set("x-api-key", "<your-x-api-key>")
    resp, _ := http.DefaultClient.Do(req)
    defer resp.Body.Close()
    body, _ := io.ReadAll(resp.Body)
    fmt.Println(string(body))
}
```

```php PHP theme={"dark"}
<?php

$ch = curl_init("https://api.fastflowpe.com/merchant/easy-split/config");

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

curl_setopt($ch, CURLOPT_HTTPHEADER, [

    "x-api-key: <your-x-api-key>",

]);

$response = curl_exec($ch);

curl_close($ch);

echo $response;
```

```ruby Ruby theme={"dark"}
require 'net/http'
require 'uri'
require 'json'

uri = URI('https://api.fastflowpe.com/merchant/easy-split/config')
request = Net::HTTP::Get.new(uri)
request['x-api-key'] = '<your-x-api-key>'

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(request) }
puts response.body
```

```json 200 theme={"dark"}
{
    "status": "success",
    "status_code": 200,
    "message": "Easy Split config fetched",
    "data": {
        "enabled": true,
        "providers": [
            {
                "psp_provider_id": "3f0c7a52-1d6e-4b8a-9c41-5a2e8d7b6f10",
                "psp_name": "Cashfree"
            }
        ],
        "max_vendors_per_link": 5
    }
}
```

```json 401 theme={"dark"}
{
    "status": "error",
    "status_code": 401,
    "message": "No authorization/ x-api-key header provided.",
    "detail": [
        "No authorization/ x-api-key header provided."
    ],
    "data": null
}
```

## Response

**status** `string`

Top-level API call result — `success` or `error`.

**status\_code** `integer`

HTTP-style status code of the result (e.g., `200`, `201`, `404`).

**message** `string`

Human-readable description of the result.

**data** `object`

**data fields**

**enabled** `boolean`

`true` when Easy Split can be used on at least one payment provider on your account.

**providers** `array`

The payment providers on which Easy Split is enabled for you. Empty when `enabled` is `false`.

**provider fields**

**psp\_provider\_id** `string (UUID)`

**Use this value as `psp_provider_id`** when creating vendors and split links.

**psp\_name** `string`

Name of the payment provider (e.g., `Cashfree`).

**max\_vendors\_per\_link** `integer`

Maximum number of vendors that can share a single payment (currently `5`).

## Error responses

**401**

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

**500**

Unexpected server error. Retry after a short delay.


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