Consultar o resumo do Financeiro
GET
/api/seller/external/v1/finance/summary
curl --request GET \ --get "https://api.spelt.com.br/api/seller/external/v1/finance/summary" \ --header "Authorization: Bearer splt_live_SUA_CHAVE" \ --header "Content-Type: application/json" \ --header "Accept: application/json"const url = new URL( "https://api.spelt.com.br/api/seller/external/v1/finance/summary");
const headers = { "Authorization": "Bearer splt_live_SUA_CHAVE", "Content-Type": "application/json", "Accept": "application/json",};
fetch(url, { method: "GET", headers,}).then(response => response.json());$client = new \GuzzleHttp\Client();$url = 'https://api.spelt.com.br/api/seller/external/v1/finance/summary';$response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer splt_live_SUA_CHAVE', 'Content-Type' => 'application/json', 'Accept' => 'application/json', ], ]);$body = $response->getBody();print_r(json_decode((string) $body));import requestsimport json
url = 'https://api.spelt.com.br/api/seller/external/v1/finance/summary'headers = { 'Authorization': 'Bearer splt_live_SUA_CHAVE', 'Content-Type': 'application/json', 'Accept': 'application/json'}
response = requests.request('GET', url, headers=headers)response.json()A pagar e a receber hoje, vencidos e no mês, e o saldo das contas ativas. Cada bloco de payable e receivable (today, overdue, month) tem count e amount iguais ao total e ao totals.total_open de GET /finance/installment com o filtro equivalente. “Hoje” e o mês seguem o fuso da conta.
Authorizations
Seção intitulada “Authorizations”Responses
Seção intitulada “Responses”Media typeapplication/json
object
data
object
date
string
payable
object
today
object
amount
string
count
integer
overdue
object
amount
string
count
integer
month
object
amount
string
count
integer
receivable
object
today
object
amount
string
count
integer
overdue
object
amount
string
count
integer
month
object
amount
string
count
integer
bank_accounts
Array<object>
object
id
string
name
string
kind
string
balance
string
is_negative
boolean
balance_total
string
balance_total_is_negative
boolean
Example
{ "data": { "date": "2026-10-14", "payable": { "today": { "amount": "343.38", "count": 1 }, "overdue": { "amount": "0.00", "count": 0 }, "month": { "amount": "1200.00", "count": 3 } }, "receivable": { "today": { "amount": "0.00", "count": 0 }, "overdue": { "amount": "0.00", "count": 0 }, "month": { "amount": "0.00", "count": 0 } }, "bank_accounts": [ { "id": "01JA…", "name": "Itaú PJ", "kind": "bank", "balance": "950.00", "is_negative": false } ], "balance_total": "950.00", "balance_total_is_negative": false }}