Create a business
curl --request POST \
--url https://api.3ringscapital.co/v1/businesses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Bluewave Logistics Ltd",
"country": "NG",
"baseCurrency": "NGN",
"industry": "logistics",
"externalId": "cust_8812"
}
'import requests
url = "https://api.3ringscapital.co/v1/businesses"
payload = {
"name": "Bluewave Logistics Ltd",
"country": "NG",
"baseCurrency": "NGN",
"industry": "logistics",
"externalId": "cust_8812"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Bluewave Logistics Ltd',
country: 'NG',
baseCurrency: 'NGN',
industry: 'logistics',
externalId: 'cust_8812'
})
};
fetch('https://api.3ringscapital.co/v1/businesses', 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://api.3ringscapital.co/v1/businesses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Bluewave Logistics Ltd',
'country' => 'NG',
'baseCurrency' => 'NGN',
'industry' => 'logistics',
'externalId' => 'cust_8812'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.3ringscapital.co/v1/businesses"
payload := strings.NewReader("{\n \"name\": \"Bluewave Logistics Ltd\",\n \"country\": \"NG\",\n \"baseCurrency\": \"NGN\",\n \"industry\": \"logistics\",\n \"externalId\": \"cust_8812\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.3ringscapital.co/v1/businesses")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Bluewave Logistics Ltd\",\n \"country\": \"NG\",\n \"baseCurrency\": \"NGN\",\n \"industry\": \"logistics\",\n \"externalId\": \"cust_8812\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.3ringscapital.co/v1/businesses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Bluewave Logistics Ltd\",\n \"country\": \"NG\",\n \"baseCurrency\": \"NGN\",\n \"industry\": \"logistics\",\n \"externalId\": \"cust_8812\"\n}"
response = http.request(request)
puts response.read_body{
"id": "biz_9f2",
"name": "Bluewave Logistics Ltd",
"country": "NG",
"baseCurrency": "NGN",
"createdAt": "2026-11-08T09:20:00Z",
"industry": "logistics",
"externalId": "cust_8812"
}{
"error": {
"type": "invalid_request",
"message": "businessId is required.",
"code": "business.missing",
"param": "<string>"
}
}{
"error": {
"type": "invalid_request",
"message": "businessId is required.",
"code": "business.missing",
"param": "<string>"
}
}{
"error": {
"type": "invalid_request",
"message": "businessId is required.",
"code": "business.missing",
"param": "<string>"
}
}{
"error": {
"type": "unbalanced_journal",
"message": "Debits (25000000) do not equal credits (24000000).",
"code": "journal.unbalanced"
}
}Businesses
Create a business
Create a business you serve. Each business is an isolated set of books (a sub-account) under your partner account.
POST
/
v1
/
businesses
Create a business
curl --request POST \
--url https://api.3ringscapital.co/v1/businesses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Bluewave Logistics Ltd",
"country": "NG",
"baseCurrency": "NGN",
"industry": "logistics",
"externalId": "cust_8812"
}
'import requests
url = "https://api.3ringscapital.co/v1/businesses"
payload = {
"name": "Bluewave Logistics Ltd",
"country": "NG",
"baseCurrency": "NGN",
"industry": "logistics",
"externalId": "cust_8812"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Bluewave Logistics Ltd',
country: 'NG',
baseCurrency: 'NGN',
industry: 'logistics',
externalId: 'cust_8812'
})
};
fetch('https://api.3ringscapital.co/v1/businesses', 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://api.3ringscapital.co/v1/businesses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Bluewave Logistics Ltd',
'country' => 'NG',
'baseCurrency' => 'NGN',
'industry' => 'logistics',
'externalId' => 'cust_8812'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.3ringscapital.co/v1/businesses"
payload := strings.NewReader("{\n \"name\": \"Bluewave Logistics Ltd\",\n \"country\": \"NG\",\n \"baseCurrency\": \"NGN\",\n \"industry\": \"logistics\",\n \"externalId\": \"cust_8812\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.3ringscapital.co/v1/businesses")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Bluewave Logistics Ltd\",\n \"country\": \"NG\",\n \"baseCurrency\": \"NGN\",\n \"industry\": \"logistics\",\n \"externalId\": \"cust_8812\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.3ringscapital.co/v1/businesses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Bluewave Logistics Ltd\",\n \"country\": \"NG\",\n \"baseCurrency\": \"NGN\",\n \"industry\": \"logistics\",\n \"externalId\": \"cust_8812\"\n}"
response = http.request(request)
puts response.read_body{
"id": "biz_9f2",
"name": "Bluewave Logistics Ltd",
"country": "NG",
"baseCurrency": "NGN",
"createdAt": "2026-11-08T09:20:00Z",
"industry": "logistics",
"externalId": "cust_8812"
}{
"error": {
"type": "invalid_request",
"message": "businessId is required.",
"code": "business.missing",
"param": "<string>"
}
}{
"error": {
"type": "invalid_request",
"message": "businessId is required.",
"code": "business.missing",
"param": "<string>"
}
}{
"error": {
"type": "invalid_request",
"message": "businessId is required.",
"code": "business.missing",
"param": "<string>"
}
}{
"error": {
"type": "unbalanced_journal",
"message": "Debits (25000000) do not equal credits (24000000).",
"code": "journal.unbalanced"
}
}Authorizations
Authenticate with your secret API key as a bearer token: Authorization: Bearer 3r_live_.... Keys are issued per partner from the dashboard; use 3r_test_... against the sandbox. Never expose a secret key in client-side code.
Headers
A unique key (e.g. a UUID) that makes a write safe to retry. Replaying the same key returns the original result instead of creating a duplicate.
Maximum string length:
255Body
application/json
Example:
"Bluewave Logistics Ltd"
ISO 3166-1 alpha-2 country code.
Example:
"NG"
ISO 4217 currency code for the books.
Example:
"NGN"
Used to pick a chart-of-accounts template.
Example:
"logistics"
Your own identifier for this business; returned on every record.
Example:
"cust_8812"
Response
Business created.