Update Stripe Connect Gateway
PUThttps://useast.api.elasticpath.com/v2/gateways/stripe_connect
Use this endpoint to configure Stripe Connect in Commerce.
note
You can contact Elastic Path sales or customer success team to get more information about Stripe Connect and to check whether it will work for you.
Request
Responses
- 200
- 401
OK
Unauthorized
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://useast.api.elasticpath.com/v2/gateways/stripe_connect");
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());
ResponseClear