Update CardConnect Gateway
PUThttps://useast.api.elasticpath.com/v2/gateways/card_connect
Use this endpoint to configure CardConnect.
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/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());
ResponseClear