At present, we have obtained card token, in sandboxie environment, but using card token to call payment still reported an error. Why?
At present, we have obtained card token, in sandboxie environment, but using card token to call payment still reported an error. Why?
You should use the correct OAuth2.0 token. To generate it you can get help from the following references:
https://docs.clover.com/docs/using-api-tokens
https://docs.clover.com/docs/using-oauth-20
Sanjay is correct. To add some more information, you are trying to pass a card token as the access token (bearer), that is not correct. Even if you were passing a valid access token, the call would fail because you are not passing the card token as the source.
Please take a look at the following documentation:
https://docs.clover.com/docs/ecommerce-api-tutorials
https://docs.clover.com/docs/ecommerce-accepting-payments
https://docs.clover.com/docs/ecommerce-app-permissions
2 People are following this question.