Creating a bank account

Hi,

when I create a bank account through the API the TYPE of account gets
changed after it is created. Is this the expected behaviour?

eg: StandardBankAccount is returned as BankAccount.

posted:

{ “bank_account”:
{
“opening_balance”:“0.0”,
“type”:“StandardBankAccount”,
“name”:“Test acc2”,
“is_personal”:false,
“currency”: “GBP”
}
}

response

{
“bank_account”: {
“name”: “Test acc2”,
“url”: “https://api.sandbox.freeagent.com/v2/bank_accounts/612”,
“is_primary”: false,
“created_at”: “2014-10-18T13:36:09Z”,
“updated_at”: “2014-10-18T13:36:09Z”,
“currency”: “GBP”,
“is_personal”: false,
“current_balance”: “0.0”,
“type”: “BankAccount”,
“opening_balance”: “0.0”
}
}

thanks

Dave