Skip to main content
GET
/
connections
List connections
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);
{
  "items": [
    {
      "id": "7b5e02bd-fa53-4ef0-b11e-1609d0f48cc5",
      "type": "connection",
      "name": "My Connection",
      "active": true,
      "silent": false,
      "definition": {
        "id": "stripe-card",
        "type": "connection-definition",
        "name": "Stripe",
        "count": 1,
        "group": "payment-service",
        "category": "card",
        "icon_url": "https://cdn.gr4vy.app/stripe.svg",
        "provider": "Stripe"
      }
    }
  ]
}
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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Returns a list of connections.

A list of configured connections.

items
Connection · object[]