question

unoshopley avatar image
unoshopley asked bryanvargas answered

Rest Pay API + Hosted Tokenization + Ecommerce API

We are in the process of building a pos app. We want to use clover as a payment provider.

We created an App in clover dev portal (enabled ecomm payments )

We authorized the app got the auth code in url.


Now to make any further transaction we need access_token as in --header 'Authorization: Bearer token' \

My question is do we save the access token in our db once its generated for future use ?


I dont think we can ask merchants to go throught the ouath flow for every transaction and its not even possible for hosted tokenization.



API Token
10 |2000

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

1 Answer

bryanvargas avatar image
bryanvargas answered

Yes, we recommend saving the merchant OAuth token in a backend database(securest) once you retrieve it to continue to use it in your API Calls. For more information on OAuth 2.0 it can found here: https://docs.clover.com/docs/using-oauth-20

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