# Update payout account Use this endpoint to modify payout account details (matches user story). Endpoint: PATCH /v1/payees/{id}/accounts/{account_id} Security: Bearer ## Path parameters: - `id` (integer, required) Unique identifier of the payee who owns the payout account. - `account_id` (string, required) Unique identifier of the payout account to update. ## Request fields (application/json): - `type` (string,null, required) Enum: "BANK_ACCOUNT", "IBAN" - `accountHolderName` (string,null, required) Required if type is BANK_ACCOUNT - `bankName` (string,null) Required if type is BANK_ACCOUNT - `routingNumber` (string,null) Required if type is BANK_ACCOUNT - `accountNumber` (string,null) Required if type is BANK_ACCOUNT - `bankClearingSystemCode` (string) - `branchTransitNumber` (string,null) - `IBAN` (string,null) Required if type is IBAN - `Currency` (string,null) - `accountType` (string) Required if type is BANK_ACCOUNT Enum: "CHECKINGS", "SAVINGS" ## Response 200 fields (application/json): - `payeeId` (string,null) - `payeeAccountId` (string,null) - `type` (string,null) Enum: "BANK_ACCOUNT", "IBAN" - `accountHolderName` (string,null) - `bankName` (string,null) - `routingNumber` (string,null) - `accountNumber` (string,null) Token - Last 4 Digits (responses return last 4 digits only) - `branchTransitNumber` (string,null) - `IBAN` (string,null) - `Currency` (string,null) - `accountType` (string) Enum: "CHECKINGS", "SAVINGS" - `accountTypeId` (integer) - `createdOn` (string) ## Response 400 fields ## Response 404 fields