Referral partners
- Base URL
https://referral-api.debitura.com- Authentication
- API key in the
XApiKeyheader
Get authenticated partner information
/meRetrieves complete configuration and styling information for the authenticated referral partner.
Authentication
- Requires a valid API key in the XApiKey header
- The API key uniquely identifies the referral partner
Response Data
- Partner identification (ID, system name, display name)
- Branding configuration (logo URLs, colors, fonts)
- Revenue sharing percentage
- Partner status and settings
Use Cases
- Configure white-label branding for client onboarding pages
- Display partner-specific styling in integrations
- Verify partner configuration and settings
- Retrieve commission/fee percentage for revenue calculations
The styling properties returned can be used to customize the appearance of onboarding pages and other partner-facing interfaces to match the referral partner's branding.
Returns
200 Partner information retrieved successfully
iduuidUnique identifier for the referral partner.
companyNamestringnullableCompany name of the referral partner.
shortNamestringnullableShort name of the referral partner.
contactEmailstringnullableContact email for the referral partner.
externalSystemIdstringnullableExternal system identifier for the partner.
referralFeePercentagenumberPercentage of Debitura's earnings that will be paid as referral fee.
isActivebooleanWhether the partner is currently active.
isPublicDemobooleanWhen true, this partner is used for public onboarding demos and may have demo-specific behaviour.
logoUrlstringnullableURL to the referral partner's logo image.
backgroundColorCodestringnullableBackground color code for custom styling (e.g., "#FFFFFF").
fontColorstringnullableFont color code for custom styling (e.g., "#000000").
fontFamilystringnullableFont family for custom styling (e.g., "Arial, sans-serif").
invoicingTriggerModeenumnullableWhat condition triggers payouts to become ready to invoice Debitura for this partner. Null means the platform default (pay-when-paid). Set by Debitura; read-only here.
One ofPayWhenPaidConfirmedPipelinenullbillingModeenumOne ofPartnerInvoiceSelfBilling
Errors
404 | Referral partner not found (invalid configuration) |
500 | Internal server error |
See Error handling.
curl https://referral-api.debitura.com/me \-H "XApiKey: $DEBITURA_API_KEY"
{"id": "3f2b6c1e-8a4d-4b7f-9c2e-5d1a0b9e7f31","companyName": "Muster GmbH","shortName": "Muster GmbH","contactEmail": "finance@example.com","externalSystemId": "string","referralFeePercentage": 2500,"isActive": true,"isPublicDemo": true,"logoUrl": "https://app.debitura.com/…","backgroundColorCode": "string","fontColor": "string","fontFamily": "string","invoicingTriggerMode": "PayWhenPaid","billingMode": "PartnerInvoice"}