Ping Example¶
Introduction¶
In this example we'll give you information on what you'll need to do to implement a successful call to our API and receive a response.
Authentication¶
First thing is that you'll need to authenticate to use our site. You can get your API key and secret by contacting our team.
You need to contact us before you are allowed to use our sandbox environment. Once you reach out to us you'll also be invited to our Skype group where you can post questions about our API that will be answered by our Engineering team. We prefer technical communication to go through this Skype group.
Once you obtain your API key and secret you'll need to set up your environment with them. See the authentication documentation for more details on the authentication process.
Making API call¶
Next step is making the call to the API. You should use the sandbox url and make a GET
request to /ping
:
GET /ping
Full url for this example will be equal to https://mw-sandbox.glocurrency.com/api/v2/partners/ping
.
Resulting response should contain the following content:
{
"message": "pong"
}