Adjust participant balance
Manually credit or debit a participant’s balance.
Manually credit or debit a participant’s balance. Intended for customer service corrections, manual workflows, and one-off adjustments outside of the rules engine.Documentation Index
Fetch the complete documentation index at: https://docs.scrip.dev/llms.txt
Use this file to discover all available pages before exploring further.
CREDIT: adds funds. No upper boundDEBIT: removes funds. Fails if the participant does not have sufficientavailablebalance, unlessallow_negativeistrue(used for clawbacks)
Authorizations
API key passed in the X-API-Key header.
Path Parameters
Participant ID
Body
Adjustment details
Adjustment amount (must be positive)
1"100.00"
Asset to adjust
"550e8400-e29b-41d4-a716-446655440001"
Reason for this adjustment
1 - 500"Customer service credit"
Program this adjustment belongs to
"550e8400-e29b-41d4-a716-446655440000"
Whether to credit or debit
CREDIT, DEBIT "CREDIT"
DEBIT only. When true, allows this adjustment to overdraw and set a negative balance.
false
Balance bucket to adjust. Defaults to AVAILABLE
AVAILABLE, HELD "AVAILABLE"
Response
Adjustment applied
Amount adjusted
"100.00"
Asset ID
"550e8400-e29b-41d4-a716-446655440001"
Balance after the adjustment
Balance bucket that was adjusted
"AVAILABLE"
Ledger journal entry created by this adjustment
"550e8400-e29b-41d4-a716-446655440000"
Confirmation message
"Balance adjusted successfully"
Program ID
"550e8400-e29b-41d4-a716-446655440000"
Whether the adjustment was a credit or debit
"CREDIT"