Skip to content

Onboarding

Get business settings

Read your business profile and invoicing settings as Qorpy holds them.

GET{baseUrl}/{stage}/external/businesses/{businessId}/settings

Purpose: Retrieve your current business configuration including webhook settings and QR code parameters.

Request

Headers

X-Business-Keyrequired
Acceptrequired
application/json

Path Parameters

businessIDstring
Your business NRS ID

Request Body

None

Response

Success (200)

The full success response is in the Response panel.

Response Fields

responseCodestring
00 = success, 02 = business not found
responseMessagestring
Human-readable status message
settingsobject
Current business configuration
settings.webhookUrlstring | null
Configured webhook URL for notifications
settings.webhookAuthConfiguredboolean
true if webhook auth token is set (actual value not returned for security)
settings.qrCodePublicKeystring | null
Public key for QR code generation
settings.qrCodeCertificatestring | null
Certificate for QR code signing

Note: webhookAuth value is never returned in responses for security. Only a boolean flag indicating if it's configured.

Errors

401 - Unauthorized

JSON
{
  "responseCode": "03",
  "responseMessage": "Invalid or expired business key"
}

→ Verify Authorization header format and business key validity

404 - Business Not Found

JSON
{
  "responseCode": "02",
  "responseMessage": "Business not found with ID: {businessID}"
}

→ Check businessID in URL matches your registered NRS ID

500 - Internal Server Error

JSON
{
  "responseCode": "99",
  "responseMessage": "An internal error occurred while retrieving settings",
  "requestId": "req_xyz123"
}

→ Retry after 2-3 minutes. Contact support with requestId if persistent.

Example Request

cURL
curl -X GET "{baseUrl}/{stage}/external/businesses/{businessID}/settings" \
  -H "X-Business-Key: BK_QUBYK4S2X97J" \
  -H "Accept: application/json"

Use Cases

  • Verify configuration before testing
  • Confirm QR code keys and branding URLs are uploaded
  • Backup settings before updates
  • Display current settings in admin dashboard

Related: POST /businesses/{businessID}/settings - Update settings