Create a new transaction

I am trying to send a transaction to my Poynt terminal via the API. I am using POST https://services.poynt.net/businesses/{businessId}/transactions but I am getting this response:

{
“code”: “UNAUTHORIZED_ACCESS”,
“httpStatus”: 401,
“message”: “Access not authorized for the requested resource.”,
“developerMessage”: “Unauthorized access attempt. This principal does not have access to this resource.”,
“requestId”: “20220207104759”
}

I am looking on my dashboard and in my terminal and I can’t seem to find what to do to make it work. Any help?

Hi,

You would need to use the merchant login url from the app to login to the business. This is to authorize the app to access the business info. Please refer to the below link:
https://docs.poynt.com/app-integration/cloudApps/integrating-with-poynt-cloud-apis.html#merchant-authorization