Microsoft Azure

Azure Billing: Billing Subscription

The billing client allows you to view and manage your billing details programmatically.

Finance & banking#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

The billing client allows you to view and manage your billing details programmatically.

Endpoints 11

BillingSubscriptions

  • GETBillingSubscriptions_ListByBillingAccount/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingSubscriptionsLists the subscriptions for a billing account. The operation is currently supported for billing accounts with agreement type Microsoft Customer Agreement,…
  • GETBillingSubscriptions_Get/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingSubscriptions/:billingSubscriptionNameGets a subscription by its ID. The operation is currently supported for billing accounts with agreement type Microsoft Customer Agreement, Microsoft Partner…
  • DELETEBillingSubscriptions_Delete/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingSubscriptions/:billingSubscriptionNameCancels a billing subscription.
  • PATCHBillingSubscriptions_Update/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingSubscriptions/:billingSubscriptionNameUpdates the properties of a billing subscription.

BillingSubscriptionsAliases

  • GETBillingSubscriptionsAliases_ListByBillingAccount/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingSubscriptionAliasesLists the subscription aliases for a billing account. The operation is supported for seat based billing subscriptions.
  • GETBillingSubscriptionsAliases_Get/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingSubscriptionAliases/:aliasNameGets a subscription by its alias ID. The operation is supported for seat based billing subscriptions.
  • PUTBillingSubscriptionsAliases_CreateOrUpdate/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingSubscriptionAliases/:aliasNameCreates or updates a billing subscription by its alias ID. The operation is supported for seat based billing subscriptions.
  • POSTBillingSubscriptions_Move/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingSubscriptions/:billingSubscriptionName/moveMoves a subscription's charges to a new invoice section. This operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
  • POSTBillingSubscriptions_ValidateMoveEligibility/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingSubscriptions/:billingSubscriptionName/validateMoveEligibilityValidates if a subscription's charges can be moved to a new invoice section. This operation is supported for billing accounts with agreement type Microsoft…
  • POSTBillingSubscriptions_Merge/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingSubscriptions/:billingSubscriptionName/mergeMerges the billing subscription provided in the request with a target billing subscription.
  • POSTBillingSubscriptions_Split/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingSubscriptions/:billingSubscriptionName/splitSplits a subscription into a new subscription with quantity less than current subscription quantity and not equal to 0.

API details

Base URL
https://management.azure.com
Authentication
OAuth 2.0 (implicit flow) with 1 scope
Operations
11 operations on 8 pathsGET 4POST 4PUT 1PATCH 1DELETE 1
Main resources
BillingSubscriptions 4BillingSubscriptionsAliases 3
Response formats
application/json
Description format
Swagger 2.0, API version 2021-10-01

How to test the Azure Billing: Billing Subscription in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Azure Billing: Billing Subscription collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “BillingSubscriptions_ListByBillingAccount” (GET /providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingSubscriptions), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Azure Billing: Billing Subscription?

The billing client allows you to view and manage your billing details programmatically. It is listed under Finance & banking and has 11 endpoints.

Who publishes the Azure Billing: Billing Subscription?

It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Azure Billing: Billing Subscription?

Requests go to https://management.azure.com. Endpoint paths are added to this base URL.

How do I authenticate with the Azure Billing: Billing Subscription?

With OAuth 2.0 (implicit flow) with 1 scope.

How many endpoints does the Azure Billing: Billing Subscription have?

11 operations on 8 paths (4 GET, 4 POST, 1 PUT, 1 PATCH, 1 DELETE). The largest groups are BillingSubscriptions, BillingSubscriptionsAliases.

Is forking the Azure Billing: Billing Subscription free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.