question

go3-icon-first-data avatar image
go3-icon-first-data asked zgreathouse Deactivated commented

Getting 401 message while trying to connect to api pay v2 using get method

H1,
I use the access token which is generated by Oauth2.0 , it works fine on sandbox .
Is it any problem to use it to connect to v2 pay module ? I got 401 message which is never found on sandbox.
Payments
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.

zgreathouse avatar image zgreathouse commented ·

By API Pay v2 are you referring to the Developer Pay API? If so, could you confirm the permissions you have enabled on your app?

0 Likes 0 ·

1 Answer

zgreathouse avatar image
zgreathouse Deactivated answered
It may be that the proper permissions are enabled for use of the Developer Pay API. (Permissions required: Payments Write, Process Credit Cards)

Here are our docs on which permissions you must have enabled for use of the developer pay api:
- https://docs.clover.com/clover-platform/docs/developer-pay-api#section--getting-information-for-the-pay-endpoint-
- https://docs.clover.com/clover-platform/docs/developer-pay-api#section--authorizing-capturing-a-payment-
10 |2000

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