List all repayments on a LOC

List all repayments on a LOC

GET https://sandbox-api.stilt.com/v1/users/{user_id}/loc/{loc_id}/payments

Returns an array of objects, with each object representing the details of a repayment

Path Parameters

Name
Type
Description

user_id*

string

The uuid of the user

loc_id*

string

The uuid of the LOC

[
    {
        "uuid": "f73a53ec-b128-4dbc-b47c-95351432ed40",
        "product": "BUILD_CREDIT",
        "payment_type": "RETURNED",
        "effective_date": "2022-04-22",
        "amount": 250.0,
        "principal": null,
        "interest": null,
        "fees": null,
        "suspense": null,
        "ending_balance": null,
        "should_commit_to_nls": true,
        "borrower_bank_account_uuid": "726743ce-e74f-4cd4-ab82-e96769114e7e",
        "ach_batch_id": null,
        "ach_id": null,
        "completion_date": null,
        "error_description": null,
        "initiation_date": null,
        "status": "FAILED_AFTER_SUCCESS"
    },
    {...},
    {...}
]

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

Last updated