GET
/
connection-definitions
curl --request GET \
  --url https://api.{gr4vy_id}.gr4vy.app/connection-definitions \
  --header 'Authorization: Bearer <token>'
{
  "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"
    }
  ]
}

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

200
application/json
Returns a list of connection definitions.

A list of available connection definitions.

items
object[]

A connection that can be configured.