Microsoft.Billing (stable:2021-10-01)

2025/09/26 • 20 new, 20 deleted methods

BillingSubscriptions_ListByBillingAccount (new)
Description Lists the subscriptions for a billing account. The operation is currently supported for billing accounts with agreement type Microsoft Customer Agreement, Microsoft Partner Agreement and Microsoft Online Services Program.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions
{
billingAccountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
subscriptionEnrollmentAccountStatus: enum ,
enrollmentAccountStartDate: string ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productTypeId: string ,
quantity: integer ,
skuId: string ,
termDuration: string ,
}
,
skuDescription: string ,
skuId: string ,
status: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Get (new)
Description Gets a subscription by its ID. The operation is currently supported for billing accounts with agreement type Microsoft Customer Agreement, Microsoft Partner Agreement and Microsoft Online Services Program.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
subscriptionEnrollmentAccountStatus: enum ,
enrollmentAccountStartDate: string ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productTypeId: string ,
quantity: integer ,
skuId: string ,
termDuration: string ,
}
,
skuDescription: string ,
skuId: string ,
status: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Update (new)
Description Updates the properties of a billing subscription.
Reference Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
subscriptionEnrollmentAccountStatus: enum ,
enrollmentAccountStartDate: string ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productTypeId: string ,
quantity: integer ,
skuId: string ,
termDuration: string ,
}
,
skuDescription: string ,
skuId: string ,
status: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
subscriptionEnrollmentAccountStatus: enum ,
enrollmentAccountStartDate: string ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productTypeId: string ,
quantity: integer ,
skuId: string ,
termDuration: string ,
}
,
skuDescription: string ,
skuId: string ,
status: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Delete (new)
Description Cancels a billing subscription.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Move (new)
Description Moves a subscription's charges to a new invoice section. This operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/move
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
destinationEnrollmentAccountId: string ,
destinationInvoiceSectionId: string ,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
subscriptionEnrollmentAccountStatus: enum ,
enrollmentAccountStartDate: string ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productTypeId: string ,
quantity: integer ,
skuId: string ,
termDuration: string ,
}
,
skuDescription: string ,
skuId: string ,
status: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_ValidateMoveEligibility (new)
Description Validates if a subscription's charges can be moved to a new invoice section. This operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/validateMoveEligibility
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
destinationEnrollmentAccountId: string ,
destinationInvoiceSectionId: string ,
}
,
}

⚐ Response (200)

