Microsoft Azure Payment Methods API

The Payment Methods API from Microsoft Azure — 6 operation(s) for payment methods.

Business capability
Payment Collection & Dunning BC-4250.40

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /providers/Microsoft.Billing/paymentMethods List my own payment methods · Microsoft Azure Get Providers Microsoft Billing Paymentmethods #
Ask an LLM
“Which payment methods do I personally own for Azure billing?”
“Can I see all the cards and payment methods tied to my own user?”
Tell an agent
List the payment methods I own.
Show all payment methods owned by my user account.
GET /providers/Microsoft.Billing/paymentMethods/{paymentMethodName} Get one of my own payment methods · Microsoft Azure Get Providers Microsoft Billing Paymentmethods Paymentmethodname #
Ask an LLM
“What are the details of a payment method that I own?”
“Can I look up one of my personal payment methods by name?”
Tell an agent
Get my payment method {paymentMethodName}.
Show the details of payment method {paymentMethodName} that I own.
DELETE /providers/Microsoft.Billing/paymentMethods/{paymentMethodName} Delete one of my own payment methods · Microsoft Azure Delete Providers Microsoft Billing Paymentmethods… #
Ask an LLM
“How do I delete a payment method I own from Azure billing?”
“Can I remove my own card entirely rather than just unlinking it from a billing profile?”
Tell an agent destructive · confirm first
Delete my payment method {paymentMethodName}.
Permanently remove payment method {paymentMethodName} from my account.
GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/paymentMethods List payment methods available for a billing account · Microsoft Azure Get Providers Microsoft Billing Billingaccounts… #
Ask an LLM
“Which payment methods can I attach to billing profiles under my billing account?”
“Is listing billing account payment methods limited to Microsoft Customer Agreement accounts?”
Tell an agent
List the payment methods available for billing account {billingAccountName}.
Show which payment methods billing account {billingAccountName} can use.
GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/paymentMethods/{paymentMethodName} Get a payment method available to a billing account · Microsoft Azure Get Providers Microsoft Billing Billingaccounts… #
Ask an LLM
“What are the details of a payment method available on my billing account?”
“Can I fetch one billing account payment method by name?”
Tell an agent
Get payment method {paymentMethodName} available for billing account {billingAccountName}.
Show billing account {billingAccountName}'s payment method {paymentMethodName}.
GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethodLinks List payment methods attached to a billing profile · Microsoft Azure Get Providers Microsoft Billing Billingaccounts… #
Ask an LLM
“Which payment methods are linked to a specific billing profile?”
“How do I see what cards a billing profile pays with?”
Tell an agent
List payment methods attached to billing profile {billingProfileName} in billing account {billingAccountName}.
Show the payment method links on billing profile {billingProfileName}.
GET /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethodLinks/{paymentMethodName} Get a payment method linked to a billing profile · Microsoft Azure Get Providers Microsoft Billing Billingaccounts… #
Ask an LLM
“Can I check one payment method link on a billing profile?”
“What does the link between a billing profile and a specific payment method look like?”
Tell an agent
Get the link for payment method {paymentMethodName} on billing profile {billingProfileName} in account {billingAccountName}.
Show billing profile {billingProfileName}'s linked payment method {paymentMethodName}.
DELETE /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethodLinks/{paymentMethodName} Unlink a payment method from a billing profile · Microsoft Azure Delete Providers Microsoft Billing Billingaccounts… #
Ask an LLM
“How do I detach a payment method from a billing profile without deleting it entirely?”
“Can I remove a card link from one billing profile under my Microsoft Customer Agreement?”
Tell an agent destructive · confirm first
Unlink payment method {paymentMethodName} from billing profile {billingProfileName} in account {billingAccountName}.
Delete the payment method link {paymentMethodName} on billing profile {billingProfileName}.

Documentation

