---
title: "POST /providers/Microsoft.BillingBenefits/validate"
method: POST
path: "/providers/Microsoft.BillingBenefits/validate"
---

# POST /providers/Microsoft.BillingBenefits/validate

`POST /providers/Microsoft.BillingBenefits/validate`

Validate savings plan purchase.

## Parameters

- `../../../../../common-types/resource-management/v6/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Request body

- BenefitValidateRequest — Request to validate any benefit.
  - `benefits` BenefitValidateModel[] — Defines benefits for validation.
    - `benefitType` 'Maccs' | 'Credits' | 'ConditionalCredits' | 'Discounts' | 'FreeServices' | 'SavingsPlans' | 'Reservations' | 'SavingsPlan' | 'MACC', required — Represents benefit model type for validation. Includes all resource types plus legacy singular-form values used by the validate API.

## Response `200`

The request has succeeded.

- BenefitValidateResponse — Benefit validate response.
  - `benefits` BenefitValidateResponseProperty[] — Defines benefit validation response for benefits.
    - `valid` boolean — Indicates if the provided input was valid
    - `reasonCode` string — Failure reason code if the provided input was invalid
    - `reason` string — Failure reason if the provided input was invalid
    - `resourceId` string, arm-id — Resource identifier of the benefit that was validated.
  - `nextLink` string — Url to get the next page.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/billingbenefits-microsoft-billingbenefits.md) · [All operations](https://skmtc.net/azure/apis/billingbenefits-microsoft-billingbenefits/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/billingbenefits-microsoft-billingbenefits/revisions/72b283f1b8d9/schema)
