Skip to main content
GET
/
gcc
/
v2
/
partner
/
merchant
/
onboard
/
business-category
Get Business Categories
curl --request GET \
  --url https://api.onboard.payglocal.in/gcc/v2/partner/merchant/onboard/business-category \
  --header 'x-gl-auth: <api-key>' \
  --header 'x-gl-digest: <api-key>'
{
  "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"
          }
        ]
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://payglocal.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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. For a static reference, see Business Categories.

Authorizations

x-gl-auth
string
header
required

Static API Key generated from the PayGlocal Partner Dashboard.

x-gl-digest
string
header
required

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.

Response

Business categories retrieved successfully.

gid
string
Example:

"gl_9c2645ed09edb22e"

timestamp
string
Example:

"10/01/2026 15:00:00"

reasonCode
string
Example:

""

data
object