Pular para o conteúdo

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"

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.

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
}
}