Manually credit or debit a group’s balance.
type to CREDIT or DEBIT and provide a positive amount. A DEBIT fails if the group does not have sufficient balance in the target bucket.
You must specify program_id and asset_id to identify which balance to adjust. Each group maintains separate balances per program-asset pair. The adjustment is atomic and creates a journal entry for auditability.
API key passed in the X-API-Key header.
Group ID
Adjustment details
Adjustment amount (must be positive, decimal string)
1"100.00"
The asset to adjust
"550e8400-e29b-41d4-a716-446655440001"
Reason for this adjustment (1-500 chars)
1 - 500"Team bonus allocation"
The program this adjustment belongs to
"550e8400-e29b-41d4-a716-446655440000"
Whether to CREDIT or DEBIT the balance
CREDIT, DEBIT "CREDIT"
DEBIT only. When true, allows this adjustment to overdraw and set a negative balance.
false
Balance bucket to adjust: AVAILABLE or HELD (defaults to AVAILABLE)
AVAILABLE, HELD "AVAILABLE"
Adjustment applied
Amount adjusted
"100.00"
Asset that was adjusted
"550e8400-e29b-41d4-a716-446655440001"
Balance bucket that was adjusted
"AVAILABLE"
Ledger journal entry created by this adjustment
"550e8400-e29b-41d4-a716-446655440000"
Confirmation message
"Group balance adjusted successfully"
Program the balance belongs to
"550e8400-e29b-41d4-a716-446655440000"
Whether the adjustment was a credit or debit
"CREDIT"