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

# Create a Vendor

> Register a vendor (bank and KYC details) so payments can be split to them.

Register a vendor so you can split payments to them. The vendor is saved immediately with status `PENDING` and registered with the payment provider in the background — the response does **not** mean the vendor is ready. Check the status with [Get Vendor](https://fastflowpe.com/docs/easy-split/get-vendor.md) (or [Sync Vendor](https://fastflowpe.com/docs/easy-split/sync-vendor.md)) until it becomes `ACTIVE`.

> [!TIP]
>
> **Quick Reference**
>
> **Required:** `psp_provider_id`, `name`, `email`, `phone`, `account_holder_name`, `bank_account_number`, `ifsc`, `kyc_details`
>
> **Returns:** vendor object (`id`, `status`)

## Endpoint

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

## Request Headers

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

Your API key.

**Content-Type** `string` *required*

Must be `application/json`.

## Request Body Parameters

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

ID of the payment provider the vendor is registered with. Get it from the [Get Providers](https://fastflowpe.com/docs/easy-split/get-config.md) API (`providers[].psp_provider_id`).

**name** `string` *required*

Vendor's name, **1–100 characters**. Allowed characters: letters, digits, space and `. / - &` only — no other special characters.

**email** `string` *required*

Vendor's email address. Must be a valid email.

**phone** `string` *required*

Vendor's **10-digit Indian mobile number** starting with 6, 7, 8 or 9. A leading `+91`, spaces and hyphens are accepted and stripped.

**account\_holder\_name** `string` *required*

Name of the bank account holder, exactly as on the bank account.

**bank\_account\_number** `string` *required*

Vendor's bank account number — **digits only, 5 to 35 digits**. Must be sent together with `ifsc`.

**ifsc** `string` *required*

Bank IFSC code in the format `AAAA0XXXXXX` (4 letters, the digit `0`, then 6 letters/digits). Lowercase is converted to uppercase.

**kyc\_details** `object` *required*

Vendor KYC information. Any other key inside `kyc_details` is rejected.

**kyc\_details fields**

**pan** `string`

10-character PAN: 5 letters, 4 digits, 1 letter (e.g., `ABCDE1234F`). Uppercased automatically. Send PAN or GST — at least one is required.

**gst** `string`

15 characters, uppercase letters and digits only (e.g., `29ABCDE1234F1Z5`). Send PAN or GST — at least one is required.

**account\_type** `string` *required*

One of the allowed account types. Must match exactly.

> [accordion] Allowed account\_type values
>
> * `Govt Authority/ULBs/Municipalities`
> * `Individual`
> * `Limited Liability Partnership (LLP)`
> * `Private Ltd or Public Ltd`
> * `Proprietorship`
> * `Society/Trust/Clubs/NGO/Association`

**business\_type** `string` *required*

One of the allowed business types. Must match exactly.

> [accordion] Allowed business\_type values
>
> * `B2B`
> * `Digital Goods`
> * `E-commerce`
> * `Education`
> * `Financial Services`
> * `Food and Beverages`
> * `Gaming`
> * `Government`
> * `Grocery`
> * `Healthcare`
> * `Insurance`
> * `Jewellery`
> * `NBFCs/Organizations into Lending`
> * `Logistics`
> * `Miscellaneous`
> * `Mutual funds/Broking`
> * `Non Profit/NGO`
> * `Online Gaming`
> * `Open and Semi Open Wallet`
> * `Pan shop`
> * `Pharmacy`
> * `Readymade`
> * `Real Estate, Housing, Rentals`
> * `Retail and Shopping`
> * `SaaS`
> * `Social Media and Entertainment`
> * `Society/Trust/Club/Association`
> * `Telecom`
> * `Travel and Hospitality`
> * `Utilities`
> * `Chit Funds`
> * `Web host/Domain seller`
> * `Professional Services (Doctors, Lawyers, Architects, CAs, and other Professionals)`

**cin** `string`

Corporate Identification Number (companies only).

**passport\_number** `string`

Optional identity document.

**uidai** `string`

Optional identity document.

**driving\_license** `string`

Optional identity document.

**voter\_id** `string`

Optional identity document.

> [!WARNING]
>
> Unknown fields are rejected. Do **not** send `vendor_ref` — it is generated by FastFlowPe.

```bash cURL theme={"dark"}
curl --location 'https://api.fastflowpe.com/merchant/easy-split/vendors' \
--header 'x-api-key: <your-x-api-key>' \
--header 'Content-Type: application/json' \
--data '{
  "psp_provider_id": "3f0c7a52-1d6e-4b8a-9c41-5a2e8d7b6f10",
  "name": "Acme Traders",
  "email": "accounts@acmetraders.example",
  "phone": "9876543210",
  "account_holder_name": "Acme Traders",
  "bank_account_number": "50100123456",
  "ifsc": "HDFC0001234",
  "kyc_details": {
    "pan": "ABCDE1234F",
    "account_type": "Proprietorship",
    "business_type": "Retail and Shopping"
  }
}'
```

```python Python theme={"dark"}
import requests
 
url = "https://api.fastflowpe.com/merchant/easy-split/vendors"
headers = {"x-api-key": "<your-x-api-key>", "Content-Type": "application/json"}
payload = {
  "psp_provider_id": "3f0c7a52-1d6e-4b8a-9c41-5a2e8d7b6f10",
  "name": "Acme Traders",
  "email": "accounts@acmetraders.example",
  "phone": "9876543210",
  "account_holder_name": "Acme Traders",
  "bank_account_number": "50100123456",
  "ifsc": "HDFC0001234",
  "kyc_details": {
    "pan": "ABCDE1234F",
    "account_type": "Proprietorship",
    "business_type": "Retail and Shopping"
  }
}
 
response = requests.post(url, json=payload, headers=headers)
print(response.json())
```

```javascript Node.js theme={"dark"}
const response = await fetch("https://api.fastflowpe.com/merchant/easy-split/vendors", {
  method: "POST",
  headers: {
    "x-api-key": "<your-x-api-key>",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "psp_provider_id": "3f0c7a52-1d6e-4b8a-9c41-5a2e8d7b6f10",
    "name": "Acme Traders",
    "email": "accounts@acmetraders.example",
    "phone": "9876543210",
    "account_holder_name": "Acme Traders",
    "bank_account_number": "50100123456",
    "ifsc": "HDFC0001234",
    "kyc_details": {
      "pan": "ABCDE1234F",
      "account_type": "Proprietorship",
      "business_type": "Retail and Shopping"
    }
  }),
});
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/vendors"))
    .header("x-api-key", "<your-x-api-key>")
    .header("Content-Type", "application/json")
    .POST(HttpRequest.BodyPublishers.ofString("{\"psp_provider_id\": \"3f0c7a52-1d6e-4b8a-9c41-5a2e8d7b6f10\", \"name\": \"Acme Traders\", \"email\": \"accounts@acmetraders.example\", \"phone\": \"9876543210\", \"account_holder_name\": \"Acme Traders\", \"bank_account_number\": \"50100123456\", \"ifsc\": \"HDFC0001234\", \"kyc_details\": {\"pan\": \"ABCDE1234F\", \"account_type\": \"Proprietorship\", \"business_type\": \"Retail and Shopping\"}}"))
    .build();
 
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
```

```go Go theme={"dark"}
package main
 
import (
    "bytes"
    "fmt"
    "io"
    "net/http"
)
 
func main() {
    payload := []byte(`{"psp_provider_id": "3f0c7a52-1d6e-4b8a-9c41-5a2e8d7b6f10", "name": "Acme Traders", "email": "accounts@acmetraders.example", "phone": "9876543210", "account_holder_name": "Acme Traders", "bank_account_number": "50100123456", "ifsc": "HDFC0001234", "kyc_details": {"pan": "ABCDE1234F", "account_type": "Proprietorship", "business_type": "Retail and Shopping"}}`)
    req, _ := http.NewRequest("POST", "https://api.fastflowpe.com/merchant/easy-split/vendors", bytes.NewBuffer(payload))
    req.Header.Set("x-api-key", "<your-x-api-key>")
    req.Header.Set("Content-Type", "application/json")
    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/vendors");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, '{"psp_provider_id": "3f0c7a52-1d6e-4b8a-9c41-5a2e8d7b6f10", "name": "Acme Traders", "email": "accounts@acmetraders.example", "phone": "9876543210", "account_holder_name": "Acme Traders", "bank_account_number": "50100123456", "ifsc": "HDFC0001234", "kyc_details": {"pan": "ABCDE1234F", "account_type": "Proprietorship", "business_type": "Retail and Shopping"}}');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "x-api-key: <your-x-api-key>",
    "Content-Type: application/json",
]);
$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/vendors')
request = Net::HTTP::Post.new(uri)
request['x-api-key'] = '<your-x-api-key>'
request['Content-Type'] = 'application/json'
request.body = '{"psp_provider_id": "3f0c7a52-1d6e-4b8a-9c41-5a2e8d7b6f10", "name": "Acme Traders", "email": "accounts@acmetraders.example", "phone": "9876543210", "account_holder_name": "Acme Traders", "bank_account_number": "50100123456", "ifsc": "HDFC0001234", "kyc_details": {"pan": "ABCDE1234F", "account_type": "Proprietorship", "business_type": "Retail and Shopping"}}'
 
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(request) }
puts response.body
```

```json 201 theme={"dark"}
{
    "status": "success",
    "status_code": 201,
    "message": "Vendor created. Registration with the PSP is in progress.",
    "data": {
        "id": "7e15f999-cb16-4a3d-b281-4fbe27ffb9b8",
        "psp_provider_id": "3f0c7a52-1d6e-4b8a-9c41-5a2e8d7b6f10",
        "psp_name": "Cashfree",
        "vendor_ref": "FFP_VENDOR_7e15f999cb164a3db2814fbe27ffb9b8",
        "name": "Acme Traders",
        "email": "accounts@acmetraders.example",
        "phone": "9876543210",
        "account_holder_name": "Acme Traders",
        "bank_account_number": "********3456",
        "ifsc": "HDFC0001234",
        "vpa": null,
        "kyc_details": {
            "pan": "ABCDE1234F",
            "account_type": "Proprietorship",
            "business_type": "Retail and Shopping"
        },
        "is_active": true,
        "status": "PENDING",
        "psp_status": null,
        "remarks": null,
        "last_synced_at": null,
        "created_at": "2026-12-02T10:15:30.123456+00:00",
        "updated_at": "2026-12-02T10:15:30.123456+00:00"
    }
}
```

```json 400 theme={"dark"}
{
    "status": "error",
    "status_code": 400,
    "message": "Validation error.",
    "detail": [
        "phone: Value error, phone must be a 10-digit mobile number (excluding +91)",
        "ifsc: Value error, Invalid IFSC format"
    ],
    "data": null
}
```

```json 422 theme={"dark"}
{
    "status": "error",
    "status_code": 422,
    "message": "Missing required fields: kyc_details.account_type, kyc_details.business_type",
    "data": {
        "missing_fields": [
            "kyc_details.account_type",
            "kyc_details.business_type"
        ]
    }
}
```

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

The created vendor. See [Vendor object](#vendor-object) for every field.

## Vendor object

Every vendor endpoint returns vendors in this shape.

**vendor** `object`

**vendor fields**

**id** `string (UUID)`

FastFlowPe's identifier for the vendor. **Use this as `vendor_id`** in the split-link APIs and in the vendor URL paths.

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

The payment provider the vendor is registered with.

**psp\_name** `string`

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

**vendor\_ref** `string`

Reference ID generated by FastFlowPe and used to register the vendor with the provider. Read-only.

**name, email, phone** `string`

Vendor details as submitted.

**account\_holder\_name, ifsc** `string`

Bank payout details as submitted.

**bank\_account\_number** `string`

**Masked** — only the last 4 digits are returned (e.g., `********3456`).

**kyc\_details** `object`

KYC details as submitted (only the fields you sent are returned).

**is\_active** `boolean`

Whether the vendor is enabled on the FastFlowPe side. An inactive vendor cannot be used in a split.

**status** `string`

Vendor onboarding status. Only `ACTIVE` vendors can receive a split.

* `PENDING` — registration or KYC/bank verification is in progress.
* `ACTIVE` — verified and ready to receive split payments.
* `FAILED` — the provider rejected the vendor (see `remarks`). Create a new vendor with corrected details.
* `BLOCKED` — the vendor has been blocked by the provider.

**psp\_status** `string | null`

Detailed status reported by the provider (e.g., `IN_BANK_VALIDATION`, `IN_KYC_REVIEW`, `ACTION_REQUIRED`, `ON_HOLD`, `BANK_VALIDATION_FAILED`, `ACTIVE`). `null` until the provider has accepted the vendor.

**remarks** `string | null`

Reason or note from the provider, mostly useful when `status` is `FAILED` or the vendor is stuck in `PENDING`.

**last\_synced\_at** `string (ISO 8601) | null`

When the vendor's status was last fetched from the provider.

**created\_at, updated\_at** `string (ISO 8601)`

Record timestamps (UTC).

## Error responses

**400**

Validation error — bad format, unknown field, or inconsistent fields. Also returned when `psp_provider_id` is not found / not supported. `detail` lists each problem, e.g. `"phone: Value error, phone must be a 10-digit mobile number (excluding +91)"`.

**403**

Easy Split is not enabled for your account on this payment provider. Contact FastFlowPe support.

**422**

The provider needs fields you did not send. `data.missing_fields` lists them (e.g., `kyc_details.account_type`, `kyc_details.pan or kyc_details.gst`).


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