Azure Billing: Payment
The billing client allows you to view and manage your billing details programmatically.
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 9
PaymentMethods
- GETPaymentMethods_ListByUser
/providers/Microsoft.Billing/paymentMethods?api-version=stringLists the payment methods owned by the caller. - GETPaymentMethods_GetByUser
/providers/Microsoft.Billing/paymentMethods/:paymentMethodName?api-version=stringGets a payment method owned by the caller. - DELETEPaymentMethods_DeleteByUser
/providers/Microsoft.Billing/paymentMethods/:paymentMethodName?api-version=stringDeletes a payment method owned by the caller. - GETPaymentMethods_ListByBillingAccount
/providers/Microsoft.Billing/billingAccounts/:billingAccountName/paymentMethods?api-version=stringLists 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… - GETPaymentMethods_GetByBillingAccount
/providers/Microsoft.Billing/billingAccounts/:billingAccountName/paymentMethods/:paymentMethodName?api-version=stringGets a payment method available for a billing account. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. - GETPaymentMethods_ListByBillingProfile
/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingProfiles/:billingProfileName/paymentMethodLinks?api-version=stringLists payment methods attached to a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. - GETPaymentMethods_GetByBillingProfile
/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingProfiles/:billingProfileName/paymentMethodLinks/:paymentMethodName?api-version=stringGets a payment method linked with a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. - DELETEPaymentMethods_DeleteAtBillingProfile
/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingProfiles/:billingProfileName/paymentMethodLinks/:paymentMethodName?api-version=stringDeletes a payment method link and removes the payment method from a billing profile. The operation is supported only for billing accounts with agreement type…
Operations
- GETOperations_List
/providers/Microsoft.Billing/operations?api-version=stringLists the available billing REST API operations.
API details
- Base URL
https://management.azure.com- Authentication
- OAuth 2.0 (implicit flow) with 1 scope
- Operations
- 9 operations on 7 pathsGET 7DELETE 2
- Main resources
- PaymentMethods 8Operations 1
- Response formats
application/json- Description format
- Swagger 2.0, API version
2021-10-01 - Links
- OpenAPI document
How to test the Azure Billing: Payment in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Azure Billing: Payment collection, without the publisher's secrets.
- 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.
- Send a requestPick an endpoint, for example “PaymentMethods_ListByUser” (GET /providers/Microsoft.Billing/paymentMethods?api-version=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Azure Billing: Payment?
The billing client allows you to view and manage your billing details programmatically. It is listed under Payments and has 9 endpoints.
Who publishes the Azure Billing: Payment?
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: Payment?
Requests go to https://management.azure.com. Endpoint paths are added to this base URL.
How do I authenticate with the Azure Billing: Payment?
With OAuth 2.0 (implicit flow) with 1 scope.
How many endpoints does the Azure Billing: Payment have?
9 operations on 7 paths (7 GET, 2 DELETE). The largest groups are PaymentMethods, Operations.
Is forking the Azure Billing: Payment free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.