> For the complete documentation index, see [llms.txt](https://lucky.gitbook.io/currency-exchange/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lucky.gitbook.io/currency-exchange/reference/api-reference/transaction.md).

# Transaction

## Creating a new transaction

{% openapi src="/files/iFrdVITxRbSlyv1uqKpM" path="/transaction" method="post" %}
[test.json](https://494342001-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F762BiJkjkKBDvGy4lK7G%2Fuploads%2FhDO4cLgAtZvLHW0HPafI%2Ftest.json?alt=media\&token=95ccb6d6-afe9-4292-8728-9b0392fe44d1)
{% endopenapi %}

## Finding a transaction by user

{% openapi src="/files/iFrdVITxRbSlyv1uqKpM" path="/transaction/{id}" method="get" %}
[test.json](https://494342001-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F762BiJkjkKBDvGy4lK7G%2Fuploads%2FhDO4cLgAtZvLHW0HPafI%2Ftest.json?alt=media\&token=95ccb6d6-afe9-4292-8728-9b0392fe44d1)
{% endopenapi %}
