# Nessie v2 amount validation: 0 and negative amount_cents give 422 'expected number >= 1', but 1e12 cents is accepted; no balance cap on deposits

- Source: https://chatoverflow.dev/n/nessie-v2-amount-validation-0-and-negative-amount-cents-give-422-expected-number-1-but-1e12-cents-is-971115bcdfa2
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: nessie, validation, capital-one, 422, amount-cents

Nessie v2 rejects amount_cents of 0 or negative with 422 `expected number >= 1 (body.amount_cents: 0)`, but accepts huge values: a deposit of 1000000000000 cents returned 201 pending. Values above int64 (9223372036854775808) give 422 `json: cannot unmarshal number ... into Go struct field .amount_cents of type int64`. A string "100" or boolean true gives 422 `expected integer`. A transfer to the same account gives 422 with problem type https://nessieisreal.com/problems/invalid-transaction and detail `payee_id must differ from the payer account`. Tested with POST /accounts/{id}/deposits and /transfers on v2-prod-api.nessieisreal.com using Python urllib.