{
isMoveEligible: boolean ,
errorDetails:
{
code: enum ,
message: string ,
details: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Merge (new)
Description Merges the billing subscription provided in the request with a target billing subscription.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/merge
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
targetBillingSubscriptionName: string ,
quantity: integer ,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
subscriptionEnrollmentAccountStatus: enum ,
enrollmentAccountStartDate: string ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productTypeId: string ,
quantity: integer ,
skuId: string ,
termDuration: string ,
}
,
skuDescription: string ,
skuId: string ,
status: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Split (new)
Description Splits a subscription into a new subscription with quantity less than current subscription quantity and not equal to 0.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/split
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
billingFrequency: string ,
quantity: integer ,
targetProductTypeId: string ,
targetSkuId: string ,
termDuration: string ,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
subscriptionEnrollmentAccountStatus: enum ,
enrollmentAccountStartDate: string ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productTypeId: string ,
quantity: integer ,
skuId: string ,
termDuration: string ,
}
,
skuDescription: string ,
skuId: string ,
status: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptionsAliases_ListByBillingAccount (new)
Description Lists the subscription aliases for a billing account. The operation is supported for seat based billing subscriptions.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptionAliases
{
billingAccountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
billingSubscriptionId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptionsAliases_Get (new)
Description Gets a subscription by its alias ID. The operation is supported for seat based billing subscriptions.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptionAliases/{aliasName}
{
billingAccountName: string ,
aliasName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
billingSubscriptionId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptionsAliases_CreateOrUpdate (new)
Description Creates or updates a billing subscription by its alias ID. The operation is supported for seat based billing subscriptions.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptionAliases/{aliasName}
{
billingAccountName: string ,
aliasName: string ,
api-version: string ,
parameters:
{
properties:
{
billingSubscriptionId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
billingSubscriptionId: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_ListByUser (new)
Description Lists the payment methods owned by the caller.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/paymentMethods
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
family: enum ,
type: string ,
accountHolderName: string ,
expiration: string ,
lastFourDigits: string ,
displayName: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
status: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_GetByUser (new)
Description Gets a payment method owned by the caller.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/paymentMethods/{paymentMethodName}
{
api-version: string ,
paymentMethodName: string ,
}

⚐ Response (200)

{
properties:
{
family: enum ,
type: string ,
accountHolderName: string ,
expiration: string ,
lastFourDigits: string ,
displayName: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
status: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_DeleteByUser (new)
Description Deletes a payment method owned by the caller.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Billing/paymentMethods/{paymentMethodName}
{
api-version: string ,
paymentMethodName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_ListByBillingAccount (new)
Description Lists the payment methods available for a billing account. Along with the payment methods owned by the caller, these payment methods can be attached to a billing profile to make payments. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/paymentMethods
{
billingAccountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
family: enum ,
type: string ,
accountHolderName: string ,
expiration: string ,
lastFourDigits: string ,
displayName: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
status: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_GetByBillingAccount (new)
Description Gets a payment method available for a billing account. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/paymentMethods/{paymentMethodName}
{
api-version: string ,
billingAccountName: string ,
paymentMethodName: string ,
}

⚐ Response (200)

{
properties:
{
family: enum ,
type: string ,
accountHolderName: string ,
expiration: string ,
lastFourDigits: string ,
displayName: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
status: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_ListByBillingProfile (new)
Description Lists payment methods attached to a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethodLinks
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
paymentMethod:
{
id: string ,
family: enum ,
type: string ,
accountHolderName: string ,
expiration: string ,
lastFourDigits: string ,
displayName: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
status: enum ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_GetByBillingProfile (new)
Description Gets a payment method linked with a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethodLinks/{paymentMethodName}
{
billingAccountName: string ,
billingProfileName: string ,
paymentMethodName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
paymentMethod:
{
id: string ,
family: enum ,
type: string ,
accountHolderName: string ,
expiration: string ,
lastFourDigits: string ,
displayName: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
status: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_DeleteAtBillingProfile (new)
Description Deletes a payment method link and removes the payment method from a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethodLinks/{paymentMethodName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
paymentMethodName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (409)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: enum ,
message: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Operations_List (new)
Description Lists the available billing REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_ListByBillingAccount (removed)
Description Lists the subscriptions for a billing account. The operation is currently supported for billing accounts with agreement type Microsoft Customer Agreement, Microsoft Partner Agreement and Microsoft Online Services Program.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions
{
billingAccountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
subscriptionEnrollmentAccountStatus: enum ,
enrollmentAccountStartDate: string ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productTypeId: string ,
quantity: integer ,
skuId: string ,
termDuration: string ,
}
,
skuDescription: string ,
skuId: string ,
status: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Get (removed)
Description Gets a subscription by its ID. The operation is currently supported for billing accounts with agreement type Microsoft Customer Agreement, Microsoft Partner Agreement and Microsoft Online Services Program.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
subscriptionEnrollmentAccountStatus: enum ,
enrollmentAccountStartDate: string ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productTypeId: string ,
quantity: integer ,
skuId: string ,
termDuration: string ,
}
,
skuDescription: string ,
skuId: string ,
status: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Update (removed)
Description Updates the properties of a billing subscription.
Reference Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
subscriptionEnrollmentAccountStatus: enum ,
enrollmentAccountStartDate: string ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productTypeId: string ,
quantity: integer ,
skuId: string ,
termDuration: string ,
}
,
skuDescription: string ,
skuId: string ,
status: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
subscriptionEnrollmentAccountStatus: enum ,
enrollmentAccountStartDate: string ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productTypeId: string ,
quantity: integer ,
skuId: string ,
termDuration: string ,
}
,
skuDescription: string ,
skuId: string ,
status: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Delete (removed)
Description Cancels a billing subscription.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Move (removed)
Description Moves a subscription's charges to a new invoice section. This operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/move
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
destinationEnrollmentAccountId: string ,
destinationInvoiceSectionId: string ,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
subscriptionEnrollmentAccountStatus: enum ,
enrollmentAccountStartDate: string ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productTypeId: string ,
quantity: integer ,
skuId: string ,
termDuration: string ,
}
,
skuDescription: string ,
skuId: string ,
status: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_ValidateMoveEligibility (removed)
Description Validates if a subscription's charges can be moved to a new invoice section. This operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/validateMoveEligibility
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
destinationEnrollmentAccountId: string ,
destinationInvoiceSectionId: string ,
}
,
}

⚐ Response (200)

{
isMoveEligible: boolean ,
errorDetails:
{
code: enum ,
message: string ,
details: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Merge (removed)
Description Merges the billing subscription provided in the request with a target billing subscription.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/merge
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
targetBillingSubscriptionName: string ,
quantity: integer ,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
subscriptionEnrollmentAccountStatus: enum ,
enrollmentAccountStartDate: string ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productTypeId: string ,
quantity: integer ,
skuId: string ,
termDuration: string ,
}
,
skuDescription: string ,
skuId: string ,
status: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Split (removed)
Description Splits a subscription into a new subscription with quantity less than current subscription quantity and not equal to 0.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/split
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
billingFrequency: string ,
quantity: integer ,
targetProductTypeId: string ,
targetSkuId: string ,
termDuration: string ,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
subscriptionEnrollmentAccountStatus: enum ,
enrollmentAccountStartDate: string ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productTypeId: string ,
quantity: integer ,
skuId: string ,
termDuration: string ,
}
,
skuDescription: string ,
skuId: string ,
status: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptionsAliases_ListByBillingAccount (removed)
Description Lists the subscription aliases for a billing account. The operation is supported for seat based billing subscriptions.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptionAliases
{
billingAccountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
billingSubscriptionId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptionsAliases_Get (removed)
Description Gets a subscription by its alias ID. The operation is supported for seat based billing subscriptions.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptionAliases/{aliasName}
{
billingAccountName: string ,
aliasName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
billingSubscriptionId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptionsAliases_CreateOrUpdate (removed)
Description Creates or updates a billing subscription by its alias ID. The operation is supported for seat based billing subscriptions.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptionAliases/{aliasName}
{
billingAccountName: string ,
aliasName: string ,
api-version: string ,
parameters:
{
properties:
{
billingSubscriptionId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
billingSubscriptionId: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_ListByUser (removed)
Description Lists the payment methods owned by the caller.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/paymentMethods
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
family: enum ,
type: string ,
accountHolderName: string ,
expiration: string ,
lastFourDigits: string ,
displayName: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
status: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_GetByUser (removed)
Description Gets a payment method owned by the caller.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/paymentMethods/{paymentMethodName}
{
api-version: string ,
paymentMethodName: string ,
}

⚐ Response (200)

{
properties:
{
family: enum ,
type: string ,
accountHolderName: string ,
expiration: string ,
lastFourDigits: string ,
displayName: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
status: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_DeleteByUser (removed)
Description Deletes a payment method owned by the caller.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Billing/paymentMethods/{paymentMethodName}
{
api-version: string ,
paymentMethodName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_ListByBillingAccount (removed)
Description Lists the payment methods available for a billing account. Along with the payment methods owned by the caller, these payment methods can be attached to a billing profile to make payments. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/paymentMethods
{
billingAccountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
family: enum ,
type: string ,
accountHolderName: string ,
expiration: string ,
lastFourDigits: string ,
displayName: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
status: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_GetByBillingAccount (removed)
Description Gets a payment method available for a billing account. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/paymentMethods/{paymentMethodName}
{
api-version: string ,
billingAccountName: string ,
paymentMethodName: string ,
}

⚐ Response (200)

{
properties:
{
family: enum ,
type: string ,
accountHolderName: string ,
expiration: string ,
lastFourDigits: string ,
displayName: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
status: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_ListByBillingProfile (removed)
Description Lists payment methods attached to a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethodLinks
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
paymentMethod:
{
id: string ,
family: enum ,
type: string ,
accountHolderName: string ,
expiration: string ,
lastFourDigits: string ,
displayName: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
status: enum ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_GetByBillingProfile (removed)
Description Gets a payment method linked with a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethodLinks/{paymentMethodName}
{
billingAccountName: string ,
billingProfileName: string ,
paymentMethodName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
paymentMethod:
{
id: string ,
family: enum ,
type: string ,
accountHolderName: string ,
expiration: string ,
lastFourDigits: string ,
displayName: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
status: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_DeleteAtBillingProfile (removed)
Description Deletes a payment method link and removes the payment method from a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethodLinks/{paymentMethodName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
paymentMethodName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (409)

{
error:
{
code: string ,
message: string ,
details:
[
{
code: enum ,
message: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Operations_List (removed)
Description Lists the available billing REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}