Skip to main content

Referral Partner API Overview

The Referral Partner API enables platforms to embed Debitura services, onboard clients programmatically, and track revenue attribution. Use this API to offer debt collection capabilities to your users without building your own integration.

New to the Referral Partner API?

Start with the Referral Partners Integration Track for architecture overview and guides, or jump to the Quickstart to onboard your first client.

Base URLs​

EnvironmentURL
Productionhttps://referral-api.debitura.com
Testhttps://testreferral-api.debitura.com

Authentication​

The Referral Partner API uses two-layer authentication:

  1. API Key (XApiKey header) — for all Referral Partner API calls
  2. JWT Bearer Token — for Customer API calls made on behalf of a linked client
# Layer 1: API key in XApiKey header
curl -H "XApiKey: your-api-key" \
https://referral-api.debitura.com/me

# Layer 2: Mint a JWT for a linked client
curl -X POST https://referral-api.debitura.com/oauth/token \
-H "XApiKey: your-api-key" \
-H "Content-Type: application/json" \
-d '{"externalTenantId": "your-client-id"}'

Learn more: Authentication Guide

API Reference​

Browse all endpoints in the Referral Partner API Reference.

Key Endpoints​

CategoryDescriptionGuide
OAuthObtain access tokensAuthentication
ClientsCreate and manage linked clientsClient Onboarding
WebhooksSubscribe to client and case eventsWebhook Setup
ReportingAccess revenue attribution dataAttribution
Partner ProfileView authenticated partner details—

Integration Guides​

GuideDescription
QuickstartOnboard your first client in 5 minutes
Client OnboardingFull guide to linking and managing clients
Webhook SetupConfigure event notifications
Webhook Best PracticesProduction patterns for reliability
Webhook EventsEvent types and payload schemas

Concepts​

TopicDescription
Claim Amount and AgeChoose how case principal and aging data are supplied
Client LifecycleHow clients move through onboarding states
AttributionRevenue tracking and commission model
EnvironmentsSandbox vs production differences
White-Label UIEmbedded UI options
AuthenticationOAuth 2.0 and security
WebhooksEvent payload format and verification

Need Help?​