Skip to main content

Update Braintree Gateway

PUT 

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

Use this endpoint to configure Braintree.

Request

Responses

OK

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://useast.api.elasticpath.com/v2/gateways/braintree");
request.Headers.Add("Accept", "application/json");
var content = new StringContent("{\n \"data\": {\n \"enabled\": true,\n \"environment\": \"string\",\n \"merchant_id\": \"string\",\n \"private_key\": \"string\",\n \"public_key\": \"string\"\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": {
    "enabled": true,
    "environment": "string",
    "merchant_id": "string",
    "private_key": "string",
    "public_key": "string"
  }
}
ResponseClear

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