This section provides an overview on updating transactions in Secure Payments.
<div class="containerReference">
<div>
{/* OVERVIEW DESCRIPTION */}
<p>
When recieving a returns file from a bank or processor you can change a transaction status. You can update transaction status through the <code>transactions</code> endpoint or by importing a .csv file.
</p>
<p>
For more information on importing via .csv file, see our <a href="https://developers.loanpro.io/v1.1/reference/update-transaction-status-via-import">update transaction status via import</a> article.
</p>
{/* END */}
</div>
<div class="">
<div class="apiReference">
<div class="apiReference-Header">
<div class="apiReference-Header-Body">
ENDPOINT
</div>
</div>
<div class="apiReference-Body">
<ul class="apiReference-Links">
{/* API REFERENCE LINKS */}
{/* referenceLink-GET/PUT/POST/DELETE */}
<li>
<a href="/reference/update-tx-status">
<div class="referenceLink-PUT referenceLink-Button">PUT</div>
<div class="referenceLink-Text">/transactions/`{id}`</div>
</a>
</li>
{/* END */}
</ul>
</div>
</div>
</div>
</div>
You'll find the key-value pairs for updating the `transaction` entity below.
## Key-value pairs
| Value: | Definition: |
| :------------ | :------------------------------------------------------------------------ |
| `id` | The transaction's ID. |
| `message` | A user-defined message that will be associated with the change of status. |
| `status` | The transaction status. |
| `reason_code` | The return code (if applicable) associated with the change of status. |