# Add a payout account to payee Add a payout account to the specified payee (matches user story). Endpoint: POST /v1/payees/{id}/accounts Security: Bearer ## Path parameters: - `id` (integer, required) Unique identifier of the payee to whom the account will be linked. ## 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 201 fields (application/json): - `PayeeAccountId` (string) Example: "1234567890" ## Response 400 fields ## Response 404 fields