Apply a group balance operation
Adjust, hold, release, or forfeit a group’s balance in one asset.
ADJUST, HOLD, RELEASE, or FORFEIT) on a group’s balance in one asset, using the same per-type fields as Apply a balance operation. Groups do not support VOID_PENDING or MATURE (400 validation_error), and sending a field not allowed for the selected type returns 400 validation_error with reason: not_allowed in fields.
- Program scope and status: Groups are organization-level ledger entities, but every balance operation is program-scoped (
program_idandasset_idare required). Archived groups return422 archived_resource. - Response shape:
ADJUSTreturns the journal entry, direction (type:CREDITorDEBIT),amount, andbucket. All other operation types returnoperation,amount_processed,lots_processed(forLOT-mode assets), and the updated balance.
Authorizations
Headers
Unique key (1-255 printable ASCII characters) to make retries safe. Repeating the same request with the same key returns the original result; reusing the key with different fields returns 409 idempotency_conflict. When the body also accepts idempotency_key, supply either or both with the same value.
255Body
The operation and its fields
- ADJUST operation
- HOLD operation
- RELEASE operation
- FORFEIT operation
A balance operation on a group. type selects the operation and accepted fields.
Vesting timestamp when a credited lot becomes spendable (RFC 3339, LOT assets with direction: CREDIT only). A future value puts the credit in DEFERRED. Mutually exclusive with matures_in. Not supported with bucket: HELD.
1 - 255"2027-12-31T23:59:59Z"
Response
Operation applied
- Option 1
- Option 2
The result of a group balance operation. ADJUST returns the adjustment's journal entry, direction and bucket; every other type returns the amount processed, the lots touched and the balance after.