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

# Create a per-currency budget for a group



## OpenAPI

````yaml /api-reference/organizations-openapi.json post /organizations/{orgId}/groups/{groupId}/budgets
openapi: 3.0.0
info:
  title: Nevermined Organizations API
  description: >-
    Manage a Nevermined organization programmatically — members, tiers, groups &
    budgets, treasury wallets, customers, webhooks, analytics, and
    agent-discovery surfaces.
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.sandbox.nevermined.app/api/v1
    description: Sandbox
  - url: https://api.live.nevermined.app/api/v1
    description: Live
security: []
tags:
  - name: Organizations
    x-group: General
    description: Organization settings, members & roles, and workspace context.
  - name: Organizations - Billing
    x-group: Billing
    description: Tiers, subscriptions, invoices, checkout, and the public tier catalog.
  - name: Groups
    x-group: Groups & Budgets
    description: Organization groups, per-group budgets, and shared payment methods.
  - name: Organizations - Wallets
    x-group: Wallets
    description: Custodial stablecoin treasury wallets.
  - name: Organizations - Customers
    x-group: Customers
    description: The white-label customer CRM (Enterprise).
  - name: Organizations - Analytics
    x-group: Analytics
    description: Revenue, MRR, usage, conversion, and per-member metrics.
  - name: Organizations - Webhooks
    x-group: Webhooks
    description: Outbound webhook subscriptions and deliveries.
  - name: Organizations - Activity
    x-group: Activity
    description: The organization activity feed.
  - name: Organizations - Realtime
    x-group: Realtime
    description: Realtime WebSocket secret management (Enterprise).
  - name: Invitations
    x-group: Invitations
    description: Invite people to an organization.
  - name: Organizations - Integration
    x-group: Agent Discovery
    description: >-
      Public agent-discovery surfaces (llms.txt, agentic-instructions.md,
      ai-catalog.json).
paths:
  /organizations/{orgId}/groups/{groupId}/budgets:
    post:
      tags:
        - Groups
      summary: Create a per-currency budget for a group
      operationId: GroupBudgetsController_createBudget
      parameters:
        - name: orgId
          required: true
          in: path
          schema:
            type: string
            example: org-abc123
        - name: groupId
          required: true
          in: path
          schema:
            type: string
            example: grp-abc123
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateGroupBudgetDto'
      responses:
        '201':
          description: 'Envelope `{ success, budget: GroupBudgetResponseDto }`'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupBudgetResponseEnvelopeDto'
        '403':
          description: Group budgets not available on this tier
        '404':
          description: Group not found
        '409':
          description: A budget already exists for this currency
        '422':
          description: Invalid spending limit
      security:
        - Authorization: []
components:
  schemas:
    CreateGroupBudgetDto:
      type: object
      properties:
        spendingLimitCents:
          type: string
          description: Spend ceiling for the period, in minor units (cents of `currency`).
          example: '150000'
        currency:
          type: string
          description: >-
            Currency of this budget (one budget per currency per group).
            Defaults to usd. Enforcement matches the charge currency exactly — a
            usd budget does NOT cap usdc spend.
          enum:
            - usd
            - eur
            - usdc
            - eurc
          example: usd
        interval:
          type: string
          enum:
            - month
            - year
            - one_shot
          example: month
        alertThresholdPct:
          type: number
          description: Alert when spend crosses this % of the limit
          example: 80
        maxTransactions:
          type: number
          description: Optional cap on the number of charges per period
          nullable: true
      required:
        - spendingLimitCents
    GroupBudgetResponseEnvelopeDto:
      type: object
      properties:
        success:
          type: boolean
          example: true
        budget:
          $ref: '#/components/schemas/GroupBudgetResponseDto'
      required:
        - success
        - budget
    GroupBudgetResponseDto:
      type: object
      properties:
        budgetId:
          type: string
          example: bdg-3fa8…afa6
        spendingLimitCents:
          type: string
          description: Spend ceiling for the period (minor units)
          example: '150000'
        amountSpentCents:
          type: string
          description: Spent so far this period (minor units)
          example: '2000'
        remainingBudgetCents:
          type: string
          description: spendingLimit − amountSpent, floored at 0
          example: '148000'
        currency:
          type: string
          example: usd
        interval:
          type: string
          enum:
            - month
            - year
            - one_shot
          example: month
        periodStart:
          format: date-time
          type: string
        periodEnd:
          format: date-time
          type: string
        alertThresholdPct:
          type: number
          example: 80
        status:
          type: string
          example: Active
          enum:
            - Active
            - Exhausted
      required:
        - budgetId
        - spendingLimitCents
        - amountSpentCents
        - remainingBudgetCents
        - currency
        - interval
        - periodStart
        - periodEnd
        - alertThresholdPct
        - status
  securitySchemes:
    Authorization:
      scheme: bearer
      bearerFormat: JWT
      type: http

````

## Related topics

- [List a group's budgets (one per currency)](/docs/api-reference/groups/list-a-groups-budgets-one-per-currency.md)
- [Groups & Budgets](/docs/solutions/organizations/groups-and-budgets.md)
- [Read a budget's usage for the current period](/docs/api-reference/groups/read-a-budgets-usage-for-the-current-period.md)
- [Create an organization group](/docs/api-reference/groups/create-an-organization-group.md)
- [List the authenticated user's active org memberships](/docs/api-reference/organizations/list-the-authenticated-users-active-org-memberships.md)
