Creates a new bank account.
Field | Type | Description | |
---|---|---|---|
name | string | The name of the bank account. | required |
accountNumber | string | Account number of the bank account. | required |
sortCode | string | Sort code of the bank account. | required |
Field | Type | Description | |
---|---|---|---|
return | integer | Account code of the created bank account. | optional |
<?xml version="1.0" encoding="UTF-8"?> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Header> <authenticate xmlns="https://secure.clearbooks.co.uk/api/accounting/soap/"> <apiKey xmlns="">yourApiKey</apiKey> </authenticate> </Header> <Body> <createBankAccount xmlns="https://secure.clearbooks.co.uk/api/accounting/soap/"> <bankAccount> <name>test</name> <accountNumber>1</accountNumber> <sortCode>2</sortCode> </bankAccount> </createBankAccount> </Body> </Envelope> |
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://secure.clearbooks.co.uk/api/accounting/soap/"> <SOAP-ENV:Body> <ns1:createBankAccountResponse> <return>7502006</return> </ns1:createBankAccountResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Clear Books is proudly registered with the Financial Conduct Authority as an Account Information Services Provider (register no. 843585).