Create a bank account

POST /api/v2/bank-accounts

Headers

  • X-PLANNR-ACCOUNT-UUID string
application/json

Body Required

  • account_uuids array[string] Required

    The UUIDs of the accounts who should own the bank account. These must only be client accounts.

  • account_name string Required

    The friendly name for the bank account.

  • account_holders string Required

    The name of the bank account holder(s) as it appears on statements

  • account_number string Required

    The bank account number.

  • sort_code string Required

    The bank account sort code

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The UUID of the resource.

    • created_at string

      The timestamp of when the resource was created.

    • updated_at string

      The timestamp of when the resource was updated.

    • account_name string

      The name of the bank account

    • account_holders string

      The name of the bank account holder(s) as it appears on statements

    • account_number string

      The bank account number

    • sort_code string

      The bank account sort code

    • accounts object

      The accounts linked to this bank account

      Hide accounts attributes Show accounts attributes object
      • uuid string
      • created_at string
      • updated_at string
      • type string
      • role string
      • first_name string
      • last_name string
      • name string
      • email string
      • photo_url string
      • external_references string
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":["44307fcf-046b-4028-91d7-f0aeb4d9cf21","8eec916e-02be-4c82-b844-4425fa765c18"],"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": [
    "44307fcf-046b-4028-91d7-f0aeb4d9cf21",
    "8eec916e-02be-4c82-b844-4425fa765c18"
  ],
  "account_name": "My Savings Account",
  "account_holders": "Mr John A Smith & Mrs Jane Smith",
  "account_number": "01234567",
  "sort_code": "012345"
}
Response examples (200)
{
  "uuid": "8cdc8885-601d-40eb-ba55-d759426025f0",
  "accounts": {
    "name": "Gareth Thompson",
    "role": "client",
    "type": "client",
    "uuid": "2a07dada-f1e2-46f9-bc77-a0d2b1a20ff2",
    "email": "gareth@codepotato.co.uk",
    "last_name": "Thompson",
    "photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
    "created_at": "2025-06-26T11:37:11+01:00",
    "first_name": "Gareth",
    "updated_at": "2025-06-26T11:37:11+01:00",
    "external_references": "App\\Http\\Resources\\ExternalReferenceResource"
  },
  "sort_code": "123456",
  "created_at": "2025-06-26T11:37:11+01:00",
  "updated_at": "2025-06-26T11:37:11+01:00",
  "account_name": "Savings Account",
  "account_number": "12345678",
  "account_holders": "Mr John A Smith"
}