> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stablepayfi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List fiat deposit records

> List fiat deposit records

See [authentication, signing, data conventions, and errors](https://docs.stablepayfi.ai/en/api/stablecoin-exchange/overview). Regenerate the timestamp, nonce, and signature on every retry.

`GET /fiat/deposits` Lists fiat deposits attributed to the merchant, cursor paginated.

## Request headers

**Authorization** `string` *required*

Bearer API Key.

**X-StablePay-Timestamp** `string` *required*

Unix seconds, within five minutes of server time.

**X-StablePay-Nonce** `string` *required*

Unique per request, 16–64 characters.

**X-StablePay-Signature** `string` *required*

Lowercase hexadecimal HMAC-SHA256 signature for the exact request body.

## Request parameters

**merchant\_id** `string`

10 digits; omit for merchant apps, required for service-provider apps

**currency** `string`

Filter by currency

**created\_after** `integer`

Only records credited after this time

**created\_before** `integer`

Only records credited before this time

**limit** `integer`

Page size, default 20, max 100

**next\_cursor** `string`

Cursor from the previous page

## Response

**deposits** `array` *required*

Deposit records

**next\_cursor** `string`

Returned when more pages exist

**fiat\_deposit\_id** `string` *required*

Deposit ID, 10 digits

**merchant\_id** `string` *required*

Merchant ID

**currency** `string` *required*

Fiat currency, ISO 4217

**amount** `integer` *required*

Credited amount

**reference\_code** `string` *required*

Attribution code

**credited\_at** `integer` *required*

Credit time

## Status and errors

400 on invalid parameters.

```bash cURL theme={"system"}
curl --request GET \
  --url "https://api.stablepay.co/api/v1/fiat/deposits" \
  --header "Authorization: Bearer <API_KEY>" \
  --header "X-StablePay-Timestamp: <TIMESTAMP>" \
  --header "X-StablePay-Nonce: <NONCE>" \
  --header "X-StablePay-Signature: <SIGNATURE>"
```

```javascript JavaScript theme={"system"}
const response = await fetch("https://api.stablepay.co/api/v1/fiat/deposits", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <API_KEY>",
    "X-StablePay-Timestamp": "<TIMESTAMP>",
    "X-StablePay-Nonce": "<NONCE>",
    "X-StablePay-Signature": "<SIGNATURE>"
  }
});
console.log(await response.json());
```

```json 200 theme={"system"}
{
  "deposits": [
    {
      "fiat_deposit_id": "9000000090",
      "merchant_id": "2000000001",
      "currency": "USD",
      "amount": 100500,
      "reference_code": "SP-MCH-000001-USD",
      "credited_at": 1718726400
    }
  ],
  "next_cursor": "eyJpZCI6IjkwMDAwMDAwOTAifQ"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.