> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nexapay.ng/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Virtual Account Amount

> Changes the expected collection amount on an active virtual account session.

Changes the expected collection amount on an active virtual account session.


## OpenAPI

````yaml POST /virtual-account/amountupdate
openapi: 3.0.0
info:
  title: NexaPay Business API
  version: 1.0.0
  description: Server-to-server merchant integration API documentation.
servers:
  - url: https://api.nexapay.ng/api/v1/business
    description: Production Server
security: []
tags: []
paths:
  /virtual-account/amountupdate:
    post:
      tags:
        - Transfers
      summary: Update virtual account amount requirement
      description: >-
        Changes the expected collection amount on an active virtual account
        session.
      parameters:
        - $ref: '#/components/parameters/BusinessEnvHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                reference:
                  type: string
                  description: Virtual account reference identifier.
                amount:
                  type: number
                  description: New expected collection amount.
              required:
                - reference
                - amount
      responses:
        '200':
          description: Virtual account amount successfully updated.
        '400':
          description: Invalid arguments.
        '404':
          description: Reference not found.
      security:
        - ApiKeyAuth: []
components:
  parameters:
    BusinessEnvHeader:
      name: x-business-env
      in: header
      required: false
      schema:
        type: string
        enum:
          - prod
          - test
        default: prod
      description: Target environment selector (live production vs. simulated sandbox).
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Merchant API Key (e.g., nexa-prod-... or nexa-test-...)

````