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

# Sync Vendor Status

> Refresh a vendor's verification status from the payment provider.

Ask the payment provider for the vendor's latest verification status and update it on FastFlowPe. The call is **synchronous** — it contacts the provider and returns the refreshed vendor. Use it when a vendor has been `PENDING` for a while and you want an up-to-date status instead of waiting.

> [!TIP]
>
> **Quick Reference**
>
> **Required:** `vendor_id` (path)
>
> **Returns:** vendor object (`id`, `status`)

> [!TIP]
>
> A vendor can only be synced after the provider has accepted it (`psp_status` is not `null`). Right after creation the registration may still be queued — wait a few seconds and retry.

## Endpoint

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

## Request Headers

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

Your API key.

## Path Parameters

**vendor\_id** `string (UUID)` *required*

The vendor's `id`.

```bash cURL theme={"dark"}
curl --location 'https://api.fastflowpe.com/merchant/easy-split/vendors/7e15f999-cb16-4a3d-b281-4fbe27ffb9b8/sync' \
--header 'x-api-key: <your-x-api-key>'
```

```python Python theme={"dark"}
import requests
 
url = "https://api.fastflowpe.com/merchant/easy-split/vendors/7e15f999-cb16-4a3d-b281-4fbe27ffb9b8/sync"
headers = {"x-api-key": "<your-x-api-key>"}
 
response = requests.post(url, headers=headers)
print(response.json())
```

```javascript Node.js theme={"dark"}
const response = await fetch("https://api.fastflowpe.com/merchant/easy-split/vendors/7e15f999-cb16-4a3d-b281-4fbe27ffb9b8/sync", {
  method: "POST",
  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/vendors/7e15f999-cb16-4a3d-b281-4fbe27ffb9b8/sync"))
    .header("x-api-key", "<your-x-api-key>")
    .POST()
    .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("POST", "https://api.fastflowpe.com/merchant/easy-split/vendors/7e15f999-cb16-4a3d-b281-4fbe27ffb9b8/sync", 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/vendors/7e15f999-cb16-4a3d-b281-4fbe27ffb9b8/sync");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
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/vendors/7e15f999-cb16-4a3d-b281-4fbe27ffb9b8/sync')
request = Net::HTTP::Post.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": "Vendor status synced",
    "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": "ACTIVE",
        "psp_status": "ACTIVE",
        "remarks": null,
        "last_synced_at": "2026-12-02T10:25:41.000000+00:00",
        "created_at": "2026-12-02T10:15:30.123456+00:00",
        "updated_at": "2026-12-02T10:15:30.123456+00:00"
    }
}
```

```json 409 theme={"dark"}
{
    "status": "error",
    "status_code": 409,
    "message": "Vendor has not been registered with the PSP yet",
    "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`

The refreshed [vendor object](#vendor-object).

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

`vendor_id` is not a valid UUID, or Easy Split is no longer enabled for this provider. Fix the request / contact support.

**404**

No vendor with this ID exists on your account. Check the ID.

**409**

The vendor has not been registered with the provider yet. Wait a few seconds and retry.

**500**

Unexpected server error. Retry after a short delay.

**502**

The payment provider could not be reached or returned an error. Retry after a short delay.


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