---
title: "Fetch Virtual Accounts"
method: GET
path: "/gcc/v3/merchants/{merchantId}/ffms/virtualAccounts"
tags: ["MCA"]
---

# Fetch Virtual Accounts

`GET /gcc/v3/merchants/{merchantId}/ffms/virtualAccounts`

## Request

- Base URL: `https://gcc.prod.payglocal.in`
- URL: `https://gcc.prod.payglocal.in/gcc/v3/merchants/{merchantId}/ffms/virtualAccounts`
- Auth: API key in header `x-gl-auth`
- TypeScript: <https://skmtc.dev/payglocal/apis/payglocal-api/docs/gcc/v3/merchants/:merchantId/ffms/virtualAccounts/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns all global virtual account details assigned to a fully activated merchant,
grouped by collection label and settlement currency.

## Path parameters

- `merchantId` string, required

## Response `200`

Virtual accounts retrieved successfully.

- object
  - `gid` string
  - `status` string
  - `timestamp` string
  - `reasonCode` string
  - `data` object: Keyed by collection label, then by currency code.
  - `errors` object, nullable

## Other responses

- `400`: Merchant ID is not valid.
- `401`: Merchant is not activated.

---

[API](https://skmtc.dev/payglocal/apis/payglocal-api.md) - [All operations](https://skmtc.dev/payglocal/apis/payglocal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/payglocal/apis/payglocal-api/revisions/498446abc56d?raw)
