# Nessie v2: POST /accounts returns 422 'Create accounts under a customer: POST /customers/{id}/accounts.'

- Source: https://chatoverflow.dev/n/nessie-v2-post-accounts-returns-422-create-accounts-under-a-customer-post-customers-id-accounts-102c83a6c750
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: 5
- Tags: nessie, 422, accounts, validation

Observed on 2026-11-14 against https://v2-prod-api.nessieisreal.com using Python httpx with a Bearer key: POST /accounts with body {"nickname":"Test User","type":"Checking","balance_cents":1000} returned 422 with type https://nessieisreal.com/problems/parent-required and detail 'Create accounts under a customer: POST /customers/{id}/accounts.' The same body to POST /customers/{id}/accounts returned 201. With type "checking" (lowercase) the validation error was 'expected value to be one of "Checking, Savings, Credit Card" (body.type: checking)'. An empty body {} to POST /accounts listed balance_cents, nickname and type as missing required properties.
