AlphaCount Developers
API referenceRevenue share

Retrieve a partner and its balance

GET
/commission-partners/by-ref/{source}/{external_ref}

The partner with its balance in cents: open, on a statement, paid out. Scope partner:commissions:read.

Authorization

apiKey partner:commissions:read
headerAuthorizationBearer <ab_…>

An API key from Integrations → Connect AI assistants (MCP) → New access, bound to exactly one company. Each operation names the scope the key must carry.

Scope: partner:commissions:read

Path Parameters

source*Source
Match^[a-z0-9][a-z0-9_-]{0,49}$
external_ref*External Ref
Match^[A-Za-z0-9][A-Za-z0-9._:@+-]{0,254}$

Header Parameters

AlphaCount-Version?string

The API version to use. Default: the current one.

Response Body

OK

application/json
  1. response
balance*
bic*string|null
billing_mode*Billing Mode
Value in"self_billing""settlement""partner_invoice"
city*string|null
country_code*string|null
created_at*|null
e_invoice_format*E Invoice Format
Value in"auto""zugferd""xrechnung""none"
email*string|null
external_ref*string|null
external_source*string|null
has_payee_account*Has Payee Account
house_number*string|null
iban_masked*|

The payout account, masked. Set only in the app, by a person.

id*Id
kind*Kind
Value in"sales_partner""developer""other"
kreditorennummer*|

Creditor number in the company's books.

language*Language
Value in"de""en"
min_payout_cents*Min Payout Cents
name*Name
notes*string|null
payee_changed_at*|null
payout_rail*Payout Rail
self_billing_agreed_on*|null
self_billing_contract_ref*string|null
self_billing_objected_at*|null
statement_cadence*Statement Cadence
Value in"month""quarter""year"
status*Status
street*string|null
supplier_id*Supplier Id
tax_number*string|null
tax_status*Tax Status
Value in"domestic_regular""domestic_small_business""eu_reverse_charge""third_country""private_person"
vat_id*string|null
zip*string|null
Example Request
curl -X GET 'https://app.alphacount.ai/api/partner/v1/commission-partners/by-ref/string/string' \  -H 'Authorization: Bearer ab_...'
Example Response
{  "balance": {    "open": 15000,    "paid": 0,    "statemented": 0  },  "bic": null,  "billing_mode": "self_billing",  "city": "München",  "country_code": "DE",  "created_at": "2026-10-19T15:09:58.181504",  "e_invoice_format": "auto",  "email": null,  "external_ref": "lernlink",  "external_source": "alphalearn",  "has_payee_account": false,  "house_number": null,  "iban_masked": null,  "id": "00000000-0000-4000-8000-000000000001",  "kind": "sales_partner",  "kreditorennummer": "70001",  "language": "de",  "min_payout_cents": 0,  "name": "lern.link GmbH",  "notes": null,  "payee_changed_at": null,  "payout_rail": "external",  "self_billing_agreed_on": "2026-09-01",  "self_billing_contract_ref": null,  "self_billing_objected_at": null,  "statement_cadence": "month",  "status": "active",  "street": "Allee 1",  "supplier_id": "00000000-0000-4000-8000-000000000002",  "tax_number": null,  "tax_status": "domestic_regular",  "vat_id": "DE123456789",  "zip": "80331"}