📖
Documentation
https://learn.microsoft.com/en-us/rest/api/azure/
📖
Documentation
https://learn.microsoft.com/en-us/azure/role-based-access-control/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/action-groups?view=rest-monitor-2021-09-01
📖
Documentation
https://learn.microsoft.com/en-us/entra/identity/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/activity-log-alerts?view=rest-monitor-2020-10-01
📖
Documentation
https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/whatis-azure-ad-connect
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-providers-and-types
📖
Documentation
https://azuremarketplace.microsoft.com/en-us/marketplace/apps/robomq.adptoad?tab=overview
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.advisor-readme?view=azure-dotnet-preview
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.agfoodplatform-readme?view=azure-dotnet-preview
📖
Documentation
https://azure.microsoft.com/en-us/products/data-manager-for-agriculture
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/translator/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-health-insights/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/analysis-services/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/analytics.purview.datamap-readme?view=azure-dotnet-preview
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/anomaly-detector/
📖
Documentation
https://learn.microsoft.com/en-us/azure/api-center/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/scom-manage-instance/overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/api-management/
📖
APIReference
https://learn.microsoft.com/en-us/rest/api/apimanagement/
📖
Documentation
https://learn.microsoft.com/en-us/microsoft-365-app-certification/docs/acat-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-app-configuration/
📖
Documentation
https://learn.microsoft.com/en-us/azure/app-service/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/appservice/app-service-certificate-orders/get?view=rest-appservice-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/app-service/environment/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/appservice/app-service-plans?view=rest-appservice-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/
📖
Documentation
https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview
📖
Documentation
https://learn.microsoft.com/en-us/cli/azure/monitor/app-insights/component/linked-storage?view=azure-cli-latest
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.applicationinsights-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-arc/
📖
Documentation
https://learn.microsoft.com/en-us/azure/governance/resource-graph/
📖
Documentation
https://learn.microsoft.com/en-us/azure/devops/artifacts/?view=azure-devops
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/security.attestation-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/attestation/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.authorization-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/python/api/azure-cognitiveservices-search-autosuggest/azure.cognitiveservices.search.autosuggest.autosuggestclient?view=azure-python-preview
📖
Documentation
https://learn.microsoft.com/en-us/azure/automanage/
📖
Documentation
https://learn.microsoft.com/en-us/azure/automation/
📖
Documentation
https://learn.microsoft.com/en-us/azure/backup/
📖
Documentation
https://learn.microsoft.com/en-us/azure/baremetal-infrastructure/
📖
Documentation
https://learn.microsoft.com/en-us/azure/batch/
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/translator/document-translation/quickstarts/client-library-sdks
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/speech-service/batch-synthesis
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.billingbenefits-readme?view=azure-dotnet-preview
📖
Documentation
https://learn.microsoft.com/en-us/azure/cost-management-billing/
📖
Documentation
https://learn.microsoft.com/en-us/azure/storage/blobs/
📖
Documentation
https://learn.microsoft.com/en-us/archive/msdn-magazine/2018/june/blockchain-introducing-azure-blockchain-workbench
📖
Documentation
https://learn.microsoft.com/en-us/azure/governance/blueprints/
📖
Documentation
https://learn.microsoft.com/en-us/azure/bot-service/?view=azure-bot-service-4.0
📖
Documentation
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
📖
Documentation
https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/scenarios/cloud-scale-analytics/govern-metadata-standards
📖
Documentation
https://learn.microsoft.com/en-us/azure/carbon-optimization/view-emissions
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.cdn-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/web-application-firewall/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/appservice/certificate-orders-diagnostics?view=rest-appservice-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates-for-clients
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.changeanalysis-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-changes-readme?view=azure-node-latest
📖
Documentation
https://learn.microsoft.com/en-us/azure/chaos-studio/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/policy/policy-restrictions?view=rest-policy-2023-03-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/cloud-shell/overview
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.trustedsigning-readme?view=azure-dotnet-preview
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.cognitiveservices-readme?view=azure-dotnet
📖
APIReference
https://learn.microsoft.com/en-us/rest/api/cognitiveservices/
📖
Documentation
https://learn.microsoft.com/en-us/python/api/overview/azure/commerce?view=azure-python
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-types
📖
Documentation
https://learn.microsoft.com/en-us/azure/search/search-blob-metadata-properties
📖
Documentation
https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/considerations/fundamental-concepts
📖
Documentation
https://learn.microsoft.com/en-us/azure/sentinel/entities-reference
📖
Documentation
https://learn.microsoft.com/en-us/dynamics365/field-service/configure-incident-types
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/parameter-files
📖
Documentation
https://learn.microsoft.com/en-us/azure/storage/tables/table-storage-design-modeling
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.operationalinsights-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-machines/share-gallery-community
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/policy/component-policy-states?view=rest-policy-2022-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/compute
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-network-manager/concept-connectivity-configuration
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.appcontainers-readme?view=azure-dotnet
📖
APIReference
https://learn.microsoft.com/en-us/rest/api/containerapps/
📖
Documentation
https://learn.microsoft.com/en-us/azure/container-apps/revisions-manage
📖
Documentation
https://learn.microsoft.com/en-us/azure/containers/
📖
Documentation
https://learn.microsoft.com/en-us/azure/templates/microsoft.containerservice/fleets
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/content-moderator/
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/content-safety/
📖
Documentation
https://learn.microsoft.com/en-us/azure/cosmos-db/postgresql/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.cognitiveservices.search.customimagesearch.customimagesearchclient?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/search.documents-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/custom-vision-service/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/speech/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/storageservices/data-lake-storage-gen2
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/data-manager-for-agri/
📖
Documentation
https://learn.microsoft.com/en-us/azure/dms/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/control-plane-and-data-plane
📖
Documentation
https://learn.microsoft.com/en-us/azure/defender-for-cloud/data-sensitivity-settings
📖
Documentation
https://learn.microsoft.com/en-us/azure/databox/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/sql/database-threat-detection-policies/get?view=rest-sql-2014-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/external-attack-surface-management/
📖
Documentation
https://learn.microsoft.com/en-us/azure/storage/files/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/appservice/web-apps/delete?view=rest-appservice-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-script-template
📖
Documentation
https://learn.microsoft.com/en-us/azure/deployment-environments/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/deployment-stacks
📖
Documentation
https://learn.microsoft.com/en-us/azure/iot-dps/
📖
Documentation
https://learn.microsoft.com/en-us/azure/api-management/diagnostic-logs-reference
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/?view=doc-intel-4.0.0
📖
Documentation
https://learn.microsoft.com/en-us/azure/iot-edge/?view=iotedge-1.5
📖
Documentation
https://learn.microsoft.com/en-us/shows/azure-cosmos-db-conf-2022/creating-enterprise-knowledge-graphs-from-unstructured-data
📖
Documentation
https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.core.experiment.experiment?view=azure-ml-py
📖
Documentation
https://learn.microsoft.com/en-us/azure/expressroute/cross-connections-api-development
📖
Documentation
https://learn.microsoft.com/en-us/fabric/admin/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/ai.vision.face-readme?view=azure-dotnet-preview
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.management.resourcemanager.fluent.featureclient?view=azure-dotnet-legacy
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/ai.formrecognizer-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-machines/azure-compute-gallery
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/diagnostic-settings?view=rest-monitor-2021-05-01-preview
📖
Documentation
https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/guestdiagnosticsettingsassociation
📖
Documentation
https://learn.microsoft.com/en-us/azure/hdinsight-aks/
📖
Documentation
https://docs.citusdata.com/en/v9.2/portals/citus_cloud.html
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.cognitiveservices.search.imagesearch.imagesearchclient?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/data-collection-rule-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/integration-environments/create-integration-environment
📖
Documentation
https://learn.microsoft.com/en-us/azure/hdinsight/kafka/rest-proxy
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/appservice/kube-environments/create-or-update?view=rest-appservice-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.kusto-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-large-instances/what-is-azure-large-instances
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/app/live-stream
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/azure.search.documents.searchclient?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/log-analytics-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/log-analytics-tutorial
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/query-packs
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.logic-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/luis/client-libraries-rest-api
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/managed-applications/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-managed-lustre/
📖
Documentation
https://learn.microsoft.com/en-us/azure/synapse-analytics/security/synapse-workspace-managed-private-endpoints
📖
Documentation
https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/overview
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-links-readme?view=azure-node-latest
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.management.resourcemanager.managementlockclient?view=azure-dotnet-legacy
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-maps/how-to-create-data-registries
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-maps/how-to-use-feedback-tool
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-maps/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/maps/render/get-map-tileset?view=rest-maps-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/maps/timezone?view=rest-maps-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-maps/how-to-creator-wayfinding
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-maps/how-to-request-weather-data
📖
Documentation
https://learn.microsoft.com/en-us/partner-center/marketplace-offers/create-new-saas-offer
📖
Documentation
https://learn.microsoft.com/sr-cyrl-rs/azure/media-services/latest/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.media-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/metrics-advisor/
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/language-service/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/ai.language.conversations-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/language/text-analysis-authoring/import?view=rest-language-2023-04-01
📖
Documentation
https://azure.microsoft.com/en-us/products/ai-services/question-answering
📖
Documentation
https://learn.microsoft.com/en-us/azure/defender-for-cloud/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/application-insights/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/marketplacecatalog/dataplane/reviews/get?view=rest-marketplacecatalog-dataplane-2023-01-01-preview&tabs=HTTP
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-netapp-files/
📖
Documentation
https://learn.microsoft.com/en-us/azure/playwright-testing/how-to-manage-authentication
📖
Documentation
https://azure.microsoft.com/en-us/products/ai-services/ai-document-intelligence
📖
Documentation
https://learn.microsoft.com/en-us/azure/defender-for-cloud/azure-devops-extension
📖
Documentation
https://learn.microsoft.com/en-us/azure/sentinel/upload-indicators-api
📖
Documentation
https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/serial-console-windows
📖
Documentation
https://learn.microsoft.com/en-us/azure/templates/microsoft.servicelinker/linkers
📖
Documentation
https://learn.microsoft.com/en-us/azure/container-instances/container-instances-standby-pool-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/storage/file-sync/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/mobilepacketcore/
📖
Documentation
https://azure.microsoft.com/en-us/products/azure-network-function-manager
📖
Documentation
https://learn.microsoft.com/en-us/azure/network-watcher/traffic-analytics
📖
Documentation
https://learn.microsoft.com/en-us/azure/service-health/resource-health-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/security/
📖
Documentation
https://learn.microsoft.com/en-us/azure/migrate/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/migrate/
📖
Documentation
https://learn.microsoft.com/en-us/java/api/com.azure.mixedreality.remoterendering?view=azure-java-stable
📖
Documentation
https://learn.microsoft.com/en-us/java/api/com.azure.mixedreality.authentication.mixedrealitystsclient?view=azure-java-stable
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/data-collection-endpoint-overview
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/data-collection-rule-associations?view=rest-monitor-2023-03-11
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/data-collection-rules?view=rest-monitor-2023-03-11
📖
Documentation
https://learn.microsoft.com/en-us/python/api/azure-mgmt-monitor/azure.mgmt.monitor.monitormanagementclient?view=azure-python
📖
Documentation
https://learn.microsoft.com/en-us/azure/batch/monitor-batch
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/metrics?view=rest-monitor-2023-10-01
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/metric-definitions?view=rest-monitor-2023-10-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/monitor-resource-manager
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.sql-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-network-manager/
📖
Documentation
https://learn.microsoft.com/en-us/azure/networking/
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-network-manager/concept-network-groups
📖
Documentation
https://learn.microsoft.com/en-us/azure/private-link/network-security-perimeter-concepts
📖
Documentation
https://docs.newrelic.com/docs/infrastructure/microsoft-azure-integrations/get-started/introduction-azure-monitoring-integrations/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.cognitiveservices.search.newssearch.newssearchclient?view=azure-dotnet
📖
Documentation
https://docs.nginx.com/nginx/deployment-guides/microsoft-azure/
📖
Documentation
https://learn.microsoft.com/en-us/azure/notification-hubs/
📖
Documentation
https://azure.microsoft.com/en-us/products/spring-apps
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/openai/
📖
APIReference
https://learn.microsoft.com/en-us/azure/ai-services/openai/reference
📖
GettingStarted
https://learn.microsoft.com/en-us/azure/ai-services/openai/overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/openai/reference-preview
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/openai/reference
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-oep-readme?view=azure-node-preview
📖
Documentation
https://learn.microsoft.com/en-us/azure/orbital/
📖
Documentation
https://docs.paloaltonetworks.com/cloud-ngfw/azure
📖
Documentation
https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.peering-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/personalizer/
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-playwrighttesting-readme?view=azure-node-latest
📖
Documentation
https://learn.microsoft.com/en-us/azure/governance/policy/
📖
Documentation
https://learn.microsoft.com/en-us/azure/governance/policy/concepts/event-overview
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/policy/
📖
Documentation
https://learn.microsoft.com/en-us/azure/governance/policy/concepts/definition-structure-basics
📖
Documentation
https://learn.microsoft.com/en-us/azure/governance/policy/overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-portal/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.postgresql-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-powerbiembedded-readme?view=azure-node-latest
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-powerbidedicated-readme?view=azure-node-latest
📖
Documentation
https://learn.microsoft.com/en-us/power-platform/
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/custom-vision-service/use-prediction-api
📖
Documentation
https://learn.microsoft.com/en-us/azure/private-link/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.privatedns-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview
📖
Documentation
https://learn.microsoft.com/en-us/power-bi/enterprise/service-security-private-links-on-premises
📖
Documentation
https://azure.microsoft.com/en-us/products/programmable-connectivity
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.providerhub-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/purview/
📖
Documentation
https://learn.microsoft.com/en-us/purview/legacy/concept-policies-devops
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.purview-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/purview/legacy/tutorial-metadata-policy-collections-apis
📖
Documentation
https://learn.microsoft.com/en-us/purview/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/analytics.purview.sharing-readme?view=azure-dotnet-preview
📖
Documentation
https://learn.microsoft.com/en-us/purview/legacy/concept-workflow
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/qnamaker/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.cognitiveservices.knowledge.qnamaker.runtime?view=azure-dotnet-legacy
📖
Documentation
https://learn.microsoft.com/en-us/azure/quantum/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.quantum-readme?view=azure-dotnet-preview
📖
Documentation
https://learn.microsoft.com/en-us/azure/storage/queues/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/quota/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/recovery-services?view=azure-dotnet
📖
Documentation
https://docs.openshift.com/aro/4/welcome/index.html
📖
Documentation
https://learn.microsoft.com/en-us/azure/openshift/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.redisenterprise-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/relay/
📖
Documentation
https://learn.microsoft.com/en-us/mem/intune/fundamentals/remediations
📖
Documentation
https://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/reservation-apis
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/appservice/resource-health-metadata/list?view=rest-appservice-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/
📖
APIReference
https://learn.microsoft.com/en-us/rest/api/resources/
📖
Documentation
https://learn.microsoft.com/en-us/azure/resource-mover/
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/run-command
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/scheduled-query-rules?view=rest-monitor-2021-08-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/scheduler/
📖
Documentation
https://learn.microsoft.com/en-us/azure/event-hubs/schema-registry-overview
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/networkmanager/scope-connections/create-or-update?view=rest-networkmanager-2023-11-01
📖
Documentation
https://github.com/Azure/service-fabric-issues/issues/1021
📖
Documentation
https://learn.microsoft.com/en-us/python/api/azure-search-documents/azure.search.documents.indexes.searchindexclient?view=azure-python
📖
Documentation
https://learn.microsoft.com/en-us/python/api/azure-mgmt-search/azure.mgmt.search.searchmanagementclient?view=azure-python
📖
Documentation
https://learn.microsoft.com/en-us/azure/search/
📖
Documentation
https://learn.microsoft.com/en-us/azure/compliance/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.securityinsights-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/service-bus-messaging/
📖
APIReference
https://learn.microsoft.com/en-us/rest/api/servicebus/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/servicefabric/sfclient-index
📖
Documentation
https://learn.microsoft.com/en-us/azure/service-fabric/
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-machines/share-gallery-direct
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-machines/shared-image-galleries
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-signalr/
📖
Documentation
https://learn.microsoft.com/en-us/azure/site-recovery/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/site-recovery/
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-machines/snapshot-copy-managed-disk
📖
Documentation
https://learn.microsoft.com/en-us/python/api/azure-synapse-spark/azure.synapse.spark.sparkclient?view=azure-python-preview
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/speakerrecognition/
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/speech-service/
📖
Documentation
https://learn.microsoft.com/en-us/azure/ai-services/speech-service/rest-speech-to-text
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.cognitiveservices.language.spellcheck.spellcheckclient?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure-sphere/?view=azure-sphere-integrated
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-sql/?view=azuresql
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/sql/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-sql/database/automated-backups-overview?view=azuresql
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-sql/database/?view=azuresql
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-sql/database/dynamic-data-masking-overview?view=azuresql
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-sql/database/disaster-recovery-guidance?view=azuresql
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-sql/database/database-import-export-private-link?view=azuresql
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-sql/database/replication-to-sql-database?view=azuresql
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-sql/database/firewall-configure?view=azuresql
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.sqlvirtualmachine-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure-stack/
📖
Documentation
https://docs.azure.cn/en-us/azure-stack/hci/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/appservice/static-sites/get-static-site?view=rest-appservice-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/storsimple/
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-storsimple8000series-readme?view=azure-node-latest
📖
Documentation
https://learn.microsoft.com/en-us/azure/storage/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.storageactions-readme?view=azure-dotnet-preview
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.storagecache-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/import-export/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.storage-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/storage-mover/
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.storagepool-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/azure/stream-analytics/
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-subscriptions-readme?view=azure-node-latest
📖
Documentation
https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/landing-zone/design-area/resource-org-subscriptions
📖
Documentation
https://learn.microsoft.com/en-us/python/api/azure-mgmt-synapse/azure.mgmt.synapse.synapsemanagementclient?view=azure-python
📖
Documentation
https://learn.microsoft.com/en-us/azure/synapse-analytics/sql/connect-overview
📖
Documentation
https://learn.microsoft.com/en-us/microsoft-365/syntex/
📖
Documentation
https://learn.microsoft.com/en-us/system-center/vmm/?view=sc-vmm-2025
📖
Documentation
https://learn.microsoft.com/en-us/azure/data-factory/control-flow-get-metadata-activity
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/chaosstudio/target-types/list?view=rest-chaosstudio-2024-01-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-specs
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/action-groups
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-create-activity-log-alert-rule
📖
Documentation
https://learn.microsoft.com/en-us/microsoft-365/test-base/overview?view=o365-worldwide
📖
Documentation
https://learn.microsoft.com/en-us/python/api/overview/azure/ai-textanalytics-readme?view=azure-python
📖
Documentation
https://learn.microsoft.com/en-us/azure/time-series-insights/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/appservice/top-level-domains/list?view=rest-appservice-2024-04-01
📖
Documentation
https://learn.microsoft.com/en-us/azure/expressroute/traffic-collector
📖
Documentation
https://learn.microsoft.com/en-us/azure/traffic-manager/
📖
Documentation
https://learn.microsoft.com/en-us/azure/update-manager/overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/update-manager/manage-vms-programmatically
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/consumption/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-video-indexer/
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/@azure/video-analyzer-edge/?view=azure-node-legacy
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-wan/
📖
Documentation
https://learn.microsoft.com/en-us/javascript/api/overview/azure/arm-visualstudio-readme?view=azure-node-preview
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-vmware/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/avs/
📖
Documentation
https://learn.microsoft.com/en-us/azure/virtual-network/
📖
Documentation
https://learn.microsoft.com/en-us/azure/communications-gateway/provisioning-platform
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/voiceservices/
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-web-pubsub/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/webpubsub/
📖
Documentation
https://learn.microsoft.com/en-us/python/api/azure-mgmt-web/azure.mgmt.web.websitemanagementclient?view=azure-python
📖
Documentation
https://learn.microsoft.com/en-us/lifecycle/faq/extended-security-updates
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/visualize/workbooks-overview
📖
Documentation
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/resourcemanager.workloads-readme?view=azure-dotnet
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/containerregistry/
📖
GettingStarted
https://azure.microsoft.com/en-us/products/container-registry
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/aks/
📖
GettingStarted
https://azure.microsoft.com/en-us/products/kubernetes-service
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/cosmos-db/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/cosmos-db-resource-provider/
📖
GettingStarted
https://azure.microsoft.com/en-us/products/cosmos-db
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/resources/
📖
GettingStarted
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/manage-resources-rest
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/cognitiveservices/
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/keyvault/
📖
GettingStarted
https://azure.microsoft.com/en-us/products/key-vault

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-payment-methods-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-payment-methods-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2021-10-01'
  title: Microsoft Azure PaymentManagementClient Payment Methods API
  description: The billing client allows you to view and manage your billing details programmatically.
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Payment Methods
paths:
  /providers/Microsoft.Billing/paymentMethods:
    get:
      tags:
      - Payment Methods
      operationId: microsoftAzurePaymentmethodsListbyuser
      description: Lists the payment methods owned by the caller.
      externalDocs:
        url: https://docs.microsoft.com/en-us/rest/api/billing/
      x-ms-examples:
        ListPaymentMethodOwnedByUser:
          $ref: ./examples/PaymentMethodOwnedByUser_List.json
      parameters:
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK. The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentMethodsListResult'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Providers Microsoft Billing Paymentmethods
  /providers/Microsoft.Billing/paymentMethods/{paymentMethodName}:
    get:
      tags:
      - Payment Methods
      operationId: microsoftAzurePaymentmethodsGetbyuser
      description: Gets a payment method owned by the caller.
      externalDocs:
        url: https://docs.microsoft.com/en-us/rest/api/billing/
      x-ms-examples:
        GetPaymentMethodOwnedByUser:
          $ref: ./examples/PaymentMethodOwnedByUser_Get.json
      parameters:
      - $ref: '#/components/parameters/apiVersionParameter'
      - $ref: '#/components/parameters/paymentMethodNameParameter'
      responses:
        '200':
          description: OK. The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentMethod'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./types.json#/definitions/ErrorResponse
      summary: Microsoft Azure Get Providers Microsoft Billing Paymentmethods Paymentmethodname
    delete:
      tags:
      - Payment Methods
      operationId: microsoftAzurePaymentmethodsDeletebyuser
      description: Deletes a payment method owned by the caller.
      externalDocs:
        url: https://docs.microsoft.com/en-us/rest/api/billing/
      x-ms-examples:
        DeletePaymentMethodOwnedByUser:
          $ref: ./examples/PaymentMethodOwnedByUser_Delete.json
      parameters:
      - $ref: '#/components/parameters/apiVersionParameter'
      - $ref: '#/components/parameters/paymentMethodNameParameter'
      responses:
        '200':
          description: OK. The request has succeeded.
        '204':
          description: The resource was not found.
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./types.json#/definitions/ErrorResponse
      summary: Microsoft Azure Delete Providers Microsoft Billing Paymentmethods…
  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/paymentMethods:
    get:
      tags:
      - Payment Methods
      operationId: microsoftAzurePaymentmethodsListbybillingaccount
      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.
      externalDocs:
        url: https://docs.microsoft.com/en-us/rest/api/billing/
      x-ms-examples:
        PaymentMethodsListByBillingAccount:
          $ref: ./examples/PaymentMethodAtBillingAccount_List.json
      parameters:
      - $ref: '#/components/parameters/billingAccountNameParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK. The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentMethodsListResult'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Providers Microsoft Billing Billingaccounts…
  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/paymentMethods/{paymentMethodName}:
    get:
      tags:
      - Payment Methods
      operationId: microsoftAzurePaymentmethodsGetbybillingaccount
      description: Gets a payment method available for a billing account. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
      externalDocs:
        url: https://docs.microsoft.com/en-us/rest/api/billing/
      x-ms-examples:
        PaymentMethodGetAtBillingProfile:
          $ref: ./examples/PaymentMethodAtBillingAccount_Get.json
      parameters:
      - $ref: '#/components/parameters/apiVersionParameter'
      - $ref: '#/components/parameters/billingAccountNameParameter'
      - $ref: '#/components/parameters/paymentMethodNameParameter'
      responses:
        '200':
          description: OK. The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentMethod'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./types.json#/definitions/ErrorResponse
      summary: Microsoft Azure Get Providers Microsoft Billing Billingaccounts…
  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethodLinks:
    get:
      tags:
      - Payment Methods
      operationId: microsoftAzurePaymentmethodsListbybillingprofile
      description: Lists payment methods attached to a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
      externalDocs:
        url: https://docs.microsoft.com/en-us/rest/api/billing/
      x-ms-examples:
        PaymentMethodsListByBillingProfile:
          $ref: ./examples/PaymentMethodAtBillingProfile_List.json
      parameters:
      - $ref: '#/components/parameters/billingAccountNameParameter'
      - $ref: '#/components/parameters/billingProfileNameParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK. The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentMethodLinksListResult'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Providers Microsoft Billing Billingaccounts…
  ? /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/paymentMethodLinks/{paymentMethodName}
  : get:
      tags:
      - Payment Methods
      operationId: microsoftAzurePaymentmethodsGetbybillingprofile
      description: Gets a payment method linked with a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
      externalDocs:
        url: https://docs.microsoft.com/en-us/rest/api/billing/
      x-ms-examples:
        PaymentMethodsGetByBillingProfile:
          $ref: ./examples/PaymentMethodAtBillingProfile_Get.json
      parameters:
      - $ref: '#/components/parameters/billingAccountNameParameter'
      - $ref: '#/components/parameters/billingProfileNameParameter'
      - $ref: '#/components/parameters/paymentMethodNameParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK. The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentMethodLink'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./types.json#/definitions/ErrorResponse
      summary: Microsoft Azure Get Providers Microsoft Billing Billingaccounts…
    delete:
      tags:
      - Payment Methods
      operationId: microsoftAzurePaymentmethodsDeleteatbillingprofile
      x-ms-long-running-operation: true
      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.
      externalDocs:
        url: https://docs.microsoft.com/en-us/rest/api/billing/
      x-ms-examples:
        PaymentMethodAtBillingProfileDelete:
          $ref: ./examples/PaymentMethodAtBillingProfile_Delete.json
      parameters:
      - $ref: '#/components/parameters/apiVersionParameter'
      - $ref: '#/components/parameters/billingAccountNameParameter'
      - $ref: '#/components/parameters/billingProfileNameParameter'
      - $ref: '#/components/parameters/paymentMethodNameParameter'
      responses:
        '200':
          description: OK. The request has succeeded.
        '202':
          description: Accepted
          headers:
            Location:
              description: Location URI to poll for result
              schema:
                type: string
            Retry-After:
              description: Recommended time to wait before making another request to check the status of the operation. The time is specified in seconds.
              schema:
                type: integer
                format: int32
        '204':
          description: The resource was not found.
        '409':
          description: Conflict. Payment method cannot be detached from billing profile.
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetachPaymentMethodEligibilityResult'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ./types.json#/definitions/ErrorResponse
      summary: Microsoft Azure Delete Providers Microsoft Billing Billingaccounts…
