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.