question

phongvo83 avatar image
phongvo83 asked David Marginian answered

How can to call API from another country?

Hi Clover Devask,

Does my support team from Vietnam call APIs to the sandbox server for testing purposes?

Thanks,

REST API
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.

David Marginian avatar image
David Marginian answered

You shouldn't have a problem calling the API from Vietnam.

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.

phongvo83 avatar image
phongvo83 answered

Hi David,
Thanks for your answer. At the moment, the Vietnam team tried to call "get API" but they get the error message as below.
20201110-error-unauthorized.png


I think that the web service does not allow any request out of the US.


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.

David Marginian avatar image
David Marginian answered

The sandbox base URL is https://sandbox.dev.clover.com.. Also, your merchant id may be off (this should be a 13 digit alpha-numeric id). Information for resolving 401s can be found here - https://docs.clover.com/docs/401-unauthorized.. This does not have anything to do with you being in Vietname.


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.

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