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

# List suspense account transactions

> Retrieve all inbound transactions received into your business's suspense (virtual) account.

## Endpoint

```
GET /clients/business/virtual-account
```

## Headers

<ParamField header="Authorization" type="string" required>
  `Bearer YOUR_ACCESS_TOKEN`
</ParamField>

<ParamField header="SECRET_KEY" type="string" required>
  Your API secret key.
</ParamField>

<ParamField header="businessId" type="string" required>
  Your business ID.
</ParamField>

## Query parameters

<ParamField query="page" type="integer">
  Page number. Defaults to `1`.
</ParamField>

<ParamField query="limit" type="integer">
  Records per page. Defaults to `10`.
</ParamField>

See [Pagination](/essentials/pagination) for full usage.

## Response

<ResponseField name="status" type="boolean">
  `true` on success.
</ResponseField>

<ResponseField name="message" type="string">
  Human-readable outcome.
</ResponseField>

<ResponseField name="data" type="array">
  Array of transaction objects.
</ResponseField>

<ResponseField name="data[].recipientAccountNumber" type="string">
  The virtual account number that received the payment.
</ResponseField>

<ResponseField name="data[].transactionId" type="string">
  Unique identifier for the transaction.
</ResponseField>

<ResponseField name="data[].amount" type="string">
  Amount received, in kobo.
</ResponseField>

<ResponseField name="data[].transactionCharge" type="string">
  Fee charged for the transaction, in kobo.
</ResponseField>

<ResponseField name="data[].totalAmount" type="string">
  Total amount including charges, in kobo.
</ResponseField>

<ResponseField name="data[].payerAccountNumber" type="string">
  The account number that sent the payment.
</ResponseField>

<ResponseField name="data[].reason" type="string">
  Narration or reason provided by the payer.
</ResponseField>

<ResponseField name="data[].date" type="string">
  ISO 8601 timestamp of the transaction.
</ResponseField>

<ResponseField name="data[].refundStatus" type="string">
  Indicates whether the transaction has been refunded.
</ResponseField>

<ResponseField name="pagination" type="object">
  Standard pagination envelope. See [Pagination](/essentials/pagination).
</ResponseField>

## Code examples

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://sandbox.stellasbank.com/api/v1/clients/business/virtual-account?page=1&limit=10" \
    -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
    -H "SECRET_KEY: YOUR_SECRET_KEY" \
    -H "businessId: YOUR_BUSINESS_ID"
  ```

  ```js Node.js theme={null}
  const res = await fetch(
    "https://sandbox.stellasbank.com/api/v1/clients/business/virtual-account?page=1&limit=10",
    {
      headers: {
        Authorization: "Bearer YOUR_ACCESS_TOKEN",
        SECRET_KEY: "YOUR_SECRET_KEY",
        businessId: "YOUR_BUSINESS_ID",
      },
    }
  );
  const { data, pagination } = await res.json();
  ```

  ```python Python theme={null}
  import requests

  res = requests.get(
      "https://sandbox.stellasbank.com/api/v1/clients/business/virtual-account",
      headers={
          "Authorization": "Bearer YOUR_ACCESS_TOKEN",
          "SECRET_KEY": "YOUR_SECRET_KEY",
          "businessId": "YOUR_BUSINESS_ID",
      },
      params={"page": 1, "limit": 10},
  )
  print(res.json())
  ```
</CodeGroup>

## Example response

```json theme={null}
{
  "status": true,
  "message": "Transactions retrieved successfully",
  "data": [
    {
      "recipientAccountNumber": "9012345678",
      "transactionId": "txn_abc001",
      "amount": "500000",
      "transactionCharge": "10000",
      "totalAmount": "510000",
      "payerAccountNumber": "0123456789",
      "reason": "Payment for order_12345",
      "date": "2024-06-09T14:22:00.000Z",
      "refundStatus": "none"
    }
  ],
  "pagination": {
    "totalCount": 42,
    "hasNextPage": true,
    "hasPreviousPage": false,
    "nextPage": 2,
    "previousPage": 0,
    "limit": 10,
    "lastPage": 5
  }
}
```

<Info>
  All amounts are in **kobo**. Divide by 100 to convert to naira.
</Info>
