Skip to content
Build your own business

Read the partner’s own earnings

GET/api/partner/v1/earnings

Returns eligible hours and the partner’s fee in USD cents for one Phoenix calendar month. An unknown amount is null. The default partner grouping returns a summary. The company and recorder groupings add a page of contributions and unallocated_cents for the full filtered month. Recorder contributions allocate the partner fee across evidenced minutes. Locked months use the recordings included in the settlement batch, including late acceptances. Available to the authorized partner owner.

Authentication Send your OAuth access token as a Bearer token with the partner.lifecycle scope.

Parameters

  • month query · string

    Defaults to the current month in Phoenix.

  • group_by query · partner | company | recorder

    Select the summary, company contributions or recorder allocations. Defaults to partner.

  • company_id query · string

    A company registration ID or its operating company ID. Returned company_id values are operating company IDs.

  • cursor query · string

    Return the next page using the previous next_cursor with the same filters. A null next_cursor ends the list.

  • limit query · integer · min 1, max 100

    Maximum rows per page. Defaults to 50.

Responses

200 · Earnings summary or grouped contributions.

application/json

Format 1
  • month string · required
  • currency USD · required
  • status counting | accruing | locked | held | sending | sent | paid · required
  • due_on string or null · date · required
  • paid_on string or null · date · required
  • eligible_hours number · required
  • amount_cents integer or null · required
Format 2
  • month string · required
  • currency USD · required
  • status counting | accruing | locked | held | sending | sent | paid · required
  • due_on string or null · date · required
  • paid_on string or null · date · required
  • eligible_hours number · required
  • amount_cents integer or null · required
  • items array of object · required
    Fields for items
    • company_id string · required
    • eligible_hours number · required
    • amount_cents integer or null · required
    • held boolean · required
  • next_cursor string or null · required
  • unallocated_cents integer or null · required
Format 3
  • month string · required
  • currency USD · required
  • status counting | accruing | locked | held | sending | sent | paid · required
  • due_on string or null · date · required
  • paid_on string or null · date · required
  • eligible_hours number · required
  • amount_cents integer or null · required
  • allocation partner_fee_by_confirmed_recorder_minutes · required
  • items array of object · required
    Fields for items
    • id string · required
    • company_id string · required
    • recorder_id string · required
    • eligible_minutes number · required
    • amount_cents integer · required
  • next_cursor string or null · required
  • unallocated_cents integer or null · required

Example

{
  "month": "2031-04",
  "currency": "USD",
  "status": "counting",
  "due_on": "2031-05-15",
  "paid_on": null,
  "eligible_hours": 0,
  "amount_cents": 0
}
400 · Invalid input. On writes, check the JSON object and Idempotency-Key.

application/json

  • error string · required
  • detail string
  • message string
  • request_id string
  • id string

Example

{
  "error": "invalid_input"
}
401 · Use a valid access token for this resource and the partner.lifecycle scope.

application/json

  • error string · required
  • detail string
  • message string
  • request_id string
  • id string

Example

{
  "error": "unauthorized"
}
403 · The partner owner needs an active grant.

application/json

  • error string · required
  • detail string
  • message string
  • request_id string
  • id string

Example

{
  "error": "no_access"
}
404 · The requested resource, company or month could not be found within the caller’s scope.

application/json

  • error string · required
  • detail string
  • message string
  • request_id string
  • id string

Example

{
  "error": "not_found"
}
409 · Resource state or idempotency conflict.

application/json

  • error string · required
  • detail string
  • request_id string
429 · The grant has reached its request limit.

application/json

  • error string · required
  • detail string
  • message string
  • request_id string
  • id string

Example

{
  "error": "too_many_requests"
}
503 · Service temporarily unavailable. For writes, retain the original key and inspect the receipt before retrying.

application/json

  • error string · required
  • detail string
  • message string
  • request_id string
  • id string

Example

{
  "error": "temporarily_unavailable"
}

Download the full OpenAPI specification