question

jainh avatar image
jainh asked parquet76 commented

Clover API Payment endpoint

I created a developer account, created an app as per the documentation provided, In order to access any endpoint, I need to get an API key, which I did try to do using the bearer authorization with my access token, always get the 401 unauthorized error, read all the documentation, but couldn't get around it.
I just need an API key so that I can access endpoints. I need this API key to send requests frm my application to process the payment requests.

Could anyone please help me on this?

e-commerce apiAPI TokenDeveloper Pay API
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bryanvargas avatar image bryanvargas ♦♦ commented ·

Make sure your accessToken is correct for that test merchant. I would recommend getting a new OAuth token and then use the Get API Key (PAKMS) { {baseUrl}}/pakms/apikey with the OAuth token as a header.

0 Likes 0 ·

1 Answer

·
Ian LeBlanc avatar image
Ian LeBlanc answered parquet76 commented

check your key permissions. the error messaging is bad. Also talked to a guy in sales that said the Rest API is no longer supported but not sure thats accurate.

2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

parquet76 avatar image parquet76 commented ·

I wouldn't rely on a sales guy to provide API info, I think you are doing something wrong, https://docs.clover.com/docs/401-unauthorized

0 Likes 0 ·
parquet76 avatar image parquet76 parquet76 commented ·
I have also seen 401s when using the wrong merchant id.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community