using RestSharp;
var options = new RestClientOptions("https://api.sandbox.{id}.gr4vy.app/connections");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
using RestSharp;
var options = new RestClientOptions("https://api.sandbox.{id}.gr4vy.app/connections");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
This API is different from the list payment services endpoint because
it returns all service types including anti-fraud and gift card services.This endpoint requires the connections.read scope.