Consultar indicadores públicos
curl --request GET \
--url https://api.nyxpag.com.br/v1/transparencyconst options = {method: 'GET'};
fetch('https://api.nyxpag.com.br/v1/transparency', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nyxpag.com.br/v1/transparency"
response = requests.get(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.nyxpag.com.br/v1/transparency",
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;
}{
"success": true,
"data": {
"transacoesConcluidas": 42,
"contasCriadas": 18,
"volumeMovimentado": 124.15,
"moeda": "BRL",
"atualizadoEm": "2023-11-07T05:31:56Z"
}
}Transparência
Consultar indicadores públicos
Retorna somente totais consolidados. Não exige cadastro, sessão ou API Key.
GET
/
transparency
Consultar indicadores públicos
curl --request GET \
--url https://api.nyxpag.com.br/v1/transparencyconst options = {method: 'GET'};
fetch('https://api.nyxpag.com.br/v1/transparency', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nyxpag.com.br/v1/transparency"
response = requests.get(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.nyxpag.com.br/v1/transparency",
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;
}{
"success": true,
"data": {
"transacoesConcluidas": 42,
"contasCriadas": 18,
"volumeMovimentado": 124.15,
"moeda": "BRL",
"atualizadoEm": "2023-11-07T05:31:56Z"
}
}
