Skip to content
Build your own business

Read one monthly statement

GET/api/partner/v1/statements/{month}

Use the statement’s YYYY-MM ID. Retrieve payout lines for transfer and bank deposit progress. Available to the authorized partner owner.

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

Parameters

  • month path · required · string

    The statement ID in YYYY-MM format.

Responses

200 · Statement for the requested month.

application/json

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

Example

{
  "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
}
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