List monthly statements
GET
/api/partner/v1/statementsReturns 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
cursorquery · stringReturn the next page using the previous next_cursor with the same filters. A null next_cursor ends the list.
limitquery · integer · min 1, max 100Maximum rows per page. Defaults to 50.
Responses
200 · Monthly statement page.
application/json
itemsarray of variant · requiredFields for items
Format 1
idstring · requiredmonthstring · requiredstatusestimated | final | paid · requiredeligible_hoursnumber · requiredamount_centsinteger or null · requiredcurrencyUSD · requiredpaid_onstring or null · date · requiredpayableboolean · requiredheldboolean · requireddue_onstring or null · date · required
Format 2
idstring · requiredmonthstring · requiredstatuslocked | held | sending | sent | paid · requiredeligible_hoursnumber · requiredamount_centsinteger or null · requiredcurrencyUSD · requiredpaid_onstring or null · date · required
next_cursorstring 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
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "invalid_input"
}401 · Use a valid access token for this resource and the partner.lifecycle scope.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "unauthorized"
}403 · The partner owner needs an active grant.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "no_access"
}404 · The requested resource, company or month could not be found within the caller’s scope.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "not_found"
}409 · Resource state or idempotency conflict.
application/json
errorstring · requireddetailstringrequest_idstring
429 · The grant has reached its request limit.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "too_many_requests"
}503 · Service temporarily unavailable. For writes, retain the original key and inspect the receipt before retrying.
application/json
errorstring · requireddetailstringmessagestringrequest_idstringidstring
Example
{
"error": "temporarily_unavailable"
}