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

# ramps.noah.getPayoutCountries

> List the countries and fiat currencies supported for Noah payouts.

## Function Signature

```dart theme={null}
Future<NoahGetPayoutCountriesResponse> getPayoutCountries()
```

## Description

Lists the countries available for fiat payouts, keyed by country code, with the fiat currency codes supported in each. Use this to populate a country picker before calling [`getPayoutChannels`](./noah-getpayoutchannels).

## Parameters

This method takes no parameters.

## Returns

**`NoahGetPayoutCountriesResponse`** - An envelope containing:

| Property | Type | Description |
| - | - | - |
| `data` | `NoahGetPayoutCountriesData` | The response payload. |
| `metadataJson` | `String?` | JSON-encoded response metadata. Read it decoded through the `metadata` getter. |

`NoahGetPayoutCountriesData`:

| Property | Type | Description |
| - | - | - |
| `countries` | `Map<String, List<String>>` | Getter: ISO-3166 country code mapped to the ISO-4217 fiat currency codes supported there. Returns an empty map if the payload is malformed. |
| `countriesJson` | `String` | The raw JSON-encoded map. Prefer the `countries` getter. |

## Example

```dart theme={null}
import 'package:portal_flutter/portal_flutter.dart';

final portal = Portal();

try {
  final response = await portal.ramps.noah.getPayoutCountries();
  final countries = response.data.countries;

  for (final country in countries.keys.toList()..sort()) {
    print('$country: ${countries[country]!.join(', ')}');
  }
} on PortalException catch (e) {
  print('getPayoutCountries failed: [${e.code}] ${e.message}');
}
```

## Errors

| Code | Description |
| - | - |
| `NOT_INITIALIZED` | Portal was not initialized |
| `NOAH_GET_PAYOUT_COUNTRIES_ERROR` | Failed to get payout countries |

## Related

* [Noah virtual accounts and payouts guide](../guide/noah)
* [ramps.noah.getPayoutChannels](./noah-getpayoutchannels)
* [Noah payouts workflow](/integrations/On-Off-Ramp/noah-payouts)


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