How to connect to Square API to get data

Hello, I am new to UiPath and I am tasked with connecting from Square API to pull the transactions data. I have found the OAuth for my production with the access key, secret key, App ID, and the URL. Within UiPath Studio I am trying to use HTTPS activity to connect. It continues to give me an error when I provide all of the info I have. Is this the best process to pull this data from API or is there another way?

Hey @RPALearner_17

Could you please show us how did you try the same ?