GoCardless
Finance User OAuth + API Key

GoCardless

Collect recurring payments and manage direct debits through GoCardless using OAuth authentication.

Auth Model

User OAuth + API Key

API key-based authentication. Users provide their API key, which Authpipe stores encrypted and monitors for rotation and validity. No OAuth flow required.

Connection Flow

1
User provides API key
2
Key encrypted and stored
3
Health checks begin
@authpipe/node
// Get a valid credential — always fresh, zero latency
const { credential } = await authpipe.getCredential({
  provider: 'gocardless',
  tenantId: 'org_acme',
  userId: 'user_123',
});
// Use the credential with the provider API
const response = await fetch('https://api.example.com/data', {
  headers: { Authorization: `Bearer ${credential}` },
});
@authpipe/react
// Drop-in React component
<ConnectButton
  provider="gocardless"
  onSuccess={(conn) => console.log('Connected!', conn)}
/>

Available Scopes

Permissions you can request when connecting to GoCardless.

read_write

Full read and write access to the GoCardless account

read_only

Read-only access to the GoCardless account

What Authpipe handles for GoCardless

OAuth Orchestration

PKCE, state validation, callback handling, and provider-specific quirks — all automatic.

Encrypted Vault

AES-256-GCM encryption with per-tenant key isolation. OAuth tokens, API keys, and webhook secrets — never exposed to the frontend.

Silent Refresh

Proactive token refresh before expiry. SDK returns from local cache with zero latency.

Health Monitoring

Scheduled checks detect revoked tokens and expired credentials before users notice.

More Finance providers

Ready to connect GoCardless?

Get your first 100 connections free. Set up in minutes with our SDK.