> For the complete documentation index, see [llms.txt](https://docs.localramp.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.localramp.co/test-integration/demo-transaction/example-completed-buy.md).

# Example Completed Buy

To see what a completed buy transaction looks like when you [fetch the transaction](/crypto-on-ramp/get-transaction-state.md)

&#x20;Make a **GET** request to the following endpoint.

{% code overflow="wrap" %}

```url
https://api.localramp.co/v1/test/transaction/buy
```

{% endcode %}

With the following header

```
x-auth-token: <SECRET_KEY>
```
