Skip to main content
incaseof.law supports a commission-based partner model where external partners (e.g. law firms, brokers, referral agencies) can refer customers. When payments are collected on claims linked to a partner’s customer, revenue shares are automatically calculated based on the partner’s commission rate.

How It Works

  1. Partner: The referral entity (e.g. a law firm) with a configured commission rate
  2. Customer: A client brought in by a partner - automatically linked via your API key
  3. Debtor: The person or company that owes the debt to the customer
  4. Claim: A debt collection case - linked to a debtor and a customer via customer_id
  5. Revenue Share: Automatically created when incaseof.law earns fees on a claim linked to a customer

Step 1: Create a Partner

Partners are created by organization admins via the Admin Dashboard (Settings → Partners) or via the API. Partners are created internally by incaseof.law. If you are interested in becoming a partner, contact us at [email protected]. Once confirmed, you will receive an API key to start integrating.

Step 2: Create a Customer

Create a customer. The customer is automatically linked to your partner account via your API key. Send your own ID for the business as partner_client_reference and its VAT ID as uid on every case. If your partner account already has a customer with that reference or UID, the API returns it instead of creating a new one — see Reusing an existing customer.
Save the customer ID: You will need the id from the response to link claims to this customer.

Customer Fields

Reusing an existing customer

Each business you work for should be one customer. Before creating, the API looks for a customer of your partner account — first by partner_client_reference, then by uid:
  • null for either key is treated as not given. Without partner_client_reference and uid, every call creates a new customer — store the returned id yourself in that case.
  • Customers created before you sent these keys can be linked with PATCH /openapi/customers/{id} ({"partner_client_reference": "ACME-001", "uid": "ATU12345678"}); a key already used by another of your customers returns 409.
  • The keys are scoped to your partner account: another partner sending the same UID gets its own customer.
  • The customer’s onboarding invitation is sent once, with the first claim filed for that customer — reusing the customer does not send it again.

Step 3: Create a Debtor

Create the debtor (person or company) that owes the debt to your customer. You must include the customer_id so the system knows which organization this debtor belongs to.
Save the debtor ID: You will need the id from the response when creating the claim.

Step 4: Create a Claim with Customer ID

When creating a claim, pass the customer_id to link it to a partner’s customer. This enables automatic revenue share tracking.
The customer_id is required for partner API tokens. It tells the system which organization this claim belongs to. Without it, the request will fail. You can update the customer_id on an existing claim via the update endpoint.

Step 4b: Decide on the court step

When out-of-court collection is exhausted, the claim moves to dunning_action_recommended (you receive the webhook claim.collection_stage_changed). The creditor decides whether to take the claim to court — through your integration:
  1. GET /openapi/claims/{claim_id}/lawsuit-decision/estimate — the court fee, and whether a lawyer is required (Austria) or not allowed (Germany). decision_open is true while a decision can still be sent; once one is recorded (by you or by the creditor in the portal) it turns false and decided turns true.
  2. POST /openapi/claims/{claim_id}/lawsuit-decision with { "decision": "sue" } or { "decision": "decline" }.
The court fee is invoiced to the creditor, at the e-mail address and postal address of the customer you created in Step 2 — keep them current. It is never invoiced to you as the partner.

Step 5: Automatic Revenue Sharing

When incaseof.law earns fees on a claim linked to a customer, the system automatically calculates the partner’s commission based on those fees - not the payment amount. No additional API calls are needed - revenue shares are created automatically.

Revenue Share Statuses


Complete Partner Workflow Example


Managing Customers

List Customers

Update a Customer

Delete a Customer


Next Steps

  • Use the Customer API to create customers
  • Link claims to customers using customer_id when creating claims
  • Revenue shares are tracked automatically
Need help? Contact us at [email protected]