psp_provider_id of a provider is required in Create Vendor and Create Split Link, and is also available as a filter in List Vendors.
Easy Split
Get Providers
Check whether Easy Split is enabled for your account and fetch the payment provider IDs used when creating vendors and split links.
curl --location 'https://api.fastflowpe.com/merchant/easy-split/config' \
--header 'x-api-key: <your-x-api-key>'
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())
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());
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());
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
$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;
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
{
"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
}
}
{
"status": "error",
"status_code": 401,
"message": "No authorization/ x-api-key header provided.",
"detail": [
"No authorization/ x-api-key header provided."
],
"data": null
}
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
Was this page helpful?
⌘I
curl --location 'https://api.fastflowpe.com/merchant/easy-split/config' \
--header 'x-api-key: <your-x-api-key>'
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())
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());
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());
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
$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;
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
{
"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
}
}
{
"status": "error",
"status_code": 401,
"message": "No authorization/ x-api-key header provided.",
"detail": [
"No authorization/ x-api-key header provided."
],
"data": null
}