Get integrations by authority
curl --request GET \
--url https://prod.api.reflect.money/integration/{authority}/integrationsimport requests
url = "https://prod.api.reflect.money/integration/{authority}/integrations"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://prod.api.reflect.money/integration/{authority}/integrations', 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://prod.api.reflect.money/integration/{authority}/integrations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://prod.api.reflect.money/integration/{authority}/integrations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://prod.api.reflect.money/integration/{authority}/integrations")
.asString();require 'uri'
require 'net/http'
url = URI("https://prod.api.reflect.money/integration/{authority}/integrations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"pubkey": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
"data": {
"brandedMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"stablecoinMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"fee": 200,
"principal": "1000000000",
"integratorsCommission": "20000000",
"authority": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
"bump": 255
},
"metadata": {
"name": "My Token",
"symbol": "MTK",
"image": "https://metadata-bucket.s3.region.amazonaws.com/images/abc123.png",
"description": "A great token"
}
}
]
}{
"success": false,
"message": "Invalid request data: depositAmount must be positive"
}{
"success": false,
"message": "Internal server error"
}Integration
Get integrations by authority
Retrieve all integrations associated with a specific authority address
GET
/
integration
/
{authority}
/
integrations
Get integrations by authority
curl --request GET \
--url https://prod.api.reflect.money/integration/{authority}/integrationsimport requests
url = "https://prod.api.reflect.money/integration/{authority}/integrations"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://prod.api.reflect.money/integration/{authority}/integrations', 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://prod.api.reflect.money/integration/{authority}/integrations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://prod.api.reflect.money/integration/{authority}/integrations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://prod.api.reflect.money/integration/{authority}/integrations")
.asString();require 'uri'
require 'net/http'
url = URI("https://prod.api.reflect.money/integration/{authority}/integrations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"pubkey": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
"data": {
"brandedMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"stablecoinMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"fee": 200,
"principal": "1000000000",
"integratorsCommission": "20000000",
"authority": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
"bump": 255
},
"metadata": {
"name": "My Token",
"symbol": "MTK",
"image": "https://metadata-bucket.s3.region.amazonaws.com/images/abc123.png",
"description": "A great token"
}
}
]
}{
"success": false,
"message": "Invalid request data: depositAmount must be positive"
}{
"success": false,
"message": "Internal server error"
}Path Parameters
Authority Solana address
Query Parameters
Solana cluster to use (defaults to mainnet)
Available options:
mainnet, devnet ⌘I