Listar transações futuras
curl --request GET \
--url https://api.juridiq.com.br/financial/transactions/future \
--header 'x-juridiq-api-key: <api-key>'import requests
url = "https://api.juridiq.com.br/financial/transactions/future"
headers = {"x-juridiq-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-juridiq-api-key': '<api-key>'}};
fetch('https://api.juridiq.com.br/financial/transactions/future', 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.juridiq.com.br/financial/transactions/future",
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-juridiq-api-key: <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.juridiq.com.br/financial/transactions/future"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-juridiq-api-key", "<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.juridiq.com.br/financial/transactions/future")
.header("x-juridiq-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.juridiq.com.br/financial/transactions/future")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-juridiq-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"description": "<string>",
"type": "incoming",
"value": 123,
"partialValue": 123,
"date": "<string>",
"categoryName": "<string>",
"categoryIcon": "<string>",
"categoryColor": "<string>",
"transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"billId": "<string>",
"billName": "<string>",
"billIcon": "<string>",
"personId": "<string>",
"personName": "<string>",
"lawSuitId": "<string>",
"isPaid": true,
"isFixed": true,
"lawSuitProcessNumber": "<string>",
"schedulingIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"installmentLabel": "<string>",
"hasScheduling": true,
"annotations": "<string>",
"billIsPrivate": true,
"gateway": {
"kind": "PAYMENT",
"value": 123,
"createdAt": "<string>",
"status": "<string>",
"dueDate": "<string>",
"paymentDate": "<string>",
"installmentNumber": 123,
"discount": {
"value": 123,
"dueDateLimitDays": 1,
"type": "FIXED"
},
"fine": {
"value": 123,
"type": "FIXED"
},
"interest": {
"value": 123
},
"invoiceUrl": "<string>",
"gatewayPaymentUrl": "<string>"
}
}
],
"totalResults": 123,
"totalPages": 123
}Financial
Listar transações futuras
GET
/
financial
/
transactions
/
future
Listar transações futuras
curl --request GET \
--url https://api.juridiq.com.br/financial/transactions/future \
--header 'x-juridiq-api-key: <api-key>'import requests
url = "https://api.juridiq.com.br/financial/transactions/future"
headers = {"x-juridiq-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-juridiq-api-key': '<api-key>'}};
fetch('https://api.juridiq.com.br/financial/transactions/future', 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.juridiq.com.br/financial/transactions/future",
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-juridiq-api-key: <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.juridiq.com.br/financial/transactions/future"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-juridiq-api-key", "<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.juridiq.com.br/financial/transactions/future")
.header("x-juridiq-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.juridiq.com.br/financial/transactions/future")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-juridiq-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"description": "<string>",
"type": "incoming",
"value": 123,
"partialValue": 123,
"date": "<string>",
"categoryName": "<string>",
"categoryIcon": "<string>",
"categoryColor": "<string>",
"transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"billId": "<string>",
"billName": "<string>",
"billIcon": "<string>",
"personId": "<string>",
"personName": "<string>",
"lawSuitId": "<string>",
"isPaid": true,
"isFixed": true,
"lawSuitProcessNumber": "<string>",
"schedulingIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"installmentLabel": "<string>",
"hasScheduling": true,
"annotations": "<string>",
"billIsPrivate": true,
"gateway": {
"kind": "PAYMENT",
"value": 123,
"createdAt": "<string>",
"status": "<string>",
"dueDate": "<string>",
"paymentDate": "<string>",
"installmentNumber": 123,
"discount": {
"value": 123,
"dueDateLimitDays": 1,
"type": "FIXED"
},
"fine": {
"value": 123,
"type": "FIXED"
},
"interest": {
"value": 123
},
"invoiceUrl": "<string>",
"gatewayPaymentUrl": "<string>"
}
}
],
"totalResults": 123,
"totalPages": 123
}Authorizations
Chave de API do escritório (criada no painel). Envie o valor no header x-juridiq-api-key.
⌘I

