Update 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
PUT
/api/v2/bank-accounts/{uuid}
curl \
--request PUT 'https://api.plannrcrm.com/api/v2/bank-accounts/6ff8f7f6-1eb3-3525-be4a-3932c805afed' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{
"account_uuids": [
"aea08b55-0a1a-442e-b177-fa38251f3352",
"399c8a55-0a67-4eae-aa55-4b4ffe69d614",
"2163330c-fc4e-406e-8416-2b852c55ba85"
],
"account_name": "My Savings Account",
"account_holders": "Mr John A Smith",
"account_number": "01234567",
"sort_code": "012345"
}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"account_uuids": [
"aea08b55-0a1a-442e-b177-fa38251f3352",
"399c8a55-0a67-4eae-aa55-4b4ffe69d614",
"2163330c-fc4e-406e-8416-2b852c55ba85"
],
"account_name": "My Savings Account",
"account_holders": "Mr John A Smith",
"account_number": "01234567",
"sort_code": "012345"
}
Response examples (200)
{
"uuid": "35649b4e-2e48-4298-ade0-32dd73e3e401",
"created_at": "2026-09-17T15:11:01+01:00",
"updated_at": "2026-09-17T15:11:01+01:00",
"account_name": "Savings Account",
"account_holders": "Mr John A Smith",
"account_number": "12345678",
"sort_code": "123456",
"accounts": {
"uuid": "ca34691a-a59d-4463-8d8a-d6ffb1037b5c",
"created_at": "2026-09-17T15:11:01+01:00",
"updated_at": "2026-09-17T15:11:01+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": "eed66603-e4be-4584-bc91-6f9a5c327f4b",
"created_at": "2026-09-17T15:11:06+01:00",
"updated_at": "2026-09-17T15:11:06+01:00",
"third_party": "nucleus",
"reference": "AB123456"
}
}
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}