Intermediaries
curl --request GET \
--url https://uat-secure.float.co.za/api/merchants/{merchant_id}/config \
--header 'Authorization: Bearer <token>'import requests
url = "https://uat-secure.float.co.za/api/merchants/{merchant_id}/config"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://uat-secure.float.co.za/api/merchants/{merchant_id}/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://uat-secure.float.co.za/api/merchants/{merchant_id}/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://uat-secure.float.co.za/api/merchants/{merchant_id}/config"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://uat-secure.float.co.za/api/merchants/{merchant_id}/config")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://uat-secure.float.co.za/api/merchants/{merchant_id}/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyMerchant Config
Intermediaries
For platforms integrating Float on behalf of multiple merchants.
GET
/
api
/
merchants
/
{merchant_id}
/
config
Intermediaries
curl --request GET \
--url https://uat-secure.float.co.za/api/merchants/{merchant_id}/config \
--header 'Authorization: Bearer <token>'import requests
url = "https://uat-secure.float.co.za/api/merchants/{merchant_id}/config"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://uat-secure.float.co.za/api/merchants/{merchant_id}/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://uat-secure.float.co.za/api/merchants/{merchant_id}/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://uat-secure.float.co.za/api/merchants/{merchant_id}/config"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://uat-secure.float.co.za/api/merchants/{merchant_id}/config")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://uat-secure.float.co.za/api/merchants/{merchant_id}/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyAn intermediary integration lets a platform (a payment orchestrator, marketplace, or agency) create Float checkouts on behalf of many merchants using a single set of API credentials. Your Bearer token identifies you as the intermediary; the target merchant is addressed explicitly.
Rate limited to 5 requests per hour per config β cache per merchant.
Intermediary access is provisioned by Float β contact your account manager to have your integration flagged as an intermediary and to onboard the merchants you represent.
Get a managed merchantβs config
Identical toGET /api/config, but addressed to a specific merchant you manage.
string
required
The Float merchant identifier for the managed merchant, provided during that merchantβs onboarding.
curl https://uat-secure.float.co.za/api/merchants/12345678-1111-1111-1111-1234567890ab/config \
-H "Authorization: Bearer $FLOAT_CLIENT_SECRET"
200
{
"data": {
"id": "12345678-1111-1111-1111-1234567890ab",
"type": "merchants",
"attributes": {
"name": "South Park Cows Merch",
"rules": [
{ "from_amount": 10000, "to_amount": 100000000, "terms": [1, 2, 3, 4, 5, 6] }
]
}
}
}
Errors
| HTTP | When |
|---|---|
401 | Bad Bearer token |
404 | The merchant isnβt managed by your intermediary integration |
Everything else works the same
Checkouts, callbacks, and refunds use the same endpoints and semantics documented across this reference. A dedicated intermediary OpenAPI spec is also published at/api-docs-intermediary on each environment.