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":["67b678f1-a23a-4e53-a971-03217e44a968","43e92a44-bb42-459c-86b0-69710e3e88dd","942354ee-e58a-4bb6-9800-d31f91ca4f39"],"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": [
"67b678f1-a23a-4e53-a971-03217e44a968",
"43e92a44-bb42-459c-86b0-69710e3e88dd",
"942354ee-e58a-4bb6-9800-d31f91ca4f39"
],
"account_name": "My Savings Account",
"account_holders": "Mr John A Smith",
"account_number": "01234567",
"sort_code": "012345"
}
Response examples (200)
{
"uuid": "f1d96eef-63bc-4a3c-8ce7-a00689715d47",
"created_at": "2026-06-27T09:33:42+01:00",
"updated_at": "2026-06-27T09:33:42+01:00",
"account_name": "Savings Account",
"account_holders": "Mr John A Smith",
"account_number": "12345678",
"sort_code": "123456",
"accounts": {
"uuid": "11a4f795-61d1-4971-a492-a3de12dfda93",
"created_at": "2026-06-27T09:33:42+01:00",
"updated_at": "2026-06-27T09:33:42+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": "App\\Http\\Resources\\ExternalReferenceResource"
}
}