Pular para o conteúdo principal
GET
Get the account plan usage of an account

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

organization_id
string
obrigatório

Organization ID (UUID)

ledger_id
string
obrigatório

Ledger ID (UUID)

account_id
string
obrigatório

Account ID (UUID)

Parâmetros de consulta

period
string

Period to read, in the YYYY-MM format and the plan timezone. Defaults to the current period; a future period is refused.

Resposta

OK

accountId
string
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

accountPlanId
string
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

accountPlanVersion
integer<int64>
obrigatório

Version of the plan in effect now, whose fees and free quotas are listed.

Exemplo:

1

items
object[] | null
obrigatório

One item per fee and quota trigger. A transaction fee counts its free quota per scheme, so it lists one item per scheme.

period
object
obrigatório

Period the consumption is counted in.