# Fetch transation

To get the status of an instititional onramp,  make a **POST** request to the following endpoint using localramp's `reference`.

```
https://api.localramp.co/v1/institution/buy/get-transaction
```

With the following header

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

The possible `state`'s are  <mark style="color:orange;">`initiated`</mark> ,<mark style="color:orange;">`pending`</mark> ,<mark style="color:green;">`sent_crypto`</mark>and <mark style="color:red;">`failed`</mark>
