Every payment as a CSV an accountant can open
curl --request GET \
--url https://api.hellonear.xyz/v1/minds/{mindId}/payments.csv \
--cookie hn_session=import requests
url = "https://api.hellonear.xyz/v1/minds/{mindId}/payments.csv"
headers = {"cookie": "hn_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'hn_session='}};
fetch('https://api.hellonear.xyz/v1/minds/{mindId}/payments.csv', 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.hellonear.xyz/v1/minds/{mindId}/payments.csv",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "hn_session=",
]);
$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.hellonear.xyz/v1/minds/{mindId}/payments.csv"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "hn_session=")
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.hellonear.xyz/v1/minds/{mindId}/payments.csv")
.header("cookie", "hn_session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hellonear.xyz/v1/minds/{mindId}/payments.csv")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'hn_session='
response = http.request(request)
puts response.read_body<string>Wallet
Every payment as a CSV an accountant can open
GET
/
v1
/
minds
/
{mindId}
/
payments.csv
Every payment as a CSV an accountant can open
curl --request GET \
--url https://api.hellonear.xyz/v1/minds/{mindId}/payments.csv \
--cookie hn_session=import requests
url = "https://api.hellonear.xyz/v1/minds/{mindId}/payments.csv"
headers = {"cookie": "hn_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'hn_session='}};
fetch('https://api.hellonear.xyz/v1/minds/{mindId}/payments.csv', 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.hellonear.xyz/v1/minds/{mindId}/payments.csv",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "hn_session=",
]);
$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.hellonear.xyz/v1/minds/{mindId}/payments.csv"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "hn_session=")
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.hellonear.xyz/v1/minds/{mindId}/payments.csv")
.header("cookie", "hn_session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hellonear.xyz/v1/minds/{mindId}/payments.csv")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'hn_session='
response = http.request(request)
puts response.read_body<string>Authorizations
Path Parameters
Response
text/csv; charset=utf-8 (UTF-8 with a BOM, CRLF), downloaded as hellonear-{mindId}-payments.csv. Columns: Date (UTC), Status (in words; refused rows say no money moved), Direction, Amount (NEAR), Counterparty, Purpose (the data report or Mind offer it bought), Approved by (owner or your rule), Transaction hash, Explorer link (NearBlocks testnet), Note. Newest first, up to 10,000 rows
The response is of type string.