question

rastech29 avatar image
rastech29 asked michak78 edited

Unable to send order to Developer Account what is the rest api url for developer accounts

Hi

User our php app we can send orders fine to our clover sandbox. But I try to send to send order to Clover Developer account it doesn't work. What is the base url for developer account.

is it https://api.clover.com ?


As per our understanding we can create an app on the following two portal.

1. https://sandbox.dev.clover.com/developer-home/login - sandbox - for initial development and testing

2. https://www.clover.com/developer-home/ - Developer - for production

Presently our application is working fine under sandbox environment and we are able to see our orders under the merchants located in https://sandbox.dev.clover.com/ and to submit orders this the base url we are using https://sandbox.dev.clover.com/v3/merchants/

However when we try to submit orders Developer for production environment nothing happens. We can generate Token fine in Developer for production environment. To generate token we are using https://clover.com base url. To submit orders we are using https://api.clover.com/v3/merchants/' is this correct? or should we use another URL.


Thanks


Thanks


REST API
10 |2000

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

David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated edited

Please see the Community Guidelines on posting/asking questions.

A developer account may exist in sandbox or production. I think what you meant to say is that you are unable to create an order on your production account? The URL you included is the correct URL for production. Can you provide details on the problem?

2 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.

rastech29 avatar image rastech29 commented ·

We don't know the exact problem. Our code is working fine on the sandbox, but when we try to use the same code and change the base url to https://api.clover.com/v3/merchants/ none of the orders are going through. We are hitting a road block because dont even know how to troubleshoot and look for errors. As we don't get any errors on our end.

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

If you would like assistance you will need to provide:

1) The request you are making (excluding any credentials or secret information).

2) The response you are receiving.

3) Your merchant id (in a moderators only comment please - https://community.clover.com/index.html).

0 Likes 0 ·
michak78 avatar image
michak78 answered michak78 edited

The base URL for the Clover Developer account in Water Purifier Manufacturer a production environment is different from the one used in the sandbox environment. To submit orders to a Clover Developer account for production, you should use the following base URL:


bash

Copy code

https://api.clover.com/v3/merchants/

However, please note that in a production environment, you need to use the specific merchant ID associated with the Clover Developer account you are targeting. Each merchant has a unique merchant ID, and you need to replace 'merchant_id' in the URL above with the actual merchant ID of the merchant where you want to submit orders.

10 |2000

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

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