GetStatus

Summary

Gets the status of the service

Resource URL /api/v3/status
HTTP method GET
Content type application/json; charset=utf-8

Input parameters

Parameter name Location Type / Model Description

Responses

HTTP status code Model Comment
OK(200)
BadRequest (400) array of ResponseMessage Request failed. Check response model for list of Errors.
Unauthorized (401) API user is unauthorized. Make sure X-Auth-Key header is sent.
InternalServerError (500) Request failed due internal error. Retry request later.

Examples

var AfterPayApi = require("./afterPay.js");
var apiKeyAuthentication = require("./api_key_filter");

var key = 'CHANGE_ME';
var client = new AfterPayApi().addFilter(apiKeyAuthentication.create(key));

client.Common.getStatus(
  function(err, response, httpRequest, httpResponse) {
  });
$LOAD_PATH.unshift File.dirname(__FILE__)
require 'after_pay.rb'
require 'json'

client = AfterPayApi::AfterPay.new(AfterPayApi::ApiKeyCredentials.new('YOUR_API_KEY'))


client.common.getStatus_async().then{|response|

}.execute.wait
var key = "CHANGE_ME";
var client = new CommonApi(new Configuration() { DefaultHeader = new Dictionary<string, string>() { { "X-Auth-Key", key} } });


var responce = client.CommonGetStatus();