components:
  schemas:
    PaymentMethodLogo:
      description: Logo of payment method.
      type: object
      properties:
        mimeType:
          description: MIME type of the logo.
          type: string
          readOnly: true
        url:
          description: Public URL of image of the logo.
          type: string
          readOnly: true
    PaymentMethodLinksListResult:
      description: The list of payment method links.
      type: object
      properties:
        value:
          description: The list of payment method links.
          type: array
          readOnly: true
          items:
            $ref: '#/components/schemas/PaymentMethodLink'
        nextLink:
          description: The link (url) to the next page of results.
          type: string
          readOnly: true
    DetachPaymentMethodEligibilityErrorCode:
      type: string
      description: Error code of the detach payment method eligibility validation response.
      enum:
      - AzureSubscriptions
      - RecurringCharges
      - ReservedInstances
      - OutstandingCharges
      - PendingCharges
      x-ms-enum:
        name: detachPaymentMethodEligibilityErrorCode
        modelAsString: true
    PaymentMethodsListResult:
      description: The list of payment methods.
      type: object
      properties:
        value:
          description: The list of payment methods.
          type: array
          readOnly: true
          items:
            $ref: '#/components/schemas/PaymentMethod'
        nextLink:
          description: The link (url) to the next page of results.
          type: string
          readOnly: true
    DetachPaymentMethodEligibilityResult:
      description: Error response indicates that payment method cannot be detached from billing profile.
      type: object
      properties:
        error:
          description: The details of the error.
          $ref: '#/components/schemas/DetachPaymentMethodEligibilityError'
    PaymentMethodProjectionProperties:
      description: The properties of a payment method projection.
      type: object
      properties:
        id:
          description: Id of payment method.
          type: string
          readOnly: true
        family:
          description: The family of payment method.
          type: string
          enum:
          - CreditCard
          - CheckWire
          x-ms-enum:
            name: paymentMethodFamily
            modelAsString: true
        type:
          description: The type of payment method.
          type: string
          readOnly: true
        accountHolderName:
          description: The account holder name for the payment method. This is only supported for payment methods with family CreditCard.
          type: string
          readOnly: true
        expiration:
          description: The expiration month and year of the payment method. This is only supported for payment methods with family CreditCard.
          type: string
          readOnly: true
        lastFourDigits:
          description: Last four digits of payment method.
          type: string
          readOnly: true
        displayName:
          description: The display name of the payment method.
          type: string
          readOnly: true
        logos:
          description: The list of logos for the payment method.
          type: array
          items:
            $ref: '#/components/schemas/PaymentMethodLogo'
        status:
          description: Status of the payment method.
          type: string
          enum:
          - active
          - inactive
          x-ms-enum:
            name: paymentMethodStatus
            modelAsString: true
    PaymentMethod:
      description: A payment method.
      type: object
      allOf:
      - $ref: ./types.json#/definitions/Resource
      properties:
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/PaymentMethodProperties'
          title: Payment method properties
    DetachPaymentMethodEligibilityError:
      type: object
      description: The details of the error.
      properties:
        code:
          description: Error code.
          type: string
          readOnly: true
        message:
          description: Error message.
          type: string
          readOnly: true
        details:
          description: The list of detach payment method eligibility errors.
          type: array
          readOnly: true
          items:
            $ref: '#/components/schemas/DetachPaymentMethodErrorDetails'
    DetachPaymentMethodErrorDetails:
      type: object
      description: Error details of the detach payment method eligibility validation.
      properties:
        code:
          description: Error code for the detach payment method eligibility validation.
          $ref: '#/components/schemas/DetachPaymentMethodEligibilityErrorCode'
        message:
          description: Error message for the detach payment method eligibility validation.
          type: string
    PaymentMethodLinkProperties:
      description: The properties of a payment method link.
      type: object
      properties:
        paymentMethod:
          description: Projection of a payment method
          $ref: '#/components/schemas/PaymentMethodProjectionProperties'
    PaymentMethodProperties:
      description: The properties of a payment method.
      type: object
      properties:
        family:
          description: The family of payment method.
          type: string
          enum:
          - CreditCard
          - CheckWire
          x-ms-enum:
            name: paymentMethodFamily
            modelAsString: true
        type:
          description: The type of payment method.
          type: string
          readOnly: true
        accountHolderName:
          description: The account holder name for the payment method. This is only supported for payment methods with family CreditCard.
          type: string
          readOnly: true
        expiration:
          description: The expiration month and year of the payment method. This is only supported for payment methods with family CreditCard.
          type: string
          readOnly: true
        lastFourDigits:
          description: Last four digits of payment method.
          type: string
          readOnly: true
        displayName:
          description: The display name of the payment method.
          type: string
          readOnly: true
        logos:
          description: The list of logos for the payment method.
          type: array
          items:
            $ref: '#/components/schemas/PaymentMethodLogo'
        status:
          description: Status of the payment method.
          type: string
          enum:
          - active
          - inactive
          x-ms-enum:
            name: paymentMethodStatus
            modelAsString: true
    PaymentMethodLink:
      description: A payment method link.
      type: object
      allOf:
      - $ref: ./types.json#/definitions/Resource
      properties:
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/PaymentMethodLinkProperties'
          title: Payment method link properties
  parameters:
    billingAccountNameParameter:
      name: billingAccountName
      in: path
      description: The ID that uniquely identifies a billing account.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    paymentMethodNameParameter:
      name: paymentMethodName
      in: path
      description: The ID that uniquely identifies a payment method.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    billingProfileNameParameter:
      name: billingProfileName
      in: path
      description: The ID that uniquely identifies a billing profile.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    apiVersionParameter:
      name: api-version
      in: query
      required: true
      description: The version of the API to be used with the client request. The current version is 2021-10-01.
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.