question

demskigroup avatar image
demskigroup asked ·

Developer Pay API Make Payment Without User Login

Is it possible to use this: https://docs.clover.com/faq/how-do-i-... without requiring a user to login with a clover account? We would like to allow customers to pay from a website without having to login.

10 |2000 characters needed characters left characters exceeded

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

1 Answer

· Write an Answer
Miguel avatar image
Miguel answered ·

Customers are not required to have or log in to a Clover account to make payments on your site using our Developer Pay API. However in order to use the Developer Pay API, you will need to have a valid API token for the merchant.

5 comments Share
10 |2000 characters needed characters left characters exceeded

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

But doesn't the API token expire now? Will we need to renew each time?

0 Likes 0 · ·

Only merchant generated API tokens expire. These are not designed for production use anyway. API Tokens generated with OAuth or the Android SDK do not expire.

0 Likes 0 · ·
Hi Miguel, the documentation reflects that API tokens are good for a year. 'The API token has a lifespan of one year.' Can you confirm that the statement only applies to merchant generated API tokens and not OAuth generated tokens? Thank you.
0 Likes 0 · ·

So we would grab the api token from the merchants initial login. Then use that for the payments for users not logged in?

0 Likes 0 · ·

Yes, you can read more about our OAuth flow here: https://docs.clover.com/build/oauth-2-0/

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