Skip to main content

Update Elastic Path Payments Powered by Stripe

PUT 

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

Use this endpoint to configure Elastic Path Payments Powered by Stripe in Commerce.

note

You can contact Elastic Path sales or customer success team to get more information about Elastic Path Payments Powered by Stripe and to check whether it will work for you.

Request

Responses

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

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