Skip to main content

Get a Gateway

GET 

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

Retrieves the specified gateway.

Request

Path Parameters

    gatewaySlug stringrequired

    Possible values: [manual, braintree, stripe, stripe_payment_intents, stripe_connect, elastic_path_payments_stripe, paypal_express_checkout, adyen, authorize_net, card_connect, cyber_source]

    The slug of the gateway.

Responses

OK

Schema
    data object
    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/:gatewaySlug");
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
Parameters
— pathrequired
ResponseClear

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