Skip to main content
GET
/
connection-definitions
List connection definitions
using RestSharp;


var options = new RestClientOptions("https://api.sandbox.{id}.gr4vy.app/connection-definitions");
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": "stripe-card",
      "type": "connection-definition",
      "name": "Stripe",
      "count": 1,
      "group": "payment-service",
      "category": "card",
      "icon_url": "https://cdn.gr4vy.app/stripe.svg",
      "provider": "Stripe"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.gr4vy.com/llms.txt

Use this file to discover all available pages before exploring further.

This API is different from the list payment service definitions endpoint because it returns definitions for 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 connection definitions.

A list of available connection definitions.

items
Connection Definition · object[]