## Add Manual Balance Entry `v1.contracts.add_manual_balance_entry(**kwargs) -> void` **post** `/v1/contracts/addManualBalanceLedgerEntry` Add a manual balance entry ### Parameters - **id:** `String` ID of the balance (commit or credit) to update. - **amount:** `Float` Amount to add to the segment. A negative number will draw down from the balance. - **customer\_id:** `String` ID of the customer whose balance is to be updated. - **reason:** `String` Reason for the manual adjustment. This will be displayed in the ledger. - **segment\_id:** `String` ID of the segment to update. - **contract\_id:** `String` ID of the contract to update. Leave blank to update a customer level balance. - **timestamp:** `Time` RFC 3339 timestamp indicating when the manual adjustment takes place. If not provided, it will default to the start of the segment. ### Example ```ruby require "metronome_sdk" metronome = MetronomeSDK::Client.new(bearer_token: "My Bearer Token") result = metronome.v1.contracts.add_manual_balance_entry( id: "6162d87b-e5db-4a33-b7f2-76ce6ead4e85", amount: -1000, customer_id: "13117714-3f05-48e5-a6e9-a66093f13b4d", reason: "Reason for entry", segment_id: "66368e29-3f97-4d15-a6e9-120897f0070a" ) puts(result) ```