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

Integrations

Use these endpoints to check payment-provider status and connect or disconnect providers programmatically.

Use the integration API when an agent or internal tool needs to complete revenue attribution setup. Connect endpoints validate provider credentials, create webhooks when possible, and backfill existing payments where supported.

Base path: https://datafa.st/api/v1/admin
EndpointMethodPathPermissionPurpose
Get integrationsGET/websites/{websiteId}/integrationssettings:readGet provider connection status
Connect StripePOST/websites/{websiteId}/integrations/stripesettings:writeConnect Stripe with stripeRak
Disconnect StripeDELETE/websites/{websiteId}/integrations/stripesettings:writeDisconnect Stripe
Connect Lemon SqueezyPOST/websites/{websiteId}/integrations/lemonsqueezysettings:writeConnect Lemon Squeezy with lemonsqueezyApiKey and lemonsqueezyStoreId
Disconnect Lemon SqueezyDELETE/websites/{websiteId}/integrations/lemonsqueezysettings:writeDisconnect Lemon Squeezy
Connect PolarPOST/websites/{websiteId}/integrations/polarsettings:writeConnect Polar with polarAccessToken and polarOrgId
Disconnect PolarDELETE/websites/{websiteId}/integrations/polarsettings:writeDisconnect Polar
Connect PaddlePOST/websites/{websiteId}/integrations/paddlesettings:writeConnect Paddle with paddleApiKey
Disconnect PaddleDELETE/websites/{websiteId}/integrations/paddlesettings:writeDisconnect Paddle
Disconnect ShopifyDELETE/websites/{websiteId}/integrations/shopifysettings:writeDisconnect Shopify
Disconnect WooCommerceDELETE/websites/{websiteId}/integrations/woocommercesettings:writeDisconnect WooCommerce

Provider credentials are stored by DataFast and never returned by the status endpoint.

Connect Stripe

curl -X POST "https://datafa.st/api/v1/admin/websites/YOUR_WEBSITE_ID/integrations/stripe" \
  -H "Authorization: Bearer dft_xxx" \
  -H "Content-Type: application/json" \
  -d '{"stripeRak":"rk_live_..."}'
Use a Stripe restricted API key that starts with rk_, not a publishable or secret key.

✍️ Something missing? Suggest features.

🤖 AI agent or LLM? Read this page as markdown

Connect Stripe
curl -X POST "https://datafa.st/api/v1/admin/websites/YOUR_WEBSITE_ID/integrations/stripe" \
  -H "Authorization: Bearer dft_xxx" \
  -H "Content-Type: application/json" \
  -d '{"stripeRak":"rk_live_..."}'
Success response
{
  "status": "success",
  "data": [
    {
      "message": "Stripe connected successfully",
      "currency": "USD"
    }
  ]
}