> For the complete documentation index, see [llms.txt](https://docs.sensepass.com/sensepay/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sensepass.com/sensepay/transaction-api/models/settlement-model.md).

# Settlement Model

This model represents settlement status & final-confrimation value from the proccessor, the entity contains all the required data for accounting reports.

### Settlement Model

This model is referenced in the "settlement" field of the [Confirmation Model](/sensepay/transaction-api/models/confirmation-model.md) object.

{% hint style="info" %}
Note: One settlement object can be related to each confirmation in a transaction.

Settlements are polled by SensePass, therefore a callback/socket-message will be fired once its asserted as complete (status = 2)
{% endhint %}

<table><thead><tr><th width="240.2188460730749">field</th><th width="150">type</th><th width="384.2">description</th></tr></thead><tbody><tr><td>status</td><td>enum</td><td>example: 2<br>1 = approved, 2 = settled<br>Successful state of a settlement polling attempt</td></tr><tr><td>confirmation</td><td>string</td><td><p>example: 091239831</p><p>Final confirmation value from the processor for the transaction</p></td></tr><tr><td>created</td><td>date</td><td><p>example: 2019-12-20T09:47:59.105Z</p><p>Available on status = 2 (done)</p></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sensepass.com/sensepay/transaction-api/models/settlement-model.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
