I am building a custom e-commerce integration for a client of mine.
I see there are a few different ways to generate auth tokens to use the api.
The first, which I've already done is make an app, redirect the merchant to sign in and generate an oauth token.
The other two types of tokens are merchant key and e-commerce public and secret client.
From what I understand I am not allowed to generate a merchant key/api token for custom e-commerce integrations.
So naturally I want to use e-commerce public and secret client, however I have found zero documentation on how to use this to authenticate requests or the sdks.
My question is, what is the correct type of token to use for a customer e-commerce integration?
The app simply displays inventory, allows users to build a cart/checkout, and uses the iframe integration to accept payments. This seems like a pretty straight forward use case but I have probably wasted 10 hours reading the documentation and community boards trying to find an answer.
I keep finding conflicting information both in the documentation and from Clover employees in the community dashboard.
So please for custom ecommerce integration what can I do? I'd like to simply create an API token in the merchant dashboard and use this to authenticate my api calls through the SDK.