Update a package
A package switched off (enable: false) may keep applying, and a fee whose deferrable changed to false may still open fee debt when unfunded, for up to 60 seconds when a transaction read the packages concurrently with the update. Closing an account is permanent. To retire a fee account, point the fee package at the new fee account and leave the old account open: reverts of earlier transactions and collections of fee debt already owed to it still post there.
Authorizations
JWT bearer token issued by the identity provider.
Path Parameters
Organization ID (UUID)
Ledger ID (UUID)
Package ID (UUID)
Body
"Pacote de taxas administrativas padrão"
true
"Pacote Padrão"
Fee patches keyed by fee key. An entry naming a stored key verbatim edits that fee, or removes it when the entry sets no field. Any other key adds a fee and must match ^[a-z][a-zA-Z0-9]*$ (a lowercase ASCII letter, then ASCII letters and digits), or the update is refused with 400; a key equal to a stored key except for letter case is also refused with 400, and the stored key must be used, unless the same patch removes that stored key, which renames the fee (the new key must still match the grammar).
"1000"
"100"
Response
OK
"2021-01-01T00:00:00Z"
"2021-01-01T00:00:00Z"
"Pacote de taxas administrativas padrão"
"Pacote Padrão"
"00000000-0000-0000-0000-000000000000"
"00000000-0000-0000-0000-000000000000"
"2"
"100"
"00000000-0000-0000-0000-000000000000"
Transaction route identifier this package is scoped to. It must equal the routeId the payment carries, so it is a route UUID and not a free-form name. An absent or empty value applies the package to every payment.
"00000000-0000-0000-0000-000000000000"
"2021-01-01T00:00:00Z"
Metadata pairs a transaction must all carry for this package to apply, each matching only a string metadata value equal to it. Each pair counts one toward package specificity. Absent or empty applies the package whatever the metadata.

