Skip to content
Build your own business

List monthly statements

GET/api/partner/v1/statements

Returns the partner’s own statements, newest month first. A referral statement includes payable, held and due_on. Organization share statements use their own settlement status. The month is the statement ID. Available to the authorized partner owner.

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

Parameters

  • 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 · Monthly statement page.

application/json

  • items array of variant · required
    Fields for items
    Format 1
    • id string · required
    • month string · required
    • status estimated | final | paid · required
    • eligible_hours number · required
    • amount_cents integer or null · required
    • currency USD · required
    • paid_on string or null · date · required
    • payable boolean · required
    • held boolean · required
    • due_on string or null · date · required
    Format 2
    • id string · required
    • month string · required
    • status locked | held | sending | sent | paid · required
    • eligible_hours number · required
    • amount_cents integer or null · required
    • currency USD · required
    • paid_on string or null · date · required
  • next_cursor string or null · required

Example

{
  "items": [
    {
      "id": "2031-03",
      "month": "2031-03",
      "status": "final",
      "eligible_hours": 0,
      "amount_cents": 0,
      "currency": "USD",
      "payable": false,
      "held": false,
      "due_on": "2031-04-15",
      "paid_on": null
    }
  ],
  "next_cursor": null
}
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