cURL
curl --request POST \ --url https://finsync.ar/api/accounts/{id}/manual-balance \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "balance": 123, "adjustment": 123 } '
{ "account_id": 123, "balance_before": 123, "balance_after": 123, "adjustment": 123 }
Updates an account balance directly and records a manual adjustment in the transaction ledger via database trigger.
API Key for authentication
Account ID to adjust
Provide either balance or adjustment (not both)
New absolute balance for the account
Balance delta to apply (positive or negative)
Balance updated successfully