Skip to the page

Search the titles, headings and text of every guide and API reference page.

    Chapters

    Usage and statements

    List statements

    GET/api/v1/statements

    The monthly statements of the key's organization, newest first. A statement is a document: it is issued on the 1st for the month before, due 15 days later, and never changes; nothing is collected. A month is closed once it has ended. A test key sees test activity only: it is never priced, and a test key sees no statements.

    Needs a key with read permission.

    Request

    Query parameters

    Query parameters
    NameTypeRequiredDescription
    limitintegeroptionalHow many items to return, from 1 to 100. Default 25.At least 1.At most 100.
    cursorstringoptionalThe next_cursor of the previous page, to get the page after it. Opaque: pass it back unchanged.

    Response

    A page of statements. Status 200.

    Response fields
    NameTypeDescription
    dataarray of object
    data[].idstringAn ID that starts with stm_.
    data[].objectstringAlways `statement`.
    data[].numberstring
    data[].issue_datestring (date)
    data[].due_datestring (date)15 days after the issue date.
    data[].payment_statusstringpaid once nothing is owed; overdue from the day after the due date while something is; unpaid before.One of: `unpaid`, `paid`, `overdue`.
    data[].amount_paidstringWhat Claim House has received against the statement so far, in dollars.Matches `^\d+\.\d{2}$`.
    data[].balancestringWhat is still owed, in dollars.Matches `^\d+\.\d{2}$`.
    data[].monthstringMatches `^\d{4}-\d{2}$`.
    data[].feesstringMatches `^\d+\.\d{2}$`.
    data[].adjustments_amountstringMatches `^\d+\.\d{2}$`.
    data[].amount_duestringMatches `^\d+\.\d{2}$`.
    next_cursorvaluePass as cursor to get the next page; null when there is no next page.

    Errors

    Errors
    HTTP statusCodeWhat it means
    401UNAUTHORIZEDA valid API key is required. Send it as "Authorization: Bearer <key>".
    403PERMISSION_DENIEDThis API key is not allowed to do that.
    422INVALID_REQUESTThe request is not valid.
    429TOO_MANY_REQUESTSToo many requests of this kind lately. Wait, then try again.
    504TIMEOUTThe request took too long. Send it again with the same Idempotency-Key and body after Retry-After seconds: a 409 means it is still finishing (wait and send again), and any other answer is final. If this 504 comes back, find what the request made by listing with ?idempotency_key=<the key>.
    500INTERNALSomething went wrong on our side. Quote the request ID if you contact us.

    Example

    Example request

    Shell
    curl "https://sandbox.myclaimhouse.com/api/v1/statements?limit=12" \
      -H "Authorization: Bearer $CLAIMHOUSE_KEY"

    Example response: 200

    JSON
    {
      "data": [
        {
          "id": "stm_01JM000000E008000000000030",
          "object": "statement",
          "number": "ST-202609-0195000000A1",
          "issue_date": "2026-10-01",
          "due_date": "2026-10-16",
          "payment_status": "paid",
          "amount_paid": "1028.50",
          "balance": "0.00",
          "month": "2026-09",
          "fees": "1028.50",
          "adjustments_amount": "0.00",
          "amount_due": "1028.50"
        }
      ],
      "next_cursor": null
    }