Skip to main content
GET
Receita atribuída: 30 dias atuais vs anteriores

Authorizations

Authorization
string
header
required

Chave de API (prefixo rstr_) enviada como Authorization: Bearer rstr_....

Response

200 - application/json

Default Response

period
enum<string>
required

Janela do dashboard. 30d: últimos 30 dias (buckets diários). 90d: 90 dias (semanais). ytd: ano corrente (mensais).

Available options:
30d,
90d,
ytd
Example:

"30d"

series
object[]
required

Pontos alinhados por índice entre o período atual e o anterior.

totalCurrentCents
integer
required

Total do período atual (centavos).

Required range: -9007199254740991 <= x <= 9007199254740991
totalPreviousCents
integer
required

Total do período anterior (centavos).

Required range: -9007199254740991 <= x <= 9007199254740991
deltaBps
integer
required

Variação atual×anterior em basis points (10000 = +100%).

Required range: -9007199254740991 <= x <= 9007199254740991