---
title: "UpdateLineItemRequest"
url: "https://developer.pexa.co.uk/apis/financials-v1-v1/versions/5cb0c2f5-c5c3-45e5-9a20-009908d7f57b/schemas/UpdateLineItemRequest"
---

> Full API specification: https://developer.pexa.co.uk/apis/financials-v1-v1/versions/5cb0c2f5-c5c3-45e5-9a20-009908d7f57b.md

# UpdateLineItemRequest

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Financial
  version: v1.1.0
servers:
  - url: https://api.pexa.co.uk
    description: API Gateway URL
components:
  schemas:
    UpdateLineItemRequest:
      type: object
      properties:
        bankAccount:
          type: object
          nullable: true
          description: This field is required and can be updated only for type DESTINATION.
          properties:
            accountName:
              type: string
              maxLength: 35
              minLength: 1
              pattern: ^[a-zA-Z0-9\/\-\\?:().,'#=!"%&*<>;@{+\s]*$
              example: Bob Smith
            accountNumber:
              type: string
              pattern: ^\d{8}$
              example: "12345678"
            bankCode:
              type: string
              pattern: ^\d{6}$
              example: "123456"
            accountType:
              type: string
              pattern: ^(BUSINESS|PERSONAL)$
              example: BUSINESS
              description: |
                Allowed Values: [`BUSINESS`, `PERSONAL`]
        amount:
          type: number
          minimum: 1
          maximum: 999999999999.99
          description: Amount to be credited / debited
          example: 10
        reference:
          type: string
          minLength: 1
          maxLength: 18
          pattern: ^[a-zA-Z0-9\/\-\\?:().,'#=!"%&*<>;@{+\s]*$
          example: Nation wide
        attributes:
          type: object
          properties:
            notes:
              type: string
              minLength: 0
              maxLength: 128
              description: Optional free-text notes for the line item.
              example: Insurance Fee
```
