Skip to main content
POST
portfolio_credit_returns

Authorizations

apikey
string
header
required

The publishable key (sb_publishable_…), on every request. It is NOT a JWT — sending it as Authorization: Bearer is rejected as an invalid JWT. It identifies the project, not you, and maps to the Postgres anon role.

Body

application/json
p_codes
(string | null)[] | null
required
p_end_month
string<date> | null
required
p_series
(integer<int32> | null)[] | null

Defaults to NULL::integer[].

p_classes
(string | null)[] | null

Defaults to NULL::text[].

Response

The result set, oldest first. An unknown id is an empty array, not a 404 and never a guessed value.

line_no
integer<int32> | null
input_code
string | null
code
string | null
numero_serie
integer<int32> | null
classe
string | null
month
string<date> | null
data_referencia
string<date> | null
versao
integer<int32> | null
quantidade_certificados
number | null
valor_certificados
number | null
rendimentos
number | null
amortizacoes
number | null
pu
number | null
paid_per_unit
number | null
factor
number | null
month_flag
string | null
taxa_juros
string | null
data_vencimento
string<date> | null
reason
string | null