# Create a new bank account Creates a new bank account Endpoint: POST /consumers/{consumer_id}/banks Version: 1.0.0 Security: ApiKeyAuth ## Path parameters: - `consumer_id` (string, required) The unique identifier for the consumer Example: "csm_3bbb4fe7-4c25-45b2-a363-c8db8c0084b9" ## Request fields (application/json): - `bank_name` (string) The name of the bank Example: "Bank of Dave" - `name` (string) Nice name of bank for user Example: "My Primary Account" - `mandate_type` (string, required) The type of mandate for the bank account Example: "IBAN" - `data` (object, required) The bank account data ## Response 201 fields (application/json): - `id` (string) The unique identifier for the bank account Example: "ba_589b9558211e0182" - `consumer_id` (string) The unique identifier for the consumer - `bank_name` (string) The name of the bank - `mandate_type` (string) The type of mandate for the bank account Example: "IBAN" - `data` (object) The bank account data Example: "{ \"iban\": \"GB33BUKB20201555555555\", \"bic\": \"BUKBGB22\" }" ## Response 400 fields (application/json): - `message` (string, required) - `errors` (object, required) ## Response 401 fields ## Response 500 fields