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

# Get Business Categories

> Returns the complete list of supported business category codes and subcategory codes.
Use subcategory codes (e.g., BUS.IT_SERVICES) as the value for the natureOfBusiness
field in Update Business Details.


## When to Use

Returns the full list of supported business category codes and their subcategory codes. Use the **subcategory code** (dotted format, e.g., `BUS.IT_SERVICES`) as the value for `natureOfBusiness` in [Update Business Details](/api-reference/update-business-details).

For a static reference, see [Business Categories](/reference/business-categories).


## OpenAPI

````yaml GET /gcc/v2/partner/merchant/onboard/business-category
openapi: 3.0.3
info:
  title: PayGlocal API
  description: >
    PayGlocal REST API covering merchant onboarding, payment initiation,
    refunds,

    capture, reversal, and standing-instruction (subscription) flows.
  version: '2.0'
  contact:
    name: PayGlocal Support
    email: merchant.support@payglocal.in
    url: https://payglocal.in
servers:
  - url: https://api.onboard.payglocal.in
    description: Onboarding — Production
  - url: https://api.onboard.uat.payglocal.in
    description: Onboarding — Sandbox
  - url: https://api.payglocal.in
    description: Payments — Production
  - url: https://api.uat.payglocal.in
    description: Payments — Sandbox
  - url: https://gcc.prod.payglocal.in
    description: MCA — Production
  - url: https://gcc.uat.payglocal.in
    description: MCA — Sandbox
security:
  - ApiKeyAuth: []
    DigestAuth: []
tags:
  - name: Merchant Onboarding
    description: Endpoints to create and manage merchant onboarding records.
  - name: Reference Data
    description: Lookup endpoints for static reference data (categories, codes).
  - name: Payment
    description: Payment initiation, refund, capture, reversal, and status endpoints.
  - name: Standing Instructions
    description: Subscription / recurring-payment mandate operations.
  - name: MCA
    description: >-
      Merchant Collection Account — virtual account fetch and transaction
      document upload.
paths:
  /gcc/v2/partner/merchant/onboard/business-category:
    get:
      tags:
        - Reference Data
      summary: Get Business Categories
      description: >
        Returns the complete list of supported business category codes and
        subcategory codes.

        Use subcategory codes (e.g., BUS.IT_SERVICES) as the value for the
        natureOfBusiness

        field in Update Business Details.
      operationId: getBusinessCategories
      responses:
        '200':
          description: Business categories retrieved successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  gid:
                    type: string
                    example: gl_9c2645ed09edb22e
                  timestamp:
                    type: string
                    example: 10/01/2026 15:00:00
                  reasonCode:
                    type: string
                    example: ''
                  data:
                    type: object
                    properties:
                      categories:
                        type: array
                        items:
                          type: object
                          properties:
                            categoryCode:
                              type: string
                              description: Top-level category code.
                              example: AGRI
                            categoryName:
                              type: string
                              description: Human-readable category name.
                              example: Agricultural Services
                            subcategories:
                              type: array
                              items:
                                type: object
                                properties:
                                  categoryCode:
                                    type: string
                                    description: >-
                                      Subcategory code — use this as
                                      natureOfBusiness.
                                    example: AGRI.VET
                                  categoryName:
                                    type: string
                                    example: Veterinary Services
              example:
                gid: gl_9c2645ed09edb22e
                timestamp: 10/01/2026 15:00:00
                reasonCode: ''
                data:
                  categories:
                    - categoryCode: AGRI
                      categoryName: Agricultural Services
                      subcategories:
                        - categoryCode: AGRI.VET
                          categoryName: Veterinary Services
                        - categoryCode: AGRI.COOP
                          categoryName: Agricultural Cooperatives
                    - categoryCode: BUS
                      categoryName: Business Services
                      subcategories:
                        - categoryCode: BUS.IT_SERVICES
                          categoryName: IT & Programming Services
                        - categoryCode: BUS.CONSULTING
                          categoryName: Consulting & Management
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  responses:
    Unauthorized:
      description: Authentication failed — invalid API key or digest.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CommonErrorResponse'
          examples:
            unauthorizedError:
              summary: Unauthorized error example
              value:
                gid: gl_9c2645ed09edb22e
                timestamp: 10/01/2026 15:00:00
                reasonCode: UNAUTHORIZED
                data: {}
                errors: null
                errorDetails:
                  - fieldName: authorization
                    message: Invalid x-gl-token-external
  schemas:
    CommonErrorResponse:
      type: object
      properties:
        gid:
          type: string
          example: gl_9c2645ed09edb22e
        timestamp:
          type: string
          example: 10/01/2026 15:00:00
        reasonCode:
          type: string
          example: VALIDATION_ERROR
        data:
          type: object
        errors:
          type: object
        errorDetails:
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetail'
    ErrorDetail:
      type: object
      properties:
        field:
          type: string
          description: Name of the field that failed validation.
          example: panNumber
        message:
          type: string
          description: Human-readable error message.
          example: Required field is missing
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-gl-auth
      description: Static API Key generated from the PayGlocal Partner Dashboard.
    DigestAuth:
      type: apiKey
      in: header
      name: x-gl-digest
      description: >
        Per-request HmacSHA256 signature, Base64-encoded, using your API Secret
        as the HMAC key.

        - For GET requests: sign the request URI path (e.g.
        `/gcc/v2/partner/merchant/onboard/business-category`), including query
        string if present.

        - For POST/PUT requests: sign the exact raw request body.

````