def create(self,params=None, headers=None):
path = '<STR_LIT>'<EOL>if params is not None:<EOL><INDENT>params = {self._envelope_key(): params}<EOL><DEDENT>try:<EOL><INDENT>response = self._perform_request('<STR_LIT:POST>', path, params, headers,<EOL>retry_failures=True)<EOL><DEDENT>except errors.IdempotentCreationConflictError as err:<EOL><INDENT>return self.get(identity=err.conflicting_resource_id,<EOL>params=params,<EOL>headers=headers)<EOL><DEDENT>return self._resource_for(response)<EOL>
Create a customer bank account.

        Creates a new customer bank account object.

        There are three different ways to supply bank account details:

        - [Local details](#appendix-local-bank-details)

        - IBAN

        - [Customer Bank Account
        Tokens](#javascript-flow-create-a-customer-bank-account-token)

        For more information on the different fields required in each country,
        see [local bank details](#appendix-local-bank-details).

        Args:
              params (dict, optional): Request body.

        Returns:
              ListResponse of CustomerBankAccount instances