Source: https://docs.debitura.com/api/collection-partner-api/account

# Account — Collection Partner API

Collection Partner Profile

Base URL: `https://collectionpartner-api.debitura.com`

Authentication: `XApiKey` API key; see [authentication](https://docs.debitura.com/developer-concepts/authentication.md).

Generated from [OpenAPI](https://docs.debitura.com/openapi/collection-partner-api.json). Examples are schema illustrations, not observed responses. Complete schemas, including recursive types, are in OpenAPI.

<a id="verifies-the-provided-api-key-and-returns-the-collection-partner"></a>

## Verifies the provided API key and returns the collection partner profile

`GET /me`

Returns the authenticated collection partner's profile information when the `XApiKey` header is valid.

Authentication
- Requires a valid API key in the XApiKey header
- The API key uniquely identifies the collection partner

Response Data
- Partner identification (ID, company name, registration details)
- Contact information (email, phone)
- Address and location details
- Billing and invoicing configuration
- Revenue sharing settings
- Partner permissions and access levels

Use Cases
- Verify API key validity and partner identity
- Retrieve partner profile for display in integrations
- Access billing and revenue share configuration
- Check partner permissions and access levels

### Response 200

Collection partner profile retrieved successfully

- `id` (uuid): Unique identifier for the collection partner.
- `companyName` (string, nullable): Company name of the collection partner.
- `logoUrl` (string, nullable): URL to the partner's logo image.
- `companyRegistrationNumber` (string, nullable): Company registration number.
- `vatNumber` (string, nullable): Company VAT number.
- `address` (string, nullable): Street address of the company.
- `zipCode` (string, nullable): Zip/postal code.
- `city` (string, nullable): City name.
- `state` (string, nullable): State or region.
- `country` (string, nullable): Country name (not included in automatic mapping).
- `officeEmail` (string, nullable): Office email address.
- `officePhone` (string, nullable): Office phone number.
- `invoiceEmail` (string, nullable): Invoice email address.
- `billingContact` (string, nullable): Billing contact person name.
- `invoiceCurrency` (integer, nullable): Invoice currency ID (nullable - defaults to country currency if not set).
- `commissionType` (enum): 
  Values: `Standard`, `SuccessFeeOnlyCommission`.
- `preLegalRevenueShare` (number, nullable): Revenue share percentage for pre-legal cases (decimal, e.g., 0.40 for 40%).
- `legalRevenueShare` (number, nullable): Revenue share percentage for legal cases (decimal, e.g., 0.20 for 20%).
- `verifiedProfile` (boolean): Whether this partner has a verified profile (has verified link or overwrite enabled).
- `fullAddress` (string, nullable): Full concatenated address string.
- `surveyCadenceMode` (enum): 
  Values: `Standard`, `DecisionPointOnly`.

```json
{
  "id": "3f2b6c1e-8a4d-4b7f-9c2e-5d1a0b9e7f31",
  "companyName": "Muster GmbH",
  "logoUrl": "https://app.debitura.com/…",
  "companyRegistrationNumber": "DE123456789",
  "vatNumber": "DE123456789",
  "address": "Friedrichstraße 68",
  "zipCode": "10115",
  "city": "Berlin",
  "state": "string",
  "country": "Germany",
  "officeEmail": "finance@example.com",
  "officePhone": "+49 30 1234567",
  "invoiceEmail": "finance@example.com",
  "billingContact": "string",
  "invoiceCurrency": 3,
  "commissionType": "Standard",
  "preLegalRevenueShare": 1.5,
  "legalRevenueShare": 1.5,
  "verifiedProfile": true,
  "fullAddress": "Friedrichstraße 68",
  "surveyCadenceMode": "Standard"
}
```

### Response 401

Missing or invalid API key

- `type` (string, nullable): 
- `title` (string, nullable): 
- `status` (integer, nullable): 
- `detail` (string, nullable): 
- `instance` (string, nullable): 

```json
{
  "type": "string",
  "title": "string",
  "status": 3,
  "detail": "string",
  "instance": "string"
}
```

### Response 404

Collection partner not found

- `error` (string, nullable): Short human-readable error label (legacy field — preserved for backward compatibility).
- `message` (string, nullable): Human-readable error description (legacy field — preserved for backward compatibility).
- `businessErrors` (array of objects, nullable): Canonical structured error array. Consumers should migrate to reading this field.
- `businessErrors[].type` (string, nullable): The type of business error (e.g., "MissingDebtCollectionContract", "MissingPowerOfAttorney", "NoPartnerAvailable").
- `businessErrors[].message` (string, nullable): A human-readable description of the error.
- `businessErrors[].solutionUrl` (string, nullable): A URL where the user can resolve this <i>specific</i> error (e.g., sign a contract).
            

Partners who want a <b>single URL</b> that walks the user through every pending
signing in one chain — instead of forwarding one URL per
`BusinessErrorApiDTO` — should use
SigningHandoff's `CombinedSigningUrl`.
The two are complementary: `SolutionUrl` is granular per-error;
`CombinedSigningUrl` is the chain-walking alternative for signing-related errors.

```json
{
  "error": null,
  "message": "Payment plan agreed with the debtor.",
  "businessErrors": [
    {
      "type": "string",
      "message": "Payment plan agreed with the debtor.",
      "solutionUrl": "https://app.debitura.com/…"
    }
  ]
}
```

### Response 500

Internal server error

- `error` (string, nullable): Short human-readable error label (legacy field — preserved for backward compatibility).
- `message` (string, nullable): Human-readable error description (legacy field — preserved for backward compatibility).
- `businessErrors` (array of objects, nullable): Canonical structured error array. Consumers should migrate to reading this field.
- `businessErrors[].type` (string, nullable): The type of business error (e.g., "MissingDebtCollectionContract", "MissingPowerOfAttorney", "NoPartnerAvailable").
- `businessErrors[].message` (string, nullable): A human-readable description of the error.
- `businessErrors[].solutionUrl` (string, nullable): A URL where the user can resolve this <i>specific</i> error (e.g., sign a contract).
            

Partners who want a <b>single URL</b> that walks the user through every pending
signing in one chain — instead of forwarding one URL per
`BusinessErrorApiDTO` — should use
SigningHandoff's `CombinedSigningUrl`.
The two are complementary: `SolutionUrl` is granular per-error;
`CombinedSigningUrl` is the chain-walking alternative for signing-related errors.

```json
{
  "error": null,
  "message": "Payment plan agreed with the debtor.",
  "businessErrors": [
    {
      "type": "string",
      "message": "Payment plan agreed with the debtor.",
      "solutionUrl": "https://app.debitura.com/…"
    }
  ]
}
```
