A payment drawn on a ledger account that is not a cash account. 422. Nothing is written.
OPDC API error code
BANK_ACCOUNT_NOT_CASH
HTTP status 422
The API answers with a problem document (RFC 9457) whose type is https://twinn.engineering/errors/bank-account-not-cash, and with X-Error-Code: BANK_ACCOUNT_NOT_CASH. Branch on the code, never on the detail text.