"Best analytics tool I've used in 14 years"

Get integrations

GET https://datafa.st/api/v1/admin/websites/{websiteId}/integrations

Return payment provider connection status for the website. Shows which providers are connected and the website currency — no secrets or API keys are included.

Shopify and WooCommerce connections are managed through their respective install flows, not connect endpoints.

Request

Path parameters

websiteId
string
Website ObjectId. From List websites (_id field). Example: 665f0b3c4d2e1a0012345678.

Response

Returns a JSON object with status: "success" and endpoint-specific fields in data.

Response fields

data[].stripe.connected
boolean
Stripe connection status.
data[].lemonsqueezy.connected
boolean
Lemon Squeezy connection status.
data[].polar.connected
boolean
Polar connection status.
data[].paddle.connected
boolean
Paddle connection status.
data[].paddle.keyExpiresAt
string|null
Paddle API key expiry timestamp when available.
data[].shopify.connected
boolean
Shopify connection status.
data[].woocommerce.connected
boolean
WooCommerce connection status.
data[].currency
string
Currency code for money values, such as USD or EUR.

Authentication

Use a dft_ account token with settings:read.
A df_ website API key for the same website can also call this route when the path websiteId matches the key's website. Write access with a df_ key is capped at member level — owner-only actions such as team management require a dft_ token and owner role.

Errors

See API errors for the standard error envelope, auth failures, validation errors, permission errors, and rate limits.

✍️ Something missing? Suggest features.

🤖 AI agent or LLM? Read this page as markdown

Example request
curl -X GET "https://datafa.st/api/v1/admin/websites/{websiteId}/integrations" \
  -H "Authorization: Bearer dft_xxx"
Success response
{
  "status": "success",
  "data": [{
    "stripe": { "connected": true },
    "lemonsqueezy": { "connected": false },
    "polar": { "connected": false },
    "paddle": { "connected": false, "keyExpiresAt": null },
    "shopify": { "connected": false },
    "woocommerce": { "connected": false },
    "currency": "USD"
  }]
}