Go
package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.sandbox.{id}.gr4vy.app/connection-definitions" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer <token>") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
{ "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" } ] }
connections.read
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Returns a list of connection definitions.
A list of available connection definitions.
Show child attributes
The ID of the connection.
"stripe-card"
connection-definition.
connection-definition
"connection-definition"
The name of this connection.
"Stripe"
The number of configured connections.
1
anti-fraud-service
digital-wallet
gift-card-service
payment-service
"payment-service"
anti-fraud
bank
bnpl
card
cash
stored-credit
wallet
"card"
An icon to display for the connection.
"https://cdn.gr4vy.app/stripe.svg"
The provider for this connection.
Was this page helpful?