Create a bank account Run in API Explorer
Ask AI
Body
-
The UUIDs of the accounts who should own the bank account. These must only be client accounts.
-
The friendly name for the bank account.
Maximum length is
255. -
The name of the bank account holder(s) as it appears on statements
Maximum length is
255. -
The bank account number.
-
The bank account sort code
POST
/api/v2/bank-accounts
curl \
--request POST 'https://api.plannrcrm.com/api/v2/bank-accounts' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{"account_uuids":["c9dc28df-48ac-43ce-a7cd-2c4a70425c49","f2e8dd3d-ef17-49db-a5de-e6f6d344f7c5","bfdc0a44-f59f-4138-afc2-87ef87e4305b"],"account_name":"My Savings Account","account_holders":"Mr John A Smith \u0026 Mrs Jane Smith","account_number":"01234567","sort_code":"012345"}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"account_uuids": [
"c9dc28df-48ac-43ce-a7cd-2c4a70425c49",
"f2e8dd3d-ef17-49db-a5de-e6f6d344f7c5",
"bfdc0a44-f59f-4138-afc2-87ef87e4305b"
],
"account_name": "My Savings Account",
"account_holders": "Mr John A Smith & Mrs Jane Smith",
"account_number": "01234567",
"sort_code": "012345"
}
Response examples (200)
{
"uuid": "44cfed02-80a4-4501-91c3-05156641466f",
"created_at": "2026-08-28T07:35:00+01:00",
"updated_at": "2026-08-28T07:35:00+01:00",
"account_name": "Savings Account",
"account_holders": "Mr John A Smith",
"account_number": "12345678",
"sort_code": "123456",
"accounts": {
"uuid": "42bb319c-17c9-40e6-bc5e-c0df3bebbcb3",
"created_at": "2026-08-28T07:35:00+01:00",
"updated_at": "2026-08-28T07:35:00+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"external_references": {
"uuid": "bbebe1dc-bcfb-4078-848e-1293b8f6887d",
"created_at": "2026-08-28T07:35:05+01:00",
"updated_at": "2026-08-28T07:35:05+01:00",
"third_party": "nucleus",
"reference": "AB123456"
}
}
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}