---
title: "GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/policies/default"
method: GET
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/policies/default"
tags: ["Policies"]
---

# GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/policies/default

`GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/policies/default`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/policies/default`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Lists the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.

## Path parameters

- `billingAccountName` string, required
- `customerName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK. The request has succeeded.

- CustomerPolicy: The customer's Policy.
  - `id` string: Resource Id.
  - `name` string: Resource name.
  - `type` string: Resource type.
  - `properties` CustomerPolicyProperties: The properties of a customer's policy.
    - `viewCharges` 'Allowed' | 'NotAllowed': The policy that controls whether the users in customer's organization can view charges at pay-as-you-go prices.

## Other responses

- `default`: Error response describing why the operation failed.

## Changes

- **2019-09-16** (2019-10-01-preview) `848190d418fb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/billingmanagementclient/changes/providers/Microsoft.Billing/billingAccounts/:billingAccountName/customers/:customerName/policies/default/get.md)

---

[API](https://skmtc.dev/azure/apis/billingmanagementclient.md) - [All operations](https://skmtc.dev/azure/apis/billingmanagementclient/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/billingmanagementclient/revisions/481e7355ac16?raw)
