Skip to main content

Get all Gateways

GET 

https://useast.api.elasticpath.com/v2/gateways

Retrieves all gateways.

Responses

OK

Schema
    data object[]
  • Array [
  • enabledboolean

    Specifies whether the gateway is enabled or disabled. Set true to enable the gateway and false to disable the gateway. Default is false.

    Example: true
    loginstring

    Represents your login ID.

    namestring

    Represents the name of the gateway.

    Example: {gatewayName}
    typestring

    Specifies the type of object being returned.

    Example: gateway
    passwordstring

    Specifies your password.

    signaturestring
    slugstring

    Specifies the slug of the gateway.

    Example: {gatewaySlug}
    testboolean

    Specifies whether the test mode is enabled. Set true to enable test mode and false to disable the test mode. Default is false.

    Example: false
  • ]
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://useast.api.elasticpath.com/v2/gateways");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://useast.api.elasticpath.com
ResponseClear

Click the Send API Request button above and see the response here!