Webhook Registering for Poynt Billing Services

I’m trying to execute webhook registering api call for billing services.

According to the documentation, businessId parameter should correspond to the orgid of my developer account.

{
“eventTypes”: [
“APPLICATION_SUBSCRIPTION_START”,
“APPLICATION_SUBSCRIPTION_END”
],
“businessId”: “",
“applicationId”: "
**”,
“deliveryUrl”: “https://sample.test.ocm/poynt/webhooks”,
“secret”: “no-secret”
}

I have created the token for one my terminal application and using it in the authorization header.

However am getting a unauthorized error from the poynt apis.

{
“code”: “UNAUTHORIZED_ACCESS”,
“httpStatus”: 401,
“message”: “Access not authorized for the requested resource.”,
“developerMessage”: “The principal does not have read access to the resource: /applications”,
“requestId”: “1882aa5e-feb4-4f0e-b4dd-6c6e145a0f76”
}

Anything am missing here.

Thanks.

Hi @isuruw,
This error happens when the applicationId being used does not belong to the OrgId. Can you please share directly over email the following two values: 1) ApplicationId and 2) The OrgId.

Thanks.

Probably a dumb question, but I’ve looked around the developer environment and can’t seem to find the OrgId value. Where is a good place to see it?

thanks, peter