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

# Virtual Account Transaction History

> Retrieve payment history for a specific virtual account

Returns all payments received into a specific virtual account.

```
GET /v1/business/virtual-account/history/{accountNumber}
```

<Note>
  Both GET and POST methods are accepted, but GET is recommended.
</Note>

## Path Parameters

<ParamField path="accountNumber" type="string" required>
  The account number (not the account ID).
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET 'https://api.yativo.com/api/v1/business/virtual-account/history/9900123456' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "status": "success",
    "status_code": 200,
    "message": "Records retrieved successfully",
    "data": [
      {
        "amount": 1000,
        "currency": "BRL",
        "status": "completed",
        "credited_amount": 950,
        "transaction_id": "TXNMP2HK81BHJ",
        "sender_name": "John Smith",
        "account_number": "9900123456",
        "transaction_fees": 50,
        "created_at": "2026-04-01T10:00:00Z"
      }
    ],
    "pagination": {
      "total": 12,
      "per_page": 20,
      "current_page": 1,
      "last_page": 1,
      "next_page_url": null,
      "prev_page_url": null
    }
  }
  ```
</ResponseExample>
