POST {{baseUrl}}/{{stage}}/external/businesses/{{businessID}}/settings| Header | Value | Required |
|---|---|---|
X-Business-Key | businessKey | ✅ |
Content-Type | application/json | ✅ |
| Parameter | Type | Description |
|---|---|---|
businessID | string | Your business NRS ID |
| Parameter | Type | Description |
|---|---|---|
webhookUrl | string | HTTPS URL to receive invoice notifications (B2B transmissions, status updates) |
webhookAuth | string | Authentication token/header value for webhook requests |
qrCodePublicKey | string | Public key for QR code validation on invoices |
qrCodeCertificate | string | Certificate for QR code generation |
webhookAuth sent as Authorization header in webhook requests to your endpoint.txt file contains the following:business-settings endpoint.{
"responseCode": "00",
"responseMessage": "Completed successfully"
}| Field | Description |
|---|---|
responseCode | 00 = success, 106 = validation failed |
responseMessage | Success / Failed response |
{
"responseCode": "106",
"responseMessage": "Validation failed: webhookUrl must be a valid HTTPS URL"
}{
"responseCode": "03",
"responseMessage": "Invalid or expired business key"
}{
"responseCode": "02",
"responseMessage": "Business not found with ID: {businessID}"
}businessID in URL matches your registered NRS ID{
"responseCode": "99",
"responseMessage": "An internal error occurred while updating settings",
"requestId": "req_xyz123"
}requestId if persistent.{
"event": "invoice.transmitted",
"data": {
"invoiceIRN": "IRN_7H3K9M2P4S6V8X1Z",
"status": "TRANSMITTED"
}
}webhookAuth headerwebhookAuth securely, rotate regularly