# Get business account balance

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /businesses/accounts/balance:
    get:
      summary: Get business account balance
      deprecated: false
      description: >-

        Retrieves the current balance of the authenticated business's payout
        account.


        The business is resolved from the JWT (businessId claim); no path
        parameters

        are required.


        Response:

        - Currency

        - Available balance


        Error Scenarios:

        - 401: Missing/invalid auth or business ID claim

        - 404: Account not found for the authenticated business
                    
      operationId: getAccountBalance
      tags:
        - Vrtx APIs/Transactions/Business Accounts
        - Transactions/Business Accounts
      parameters: []
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  currency:
                    type: string
                    description: Account currency
                  balance:
                    type: string
                    description: Available balance
                required:
                  - currency
                  - balance
                x-apidog-orders:
                  - currency
                  - balance
          headers: {}
          x-apidog-name: ''
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: string
                    enum:
                      - INVALID_INPUT
                  error_message:
                    type: string
                    description: Human-readable error message explaining what went wrong
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        field_name:
                          type: string
                          description: Name of the field that caused the error
                        description:
                          type: string
                          description: Detailed description of the field error
                        code:
                          type: string
                          description: Optional error code specific to this field
                      required:
                        - field_name
                        - description
                      x-apidog-orders:
                        - field_name
                        - description
                        - code
                    description: >-
                      Additional error details and field-specific validation
                      errors
                  status_code:
                    type: number
                    description: HTTP status code corresponding to this error
                required:
                  - error_code
                  - error_message
                  - details
                  - status_code
                x-apidog-orders:
                  - error_code
                  - error_message
                  - details
                  - status_code
              example:
                error_code: INVALID_INPUT
                error_message: Input validation failed
                details:
                  - field_name: email
                    description: Invalid email format
                    code: VALIDATION_ERROR
                status_code: 400
          headers: {}
          x-apidog-name: ''
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: string
                    enum:
                      - UNAUTHORIZED
                  error_message:
                    type: string
                    description: Human-readable error message explaining what went wrong
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        field_name:
                          type: string
                          description: Name of the field that caused the error
                        description:
                          type: string
                          description: Detailed description of the field error
                        code:
                          type: string
                          description: Optional error code specific to this field
                      required:
                        - field_name
                        - description
                      x-apidog-orders:
                        - field_name
                        - description
                        - code
                    description: >-
                      Additional error details and field-specific validation
                      errors
                  status_code:
                    type: number
                    description: HTTP status code corresponding to this error
                required:
                  - error_code
                  - error_message
                  - details
                  - status_code
                x-apidog-orders:
                  - error_code
                  - error_message
                  - details
                  - status_code
          headers: {}
          x-apidog-name: ''
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: string
                    enum:
                      - FORBIDDEN
                  error_message:
                    type: string
                    description: Human-readable error message explaining what went wrong
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        field_name:
                          type: string
                          description: Name of the field that caused the error
                        description:
                          type: string
                          description: Detailed description of the field error
                        code:
                          type: string
                          description: Optional error code specific to this field
                      required:
                        - field_name
                        - description
                      x-apidog-orders:
                        - field_name
                        - description
                        - code
                    description: >-
                      Additional error details and field-specific validation
                      errors
                  status_code:
                    type: number
                    description: HTTP status code corresponding to this error
                required:
                  - error_code
                  - error_message
                  - details
                  - status_code
                x-apidog-orders:
                  - error_code
                  - error_message
                  - details
                  - status_code
          headers: {}
          x-apidog-name: ''
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: string
                    enum:
                      - NOT_FOUND
                      - ACCOUNT_NOT_FOUND
                  error_message:
                    type: string
                    description: Human-readable error message explaining what went wrong
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        field_name:
                          type: string
                          description: Name of the field that caused the error
                        description:
                          type: string
                          description: Detailed description of the field error
                        code:
                          type: string
                          description: Optional error code specific to this field
                      required:
                        - field_name
                        - description
                      x-apidog-orders:
                        - field_name
                        - description
                        - code
                    description: >-
                      Additional error details and field-specific validation
                      errors
                  status_code:
                    type: number
                    description: HTTP status code corresponding to this error
                required:
                  - error_code
                  - error_message
                  - details
                  - status_code
                x-apidog-orders:
                  - error_code
                  - error_message
                  - details
                  - status_code
              examples:
                example1:
                  summary: example1
                  value:
                    error_code: NOT_FOUND
                    error_message: Resource not found
                    details: []
                    status_code: 404
                example2:
                  summary: example2
                  value:
                    error_code: ACCOUNT_NOT_FOUND
                    error_message: Account not found
                    details: []
                    status_code: 404
          headers: {}
          x-apidog-name: ''
        '405':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: string
                    enum:
                      - INVALID_INPUT
                  error_message:
                    type: string
                    description: Human-readable error message explaining what went wrong
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        field_name:
                          type: string
                          description: Name of the field that caused the error
                        description:
                          type: string
                          description: Detailed description of the field error
                        code:
                          type: string
                          description: Optional error code specific to this field
                      required:
                        - field_name
                        - description
                      x-apidog-orders:
                        - field_name
                        - description
                        - code
                    description: >-
                      Additional error details and field-specific validation
                      errors
                  status_code:
                    type: number
                    description: HTTP status code corresponding to this error
                required:
                  - error_code
                  - error_message
                  - details
                  - status_code
                x-apidog-orders:
                  - error_code
                  - error_message
                  - details
                  - status_code
              example:
                error_code: INVALID_INPUT
                error_message: Input validation failed
                details: []
                status_code: 405
          headers: {}
          x-apidog-name: ''
        '409':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: string
                    enum:
                      - CONFLICT
                  error_message:
                    type: string
                    description: Human-readable error message explaining what went wrong
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        field_name:
                          type: string
                          description: Name of the field that caused the error
                        description:
                          type: string
                          description: Detailed description of the field error
                        code:
                          type: string
                          description: Optional error code specific to this field
                      required:
                        - field_name
                        - description
                      x-apidog-orders:
                        - field_name
                        - description
                        - code
                    description: >-
                      Additional error details and field-specific validation
                      errors
                  status_code:
                    type: number
                    description: HTTP status code corresponding to this error
                required:
                  - error_code
                  - error_message
                  - details
                  - status_code
                x-apidog-orders:
                  - error_code
                  - error_message
                  - details
                  - status_code
              example:
                error_code: CONFLICT
                error_message: Resource conflict
                details: []
                status_code: 409
          headers: {}
          x-apidog-name: ''
        '410':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: string
                    enum:
                      - NOT_FOUND
                  error_message:
                    type: string
                    description: Human-readable error message explaining what went wrong
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        field_name:
                          type: string
                          description: Name of the field that caused the error
                        description:
                          type: string
                          description: Detailed description of the field error
                        code:
                          type: string
                          description: Optional error code specific to this field
                      required:
                        - field_name
                        - description
                      x-apidog-orders:
                        - field_name
                        - description
                        - code
                    description: >-
                      Additional error details and field-specific validation
                      errors
                  status_code:
                    type: number
                    description: HTTP status code corresponding to this error
                required:
                  - error_code
                  - error_message
                  - details
                  - status_code
                x-apidog-orders:
                  - error_code
                  - error_message
                  - details
                  - status_code
              example:
                error_code: NOT_FOUND
                error_message: Resource not found
                details: []
                status_code: 410
          headers: {}
          x-apidog-name: ''
        '422':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: string
                    enum:
                      - INVALID_INPUT
                  error_message:
                    type: string
                    description: Human-readable error message explaining what went wrong
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        field_name:
                          type: string
                          description: Name of the field that caused the error
                        description:
                          type: string
                          description: Detailed description of the field error
                        code:
                          type: string
                          description: Optional error code specific to this field
                      required:
                        - field_name
                        - description
                      x-apidog-orders:
                        - field_name
                        - description
                        - code
                    description: >-
                      Additional error details and field-specific validation
                      errors
                  status_code:
                    type: number
                    description: HTTP status code corresponding to this error
                required:
                  - error_code
                  - error_message
                  - details
                  - status_code
                x-apidog-orders:
                  - error_code
                  - error_message
                  - details
                  - status_code
              example:
                error_code: INVALID_INPUT
                error_message: Input validation failed
                details:
                  - field_name: amount
                    description: Amount must be greater than zero
                    code: VALIDATION_ERROR
                status_code: 422
          headers: {}
          x-apidog-name: ''
        '429':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: string
                    enum:
                      - RATE_LIMITED
                  error_message:
                    type: string
                    description: Human-readable error message explaining what went wrong
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        field_name:
                          type: string
                          description: Name of the field that caused the error
                        description:
                          type: string
                          description: Detailed description of the field error
                        code:
                          type: string
                          description: Optional error code specific to this field
                      required:
                        - field_name
                        - description
                      x-apidog-orders:
                        - field_name
                        - description
                        - code
                    description: >-
                      Additional error details and field-specific validation
                      errors
                  status_code:
                    type: number
                    description: HTTP status code corresponding to this error
                required:
                  - error_code
                  - error_message
                  - details
                  - status_code
                x-apidog-orders:
                  - error_code
                  - error_message
                  - details
                  - status_code
              example:
                error_code: RATE_LIMITED
                error_message: Too many requests
                details: []
                status_code: 429
          headers: {}
          x-apidog-name: ''
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: string
                    enum:
                      - INTERNAL_ERROR
                      - EXTERNAL_SERVICE_ERROR
                  error_message:
                    type: string
                    description: Human-readable error message explaining what went wrong
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        field_name:
                          type: string
                          description: Name of the field that caused the error
                        description:
                          type: string
                          description: Detailed description of the field error
                        code:
                          type: string
                          description: Optional error code specific to this field
                      required:
                        - field_name
                        - description
                      x-apidog-orders:
                        - field_name
                        - description
                        - code
                    description: >-
                      Additional error details and field-specific validation
                      errors
                  status_code:
                    type: number
                    description: HTTP status code corresponding to this error
                required:
                  - error_code
                  - error_message
                  - details
                  - status_code
                x-apidog-orders:
                  - error_code
                  - error_message
                  - details
                  - status_code
              examples:
                example1:
                  summary: example1
                  value:
                    error_code: INTERNAL_ERROR
                    error_message: An internal server error occurred
                    details: []
                    status_code: 500
                example2:
                  summary: example2
                  value:
                    error_code: EXTERNAL_SERVICE_ERROR
                    error_message: An external service error occurred
                    details: []
                    status_code: 500
          headers: {}
          x-apidog-name: ''
        '501':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: string
                    enum:
                      - INTERNAL_ERROR
                  error_message:
                    type: string
                    description: Human-readable error message explaining what went wrong
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        field_name:
                          type: string
                          description: Name of the field that caused the error
                        description:
                          type: string
                          description: Detailed description of the field error
                        code:
                          type: string
                          description: Optional error code specific to this field
                      required:
                        - field_name
                        - description
                      x-apidog-orders:
                        - field_name
                        - description
                        - code
                    description: >-
                      Additional error details and field-specific validation
                      errors
                  status_code:
                    type: number
                    description: HTTP status code corresponding to this error
                required:
                  - error_code
                  - error_message
                  - details
                  - status_code
                x-apidog-orders:
                  - error_code
                  - error_message
                  - details
                  - status_code
              example:
                error_code: INTERNAL_ERROR
                error_message: An internal server error occurred
                details: []
                status_code: 501
          headers: {}
          x-apidog-name: ''
        '503':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: string
                    enum:
                      - SERVICE_UNAVAILABLE
                      - EXTERNAL_SERVICE_ERROR
                  error_message:
                    type: string
                    description: Human-readable error message explaining what went wrong
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        field_name:
                          type: string
                          description: Name of the field that caused the error
                        description:
                          type: string
                          description: Detailed description of the field error
                        code:
                          type: string
                          description: Optional error code specific to this field
                      required:
                        - field_name
                        - description
                      x-apidog-orders:
                        - field_name
                        - description
                        - code
                    description: >-
                      Additional error details and field-specific validation
                      errors
                  status_code:
                    type: number
                    description: HTTP status code corresponding to this error
                required:
                  - error_code
                  - error_message
                  - details
                  - status_code
                x-apidog-orders:
                  - error_code
                  - error_message
                  - details
                  - status_code
              example:
                error_code: EXTERNAL_SERVICE_ERROR
                error_message: An external service error occurred
                details: []
                status_code: 503
          headers: {}
          x-apidog-name: ''
        '504':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: string
                    enum:
                      - EXTERNAL_SERVICE_ERROR
                  error_message:
                    type: string
                    description: Human-readable error message explaining what went wrong
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        field_name:
                          type: string
                          description: Name of the field that caused the error
                        description:
                          type: string
                          description: Detailed description of the field error
                        code:
                          type: string
                          description: Optional error code specific to this field
                      required:
                        - field_name
                        - description
                      x-apidog-orders:
                        - field_name
                        - description
                        - code
                    description: >-
                      Additional error details and field-specific validation
                      errors
                  status_code:
                    type: number
                    description: HTTP status code corresponding to this error
                required:
                  - error_code
                  - error_message
                  - details
                  - status_code
                x-apidog-orders:
                  - error_code
                  - error_message
                  - details
                  - status_code
              example:
                error_code: EXTERNAL_SERVICE_ERROR
                error_message: An external service error occurred
                details: []
                status_code: 504
          headers: {}
          x-apidog-name: ''
        '505':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error_code:
                    type: string
                    enum:
                      - UNSUPPORTED_VERSION
                  error_message:
                    type: string
                    description: Human-readable error message explaining what went wrong
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        field_name:
                          type: string
                          description: Name of the field that caused the error
                        description:
                          type: string
                          description: Detailed description of the field error
                        code:
                          type: string
                          description: Optional error code specific to this field
                      required:
                        - field_name
                        - description
                      x-apidog-orders:
                        - field_name
                        - description
                        - code
                    description: >-
                      Additional error details and field-specific validation
                      errors
                  status_code:
                    type: number
                    description: HTTP status code corresponding to this error
                required:
                  - error_code
                  - error_message
                  - details
                  - status_code
                x-apidog-orders:
                  - error_code
                  - error_message
                  - details
                  - status_code
              example:
                error_code: UNSUPPORTED_VERSION
                error_message: An internal server error occurred
                details: []
                status_code: 500
          headers: {}
          x-apidog-name: ''
      security:
        - bearerAuth: []
          x-apidog:
            schemeGroups:
              - id: BQCJ-nsXQFB-tj5dtBf_k
                schemeIds:
                  - bearerAuth
            required: true
            use:
              id: BQCJ-nsXQFB-tj5dtBf_k
            scopes:
              BQCJ-nsXQFB-tj5dtBf_k:
                bearerAuth: []
      x-apidog-folder: Vrtx APIs/Transactions/Business Accounts
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1053095/apis/api-36885688-run
components:
  schemas: {}
  securitySchemes:
    bearerAuth:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: Enter your JWT access token for authentication
    bearerAuth1:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
    bearerAuth2:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: Enter your JWT access token for authentication
    bearerAuth3:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT issued by Keycloak. The client_id/azp in the token must map to a
        configured tenant (public, fai, neomrs; e.g., fai-sandbox -> fai) or
        requests will return 403.
    bearerAuth4:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: Enter your JWT access token for authentication
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://api.sandbox.vrtx.sa
    description: Sandbox
security:
  - bearer: []

```
