Pular para o conteúdo principal
POST
Cancel a maintenance charge

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)

billing_charge_id
string
obrigatório

Billing charge ID (UUID)

Resposta

OK

accountAlias
string
obrigatório
Exemplo:

"@cliente_x"

accountId
string
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

amount
string
obrigatório

Maintenance fee charged to the account: the package feeAmount.

Exemplo:

"50"

assetCode
string
obrigatório
Exemplo:

"BRL"

billingPackageId
string
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

createdAt
string<date-time>
obrigatório
Exemplo:

"2026-11-30T12:00:00Z"

id
string
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

ledgerId
string
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

organizationId
string
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

period
string
obrigatório

Charged period, YYYY-MM.

Exemplo:

"2026-11"

status
enum<string>
obrigatório

posted: the maintenance fee was charged, by a fee transaction or, when the account could not fund it and the package is deferrable, as a fee debt only. refused: the fee transaction was refused with code. canceled: a posted charge was canceled.

Opções disponíveis:
posted,
refused,
canceled
Exemplo:

"posted"

updatedAt
string<date-time>
obrigatório
Exemplo:

"2026-11-30T12:00:00Z"

canceledAt
string<date-time>

When the charge was canceled; absent while it is not.

Exemplo:

"2026-12-01T12:00:00Z"

code
string

Error code the fee transaction was refused with; absent unless refused.

Exemplo:

"0018"

transactionId
string

Fee transaction of the charge; absent when refused, and when the charge only opened a fee debt without moving any balance.

Exemplo:

"00000000-0000-0000-0000-000000000000"