Get Organisation
curl --request GET \
--url https://mapi.boomfi.xyz/v1/orgs \
--header 'X-API-KEY: <api-key>'import requests
url = "https://mapi.boomfi.xyz/v1/orgs"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://mapi.boomfi.xyz/v1/orgs', 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://mapi.boomfi.xyz/v1/orgs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://mapi.boomfi.xyz/v1/orgs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mapi.boomfi.xyz/v1/orgs")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mapi.boomfi.xyz/v1/orgs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"created_at": "<string>",
"id": "<string>",
"logo_url": "<string>",
"name": "<string>",
"owner_user_id": "<string>",
"partner_id": "<string>",
"properties": {
"bridge_offramp": {
"kyc_link": {
"kyc_status": "<string>"
}
},
"currency": "<string>",
"email_notification_options": {},
"fee_payer": "<string>",
"forwarded_email_recipients": [
"<string>"
],
"is_suspended": true,
"kyb": {
"createdAt": "<string>",
"fixedInfo": {
"companyInfo": {
"companyName": "<string>"
}
},
"info": {
"companyInfo": {
"companyName": "<string>"
}
},
"review": {
"attemptCnt": 123,
"attemptId": "<string>",
"createDate": "<string>",
"elapsedSincePendingMs": 123,
"elapsedSinceQueuedMs": 123,
"levelAutoCheckMode": "<unknown>",
"levelName": "<string>",
"priority": 123,
"reprocessing": true,
"reviewDate": "<string>",
"reviewId": "<string>",
"reviewResult": {
"buttonIds": [
"<string>"
],
"clientComment": "<string>",
"moderationComment": "<string>",
"rejectLabels": [
"<string>"
],
"reviewAnswer": "<string>",
"reviewRejectType": "<string>"
},
"reviewStatus": 0
}
},
"kyc": {
"applicant_id": "<string>",
"comment": "<string>",
"created_at": "<string>",
"review_answer": "<string>",
"status": "<string>"
},
"suspension_type": "<string>",
"underpay_thresholds": {
"underpay_tolerance_amount": 123,
"underpay_tolerance_currency": "<string>",
"underpay_tolerance_usd": 123
}
},
"updated_at": "<string>",
"v1": "<unknown>",
"webhook_public_key": "<string>",
"webhook_url": "<string>"
},
"error": true,
"message": "<string>"
}{
"error": {
"code": 400,
"errors": [
{
"domain": "orders",
"reason": "InsufficientQuantity"
}
],
"message": "Insufficient quantity"
}
}{
"error": {
"code": 400,
"errors": [
{
"domain": "orders",
"reason": "InsufficientQuantity"
}
],
"message": "Insufficient quantity"
}
}{
"error": {
"code": 400,
"errors": [
{
"domain": "orders",
"reason": "InsufficientQuantity"
}
],
"message": "Insufficient quantity"
}
}Organisation
Get Organisation
Get the authenticated organisation’s settings, including webhook public key when configured.
GET
/
orgs
Get Organisation
curl --request GET \
--url https://mapi.boomfi.xyz/v1/orgs \
--header 'X-API-KEY: <api-key>'import requests
url = "https://mapi.boomfi.xyz/v1/orgs"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://mapi.boomfi.xyz/v1/orgs', 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://mapi.boomfi.xyz/v1/orgs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://mapi.boomfi.xyz/v1/orgs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mapi.boomfi.xyz/v1/orgs")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mapi.boomfi.xyz/v1/orgs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"created_at": "<string>",
"id": "<string>",
"logo_url": "<string>",
"name": "<string>",
"owner_user_id": "<string>",
"partner_id": "<string>",
"properties": {
"bridge_offramp": {
"kyc_link": {
"kyc_status": "<string>"
}
},
"currency": "<string>",
"email_notification_options": {},
"fee_payer": "<string>",
"forwarded_email_recipients": [
"<string>"
],
"is_suspended": true,
"kyb": {
"createdAt": "<string>",
"fixedInfo": {
"companyInfo": {
"companyName": "<string>"
}
},
"info": {
"companyInfo": {
"companyName": "<string>"
}
},
"review": {
"attemptCnt": 123,
"attemptId": "<string>",
"createDate": "<string>",
"elapsedSincePendingMs": 123,
"elapsedSinceQueuedMs": 123,
"levelAutoCheckMode": "<unknown>",
"levelName": "<string>",
"priority": 123,
"reprocessing": true,
"reviewDate": "<string>",
"reviewId": "<string>",
"reviewResult": {
"buttonIds": [
"<string>"
],
"clientComment": "<string>",
"moderationComment": "<string>",
"rejectLabels": [
"<string>"
],
"reviewAnswer": "<string>",
"reviewRejectType": "<string>"
},
"reviewStatus": 0
}
},
"kyc": {
"applicant_id": "<string>",
"comment": "<string>",
"created_at": "<string>",
"review_answer": "<string>",
"status": "<string>"
},
"suspension_type": "<string>",
"underpay_thresholds": {
"underpay_tolerance_amount": 123,
"underpay_tolerance_currency": "<string>",
"underpay_tolerance_usd": 123
}
},
"updated_at": "<string>",
"v1": "<unknown>",
"webhook_public_key": "<string>",
"webhook_url": "<string>"
},
"error": true,
"message": "<string>"
}{
"error": {
"code": 400,
"errors": [
{
"domain": "orders",
"reason": "InsufficientQuantity"
}
],
"message": "Insufficient quantity"
}
}{
"error": {
"code": 400,
"errors": [
{
"domain": "orders",
"reason": "InsufficientQuantity"
}
],
"message": "Insufficient quantity"
}
}{
"error": {
"code": 400,
"errors": [
{
"domain": "orders",
"reason": "InsufficientQuantity"
}
],
"message": "Insufficient quantity"
}
}