Submit incorporation details
curl --request POST \
--url https://public-api-v2.bags.fm/api/v1/incorporate/incorporate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"orderUUID": "<string>",
"paymentSignature": "<string>",
"projectName": "<string>",
"tokenAddress": "<string>",
"founders": [
{
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"nationalityCountry": "<string>",
"taxResidencyCountry": "<string>",
"residentialAddress": "<string>",
"shareBasisPoint": 123
}
],
"incorporationShareBasisPoint": 2500,
"preferredCompanyNames": [
"<string>"
],
"twitterHandle": "<string>"
}
'import requests
url = "https://public-api-v2.bags.fm/api/v1/incorporate/incorporate"
payload = {
"orderUUID": "<string>",
"paymentSignature": "<string>",
"projectName": "<string>",
"tokenAddress": "<string>",
"founders": [
{
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"nationalityCountry": "<string>",
"taxResidencyCountry": "<string>",
"residentialAddress": "<string>",
"shareBasisPoint": 123
}
],
"incorporationShareBasisPoint": 2500,
"preferredCompanyNames": ["<string>"],
"twitterHandle": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
orderUUID: '<string>',
paymentSignature: '<string>',
projectName: '<string>',
tokenAddress: '<string>',
founders: [
{
firstName: '<string>',
lastName: '<string>',
email: '<string>',
nationalityCountry: '<string>',
taxResidencyCountry: '<string>',
residentialAddress: '<string>',
shareBasisPoint: 123
}
],
incorporationShareBasisPoint: 2500,
preferredCompanyNames: ['<string>'],
twitterHandle: '<string>'
})
};
fetch('https://public-api-v2.bags.fm/api/v1/incorporate/incorporate', 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://public-api-v2.bags.fm/api/v1/incorporate/incorporate",
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([
'orderUUID' => '<string>',
'paymentSignature' => '<string>',
'projectName' => '<string>',
'tokenAddress' => '<string>',
'founders' => [
[
'firstName' => '<string>',
'lastName' => '<string>',
'email' => '<string>',
'nationalityCountry' => '<string>',
'taxResidencyCountry' => '<string>',
'residentialAddress' => '<string>',
'shareBasisPoint' => 123
]
],
'incorporationShareBasisPoint' => 2500,
'preferredCompanyNames' => [
'<string>'
],
'twitterHandle' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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://public-api-v2.bags.fm/api/v1/incorporate/incorporate"
payload := strings.NewReader("{\n \"orderUUID\": \"<string>\",\n \"paymentSignature\": \"<string>\",\n \"projectName\": \"<string>\",\n \"tokenAddress\": \"<string>\",\n \"founders\": [\n {\n \"firstName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"email\": \"<string>\",\n \"nationalityCountry\": \"<string>\",\n \"taxResidencyCountry\": \"<string>\",\n \"residentialAddress\": \"<string>\",\n \"shareBasisPoint\": 123\n }\n ],\n \"incorporationShareBasisPoint\": 2500,\n \"preferredCompanyNames\": [\n \"<string>\"\n ],\n \"twitterHandle\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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://public-api-v2.bags.fm/api/v1/incorporate/incorporate")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"orderUUID\": \"<string>\",\n \"paymentSignature\": \"<string>\",\n \"projectName\": \"<string>\",\n \"tokenAddress\": \"<string>\",\n \"founders\": [\n {\n \"firstName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"email\": \"<string>\",\n \"nationalityCountry\": \"<string>\",\n \"taxResidencyCountry\": \"<string>\",\n \"residentialAddress\": \"<string>\",\n \"shareBasisPoint\": 123\n }\n ],\n \"incorporationShareBasisPoint\": 2500,\n \"preferredCompanyNames\": [\n \"<string>\"\n ],\n \"twitterHandle\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api-v2.bags.fm/api/v1/incorporate/incorporate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"orderUUID\": \"<string>\",\n \"paymentSignature\": \"<string>\",\n \"projectName\": \"<string>\",\n \"tokenAddress\": \"<string>\",\n \"founders\": [\n {\n \"firstName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"email\": \"<string>\",\n \"nationalityCountry\": \"<string>\",\n \"taxResidencyCountry\": \"<string>\",\n \"residentialAddress\": \"<string>\",\n \"shareBasisPoint\": 123\n }\n ],\n \"incorporationShareBasisPoint\": 2500,\n \"preferredCompanyNames\": [\n \"<string>\"\n ],\n \"twitterHandle\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"response": {
"tokenAddress": "<string>",
"incorporationStatus": "<string>",
"founders": [
{
"founderId": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"kycUrl": "<string>",
"shareBasisPoint": 123,
"pep": {
"isSelfPoliticallyExposed": true,
"selfPoliticalPositions": "<string>",
"isCloseToPoliticallyExposed": true,
"closeToPoliticallyExposedFullName": "<string>",
"closeToPoliticallyExposedPositions": "<string>",
"closeToPoliticallyExposedRelationship": "<string>",
"politicallyExposedDataUpdatedAt": "<string>"
},
"formUrl": "<string>",
"ipAttributionAcknowledgedAt": "<string>"
}
],
"incorporationShareBasisPoint": 123,
"preferredCompanyNames": [
"<string>"
],
"category": "<string>",
"twitterHandle": "<string>"
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Incorporation
Submit Incorporation Details
Submits incorporation details after payment has been completed. Registers the project with its founders, company name preferences, and category.
The sum of all founder shareBasisPoint values plus incorporationShareBasisPoint must equal exactly 10000 (100%).
POST
/
incorporate
/
incorporate
Submit incorporation details
curl --request POST \
--url https://public-api-v2.bags.fm/api/v1/incorporate/incorporate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"orderUUID": "<string>",
"paymentSignature": "<string>",
"projectName": "<string>",
"tokenAddress": "<string>",
"founders": [
{
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"nationalityCountry": "<string>",
"taxResidencyCountry": "<string>",
"residentialAddress": "<string>",
"shareBasisPoint": 123
}
],
"incorporationShareBasisPoint": 2500,
"preferredCompanyNames": [
"<string>"
],
"twitterHandle": "<string>"
}
'import requests
url = "https://public-api-v2.bags.fm/api/v1/incorporate/incorporate"
payload = {
"orderUUID": "<string>",
"paymentSignature": "<string>",
"projectName": "<string>",
"tokenAddress": "<string>",
"founders": [
{
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"nationalityCountry": "<string>",
"taxResidencyCountry": "<string>",
"residentialAddress": "<string>",
"shareBasisPoint": 123
}
],
"incorporationShareBasisPoint": 2500,
"preferredCompanyNames": ["<string>"],
"twitterHandle": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
orderUUID: '<string>',
paymentSignature: '<string>',
projectName: '<string>',
tokenAddress: '<string>',
founders: [
{
firstName: '<string>',
lastName: '<string>',
email: '<string>',
nationalityCountry: '<string>',
taxResidencyCountry: '<string>',
residentialAddress: '<string>',
shareBasisPoint: 123
}
],
incorporationShareBasisPoint: 2500,
preferredCompanyNames: ['<string>'],
twitterHandle: '<string>'
})
};
fetch('https://public-api-v2.bags.fm/api/v1/incorporate/incorporate', 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://public-api-v2.bags.fm/api/v1/incorporate/incorporate",
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([
'orderUUID' => '<string>',
'paymentSignature' => '<string>',
'projectName' => '<string>',
'tokenAddress' => '<string>',
'founders' => [
[
'firstName' => '<string>',
'lastName' => '<string>',
'email' => '<string>',
'nationalityCountry' => '<string>',
'taxResidencyCountry' => '<string>',
'residentialAddress' => '<string>',
'shareBasisPoint' => 123
]
],
'incorporationShareBasisPoint' => 2500,
'preferredCompanyNames' => [
'<string>'
],
'twitterHandle' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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://public-api-v2.bags.fm/api/v1/incorporate/incorporate"
payload := strings.NewReader("{\n \"orderUUID\": \"<string>\",\n \"paymentSignature\": \"<string>\",\n \"projectName\": \"<string>\",\n \"tokenAddress\": \"<string>\",\n \"founders\": [\n {\n \"firstName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"email\": \"<string>\",\n \"nationalityCountry\": \"<string>\",\n \"taxResidencyCountry\": \"<string>\",\n \"residentialAddress\": \"<string>\",\n \"shareBasisPoint\": 123\n }\n ],\n \"incorporationShareBasisPoint\": 2500,\n \"preferredCompanyNames\": [\n \"<string>\"\n ],\n \"twitterHandle\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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://public-api-v2.bags.fm/api/v1/incorporate/incorporate")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"orderUUID\": \"<string>\",\n \"paymentSignature\": \"<string>\",\n \"projectName\": \"<string>\",\n \"tokenAddress\": \"<string>\",\n \"founders\": [\n {\n \"firstName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"email\": \"<string>\",\n \"nationalityCountry\": \"<string>\",\n \"taxResidencyCountry\": \"<string>\",\n \"residentialAddress\": \"<string>\",\n \"shareBasisPoint\": 123\n }\n ],\n \"incorporationShareBasisPoint\": 2500,\n \"preferredCompanyNames\": [\n \"<string>\"\n ],\n \"twitterHandle\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api-v2.bags.fm/api/v1/incorporate/incorporate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"orderUUID\": \"<string>\",\n \"paymentSignature\": \"<string>\",\n \"projectName\": \"<string>\",\n \"tokenAddress\": \"<string>\",\n \"founders\": [\n {\n \"firstName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"email\": \"<string>\",\n \"nationalityCountry\": \"<string>\",\n \"taxResidencyCountry\": \"<string>\",\n \"residentialAddress\": \"<string>\",\n \"shareBasisPoint\": 123\n }\n ],\n \"incorporationShareBasisPoint\": 2500,\n \"preferredCompanyNames\": [\n \"<string>\"\n ],\n \"twitterHandle\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"response": {
"tokenAddress": "<string>",
"incorporationStatus": "<string>",
"founders": [
{
"founderId": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"kycUrl": "<string>",
"shareBasisPoint": 123,
"pep": {
"isSelfPoliticallyExposed": true,
"selfPoliticalPositions": "<string>",
"isCloseToPoliticallyExposed": true,
"closeToPoliticallyExposedFullName": "<string>",
"closeToPoliticallyExposedPositions": "<string>",
"closeToPoliticallyExposedRelationship": "<string>",
"politicallyExposedDataUpdatedAt": "<string>"
},
"formUrl": "<string>",
"ipAttributionAcknowledgedAt": "<string>"
}
],
"incorporationShareBasisPoint": 123,
"preferredCompanyNames": [
"<string>"
],
"category": "<string>",
"twitterHandle": "<string>"
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Authorizations
API key authentication. Provide your API key as the header value.
Body
application/json
Order UUID from the start payment step
On-chain signature of the submitted payment transaction
Project name (1-200 chars)
Token mint address
1-10 founders for the incorporation
Required array length:
1 - 10 elementsShow child attributes
Show child attributes
Incorporation share in basis points (2000-3000)
Required range:
2000 <= x <= 3000Exactly 3 preferred company names (each 1-200 chars)
Required array length:
3 elementsProject category
Available options:
RWA, AI, DEFI, INFRA, DEPIN, LEGAL, GAMING, NFT, MEME Twitter handle (alphanumeric and underscores only, max 50 chars)
⌘I
