Skip to main content

Update CardConnect Gateway

PUT 

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

Use this endpoint to configure CardConnect.

Request

Body

    data object
    merchant_idstringrequired

    Specifies your CardConnect Merchant ID.

    usernamestringrequired

    Represents your CardConnect username.

    passwordstringrequired

    Indicates your CardConnect password.

    testboolean

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

    enabledboolean

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

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
    merchant_idstring

    Specifies your CardConnect Merchant ID.

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://useast.api.elasticpath.com/v2/gateways/card_connect");
request.Headers.Add("Accept", "application/json");
var content = new StringContent("{\n \"data\": {\n \"merchant_id\": \"string\",\n \"username\": \"string\",\n \"password\": \"string\",\n \"test\": true,\n \"enabled\": true\n }\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://useast.api.elasticpath.com
Body
{
  "data": {
    "merchant_id": "string",
    "username": "string",
    "password": "string",
    "test": true,
    "enabled": true
  }
}
ResponseClear

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

We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.