question

qualwebs avatar image
qualwebs asked David Marginian Deactivated commented

How to use production API tokens?

Hello,

We created a REST client app on the sandbox and able to access the data and make a single payment using card token and charge API.

Now, we wanted to move to production, We have generated the API token but unable to generate the access token to call REST APIs.

As per the clover API documentation, To generate the access token, we required an app ID. So, we don't know how to move the sandbox app to production for API calls?

Please explain the process of migration from sandbox to production.


Best,

Dev

qualwebs

Production
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

·
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated commented

You need to create a developer account in production - https://www.clover.com/developer-home. You then need to re-create your app in the production environment. Your app will need to be submitted for approval in production and approved (current process can take 9 weeks or more). https://docs.clover.com/docs/developer-app-approval

21 comments
10 |2000

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

qualwebs avatar image qualwebs commented ·

Thanks for your reply David!

When I log in and go to this developer-home URL as mentioned in the above comment, it shows me page not found please check this image https://i.postimg.cc/B6JTBSqH/screenshot-1032.png

I just wanted to access the data of my clover account like orders, items and wanted to integrate payment gateway(already done with sandbox).

Do I still need to create an app? I don't want to access any other clover account.


Please clear with these points,

Best,

Dev

qualwebs

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ qualwebs commented ·

Are you a Clover merchant or building an integration for a single Clover merchant?

0 Likes 0 ·
qualwebs avatar image qualwebs David Marginian ♦♦ commented ·

We are clover merchant and building integration for own account.

0 Likes 0 ·
Show more comments
qualwebs avatar image qualwebs commented ·

David,

Please check my last reply.

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ qualwebs commented ·

I just noticed you are hitting https://scl-sandbox.dev.clover.com/v1/charges, that is not correct for production. The production url is https://scl.clover.com/v1/charges.

https://docs.clover.com/reference/api-reference-overview

0 Likes 0 ·
qualwebs avatar image qualwebs David Marginian ♦♦ commented ·

I'm using the production endpoint at the form iframe and charge end.

Please check this https://i.postimg.cc/Nfp43zFB/screenshot-1074.png

0 Likes 0 ·
Show more comments

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