Skip to main content
GET
/
users
/
fetch-integration
Fetch Account Details
curl --request GET \
  --url https://api.breet.io/v1/users/fetch-integration \
  --header 'X-Breet-Env: <api-key>' \
  --header 'x-app-id: <api-key>' \
  --header 'x-app-secret: <api-key>'
import requests

url = "https://api.breet.io/v1/users/fetch-integration"

headers = {
"x-app-id": "<api-key>",
"x-app-secret": "<api-key>",
"X-Breet-Env": "<api-key>"
}

response = requests.get(url, headers=headers)

print(response.text)
const options = {
method: 'GET',
headers: {
'x-app-id': '<api-key>',
'x-app-secret': '<api-key>',
'X-Breet-Env': '<api-key>'
}
};

fetch('https://api.breet.io/v1/users/fetch-integration', 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.breet.io/v1/users/fetch-integration",
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-Breet-Env: <api-key>",
"x-app-id: <api-key>",
"x-app-secret: <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://api.breet.io/v1/users/fetch-integration"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("x-app-id", "<api-key>")
req.Header.Add("x-app-secret", "<api-key>")
req.Header.Add("X-Breet-Env", "<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://api.breet.io/v1/users/fetch-integration")
.header("x-app-id", "<api-key>")
.header("x-app-secret", "<api-key>")
.header("X-Breet-Env", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.breet.io/v1/users/fetch-integration")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-app-id"] = '<api-key>'
request["x-app-secret"] = '<api-key>'
request["X-Breet-Env"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "message": "data fetched",
  "success": true,
  "data": {
    "_id": "692d994b7ca6e4da422363fb",
    "id": "692d994b7ca6e4da422363fb",
    "webhook": {
      "url": "https://webhook.site/8982fc25-e507-410a-aa8d-874be3a4e72c",
      "secret": "breet_whsec_test_bJvWISpL9WvpZw0coXdHxMZwD3n303ra615UsVQjZc"
    },
    "merchantReference": "B-LBNS1M85",
    "appId": "b7362d4d-5254-45ae-9bba-23888d9ea046",
    "isActive": true,
    "user": {
      "_id": "68ca0d24604d65932aac2fc8",
      "id": "68ca0d24604d65932aac2fc8",
      "country": "nigeria",
      "name": "AB Vip",
      "email": "abcdvip@yopmail.com",
      "phoneNumber": "2341234567890"
    },
    "autoSettlement": false,
    "fiatWallets": [
      {
        "_id": "68d2bdbcf8dfc915d9af55b9",
        "id": "68d2bdbcf8dfc915d9af55b9",
        "balance": 20672860.25790078,
        "currency": "ngn"
      },
      {
        "_id": "69415ce9d75a0b24db9ef8bb",
        "id": "69415ce9d75a0b24db9ef8bb",
        "balance": 44080.5,
        "currency": "usd"
      }
    ],
    "cryptoWallets": [
      {
        "_id": "68d2cf54b1cf5a774ab92f49",
        "id": "68d2cf54b1cf5a774ab92f49",
        "currency": "ngn",
        "name": "Doge Coin Test",
        "identifier": "DOGE_TEST",
        "address": "nhaUun3MKT2DZ4UehDZ4bR74U3WuFuY2k3"
      },
      {
        "_id": "68d2cf52b1cf5a774ab92f48",
        "id": "68d2cf52b1cf5a774ab92f48",
        "currency": "ngn",
        "name": "Bitcoin Test",
        "identifier": "BTC_TEST",
        "address": "tb1q9d577yrwes9krmrm6dhn8svwqq0dfz6tv9qa2l"
      },
      {
        "_id": "68d2cf51b1cf5a774ab92f47",
        "id": "68d2cf51b1cf5a774ab92f47",
        "currency": "ngn",
        "name": "Bitcoin Cash Test",
        "identifier": "BCH_TEST",
        "address": "bchtest:qqm64peafqa8ds8kxutcgp0gm9grpyqgxqkssc62gt"
      },
      {
        "_id": "68d2cf4fb1cf5a774ab92f46",
        "id": "68d2cf4fb1cf5a774ab92f46",
        "currency": "ngn",
        "name": "Solana Test",
        "identifier": "SOL_TEST",
        "address": "64ESMMm3pDEPrWKuY1YfJP5pBNjDoxZzYEUDRWgXM1Lo"
      },
      {
        "_id": "68d2cf4e3163be4cdb12a793",
        "id": "68d2cf4e3163be4cdb12a793",
        "currency": "ngn",
        "name": "Litecoin Test",
        "identifier": "LTC_TEST",
        "address": "tltc1q0t0x3ln6kj3ptvunmx6d786ddgfsckma8sd24z"
      },
      {
        "_id": "68d2cf4cb1cf5a774ab92f45",
        "id": "68d2cf4cb1cf5a774ab92f45",
        "currency": "ngn",
        "name": "Ethereum Test (Sepolia)",
        "identifier": "ETH_TEST5",
        "address": "0x13380Ab16b01D01e9ab3fA9bDDEd09cAb54234B2"
      },
      {
        "_id": "68d2cf4b3163be4cdb12a792",
        "id": "68d2cf4b3163be4cdb12a792",
        "currency": "ngn",
        "name": "BNB Smart Chain Testnet",
        "identifier": "BNB_TEST",
        "address": "0x13380Ab16b01D01e9ab3fA9bDDEd09cAb54234B2"
      },
      {
        "_id": "68d2cf493163be4cdb12a791",
        "id": "68d2cf493163be4cdb12a791",
        "currency": "ngn",
        "name": "Tron Test",
        "identifier": "TRX_TEST",
        "address": "TBipyZ6aVbUUnfUZWo4ohnWQa2kyuHV14N"
      }
    ],
    "platformFeePercent": 1.5,
    "createdAt": "2025-12-01T13:34:03.240Z",
    "updatedAt": "2026-01-14T09:33:46.137Z"
  },
  "meta": {},
  "summary": {},
  "stats": {}
}
{
"success": false,
"message": "you do not have API access",
"meta": {},
"errors": [],
"data": {}
}
{
"success": false,
"message": "something went wrong!",
"meta": {},
"errors": [],
"data": {}
}

Authorizations

x-app-id
string
header
required

Your application ID from the Breet dashboard

x-app-secret
string
header
required

Your application secret from the Breet dashboard

X-Breet-Env
string
header
required

Environment selector: development or production

Response

Integration details returned successfully