Projects
List projects owned by wallet
GET
/
api
/
projects
/
wallet
/
{address}
List projects owned by wallet
curl --request GET \
--url http://localhost:4000/api/projects/wallet/{address}import requests
url = "http://localhost:4000/api/projects/wallet/{address}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:4000/api/projects/wallet/{address}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "4000",
CURLOPT_URL => "http://localhost:4000/api/projects/wallet/{address}",
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 := "http://localhost:4000/api/projects/wallet/{address}"
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("http://localhost:4000/api/projects/wallet/{address}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:4000/api/projects/wallet/{address}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "ok",
"period": "<string>",
"projects": [
{
"id": 123,
"project_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_name": "<string>",
"wallet_address": "<string>",
"currency_symbol": "<string>",
"min_amount": "10.50",
"max_amount": "10.50",
"finalization_time": 123,
"is_active": true,
"network": "<string>",
"amount": "10.50",
"description": "<string>",
"merchant_url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}{
"status": "error",
"error": "invalid_request",
"reason": "<string>",
"detail": "<string>",
"field": "<string>",
"currency": "<string>",
"missing": [
"<string>"
],
"errors": {},
"message": "<string>",
"constraint": "<string>",
"tx_status": "<string>",
"project_uid": "<string>",
"widget_id": "<string>",
"expected": {}
}Path Parameters
Wallet address exactly as stored
Query Parameters
Time period used to aggregate confirmed amount per project
Available options:
1h, 1hour, 24h, 24hours, 7d, 7days, 1m, 1month, 1y, 1year, all, all_time Previous
Create transaction with signature verificationVerifies the `x-signature` header against the raw JSON request body using the project's secret key before creating a pending transaction.
Next
⌘I
List projects owned by wallet
curl --request GET \
--url http://localhost:4000/api/projects/wallet/{address}import requests
url = "http://localhost:4000/api/projects/wallet/{address}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:4000/api/projects/wallet/{address}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "4000",
CURLOPT_URL => "http://localhost:4000/api/projects/wallet/{address}",
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 := "http://localhost:4000/api/projects/wallet/{address}"
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("http://localhost:4000/api/projects/wallet/{address}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:4000/api/projects/wallet/{address}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "ok",
"period": "<string>",
"projects": [
{
"id": 123,
"project_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_name": "<string>",
"wallet_address": "<string>",
"currency_symbol": "<string>",
"min_amount": "10.50",
"max_amount": "10.50",
"finalization_time": 123,
"is_active": true,
"network": "<string>",
"amount": "10.50",
"description": "<string>",
"merchant_url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}{
"status": "error",
"error": "invalid_request",
"reason": "<string>",
"detail": "<string>",
"field": "<string>",
"currency": "<string>",
"missing": [
"<string>"
],
"errors": {},
"message": "<string>",
"constraint": "<string>",
"tx_status": "<string>",
"project_uid": "<string>",
"widget_id": "<string>",
"expected": {}
}