Retrieve a statement

Retrieve a statement

GET https://sandbox-api.stilt.com/v1/users/{user_id}/loans/{loan_id}/statements

Returns a statement object including the loan's balance, due dates and statement documents. This endpoint should not return an error as long as the loan exists.

Path Parameters

NameTypeDescription

user_id*

string

The uuid of the user

loan_id*

string

The uuid of the loan

{
    "next_billing_date": "2022-08-25",
    "principal_balance": 8000.0,
    "interest_balance": 0.0,
    "payoff_balance": 8000.0,
    "days_past_due": 0,
    "past_due_balance": 0.0,
    "payment_amount_due": 1333.35,
    "payment_due_date": "2023-01-27",
    "suspense_balance": 0.0,
    "statements": [],
    "loan_amount": 8000.0,
    "amortization_schedule": [
        {
            "IsHistory": 1,
            "PaymentDate": "2022-07-27",
            "LoanAmount": 8000.0,
            "InterestAmount": 0.0,
            "PrincipalAmount": 0.0,
            "OtherAmount": 0.0,
            "PaymentAmount": 0.0,
            "BalanceAmount": 8000.0,
            "PaymentNumber": 0,
            "ACHTransactionIds": []
        },
        {
            "IsHistory": 0,
            "PaymentDate": "2022-08-27",
            "LoanAmount": 0.0,
            "InterestAmount": 0.0,
            "PrincipalAmount": 1333.33,
            "OtherAmount": 0.0,
            "PaymentAmount": 1333.33,
            "BalanceAmount": 6666.67,
            "PaymentNumber": 1,
            "ACHTransactionIds": null
        },
        {
            "IsHistory": 0,
            "PaymentDate": "2022-09-27",
            "LoanAmount": 0.0,
            "InterestAmount": 0.0,
            "PrincipalAmount": 1333.33,
            "OtherAmount": 0.0,
            "PaymentAmount": 1333.33,
            "BalanceAmount": 5333.34,
            "PaymentNumber": 2,
            "ACHTransactionIds": null
        },
        {
            "IsHistory": 0,
            "PaymentDate": "2022-10-27",
            "LoanAmount": 0.0,
            "InterestAmount": 0.0,
            "PrincipalAmount": 1333.33,
            "OtherAmount": 0.0,
            "PaymentAmount": 1333.33,
            "BalanceAmount": 4000.01,
            "PaymentNumber": 3,
            "ACHTransactionIds": null
        },
        {
            "IsHistory": 0,
            "PaymentDate": "2022-11-27",
            "LoanAmount": 0.0,
            "InterestAmount": 0.0,
            "PrincipalAmount": 1333.33,
            "OtherAmount": 0.0,
            "PaymentAmount": 1333.33,
            "BalanceAmount": 2666.68,
            "PaymentNumber": 4,
            "ACHTransactionIds": null
        },
        {
            "IsHistory": 0,
            "PaymentDate": "2022-12-27",
            "LoanAmount": 0.0,
            "InterestAmount": 0.0,
            "PrincipalAmount": 1333.33,
            "OtherAmount": 0.0,
            "PaymentAmount": 1333.33,
            "BalanceAmount": 1333.35,
            "PaymentNumber": 5,
            "ACHTransactionIds": null
        },
        {
            "IsHistory": 0,
            "PaymentDate": "2023-01-27",
            "LoanAmount": 0.0,
            "InterestAmount": 0.0,
            "PrincipalAmount": 1333.35,
            "OtherAmount": 0.0,
            "PaymentAmount": 1333.35,
            "BalanceAmount": 0.0,
            "PaymentNumber": 6,
            "ACHTransactionIds": null
        }
    ]
}

Be sure to omit `Content-Type': 'application/json' from the header of this request to avoid a 500 error

Last updated