> For the complete documentation index, see [llms.txt](https://docs.alignlabs.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.alignlabs.dev/align-api/virtual-accounts/get-virtual-account-history.md).

# Get Virtual Account History

## Get Virtual Account History

> Returns Virtual Account transaction history

```json
{"openapi":"3.0.0","info":{"title":"Virtual Accounts API","version":"0"},"servers":[{"url":"https://api.alignlabs.dev","description":"Production server"},{"url":"https://api-sandbox.alignlabs.dev","description":"Sandbox server"}],"paths":{"/v0/customers/{customer_id}/virtual-account/{virtual_account_id}/history":{"get":{"summary":"Get Virtual Account History","description":"Returns Virtual Account transaction history","parameters":[{"name":"customer_id","in":"path","description":"The unique identifier of the customer","required":true,"schema":{"type":"string"}},{"name":"virtual_account_id","in":"path","description":"The unique identifier of the virtual account","required":true,"schema":{"type":"string"}},{"name":"Api-Key","in":"header","description":"Your secret API key, available in the developer dashboard. Include this header on every request to authenticate your application.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful virtual account history retrieval","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"event_type":{"type":"string","description":"The type of event","enum":["deposit_completed","withdrawal_completed","micro_deposit_completed"]},"source":{"type":"object","properties":{"amount":{"type":"string","description":"The amount of the transaction"},"currency":{"type":"string","description":"The currency of the transaction","enum":["usd","eur"]},"payment_rails":{"type":"string","description":"The payment rails used","enum":["ach","wire","sepa"]}},"required":["amount","currency","payment_rails"]},"destination":{"type":"object","properties":{"amount":{"type":"string","description":"The destination amount"}},"required":["amount"]},"created_at":{"type":"string","description":"The timestamp when the event was created","format":"date-time"}},"required":["event_type","created_at"]}}}}}}}}}}}}
```
