{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Azure AccessControlClient AccessConnector PaymentMethods API",
    "version": "2020-08-01-preview"
  },
  "items": [
    {
      "info": {
        "name": "PaymentMethods",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure Get Providers Microsoft Billing Paymentmethods",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/providers/Microsoft.Billing/paymentMethods",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The version of the API to be used with the client request. The current version is 2021-10-01."
              }
            ]
          },
          "docs": "Lists the payment methods owned by the caller."
        },
        {
          "info": {
            "name": "Microsoft Azure Get Providers Microsoft Billing Paymentmethods Paymentmethodname",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/providers/Microsoft.Billing/paymentMethods/:paymentMethodName",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The version of the API to be used with the client request. The current version is 2021-10-01."
              },
              {
                "name": "paymentMethodName",
                "value": "",
                "type": "path",
                "description": "The ID that uniquely identifies a payment method."
              }
            ]
          },
          "docs": "Gets a payment method owned by the caller."
        },
        {
          "info": {
            "name": "Microsoft Azure Delete Providers Microsoft Billing Paymentmethods Paymentmethodname",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/providers/Microsoft.Billing/paymentMethods/:paymentMethodName",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The version of the API to be used with the client request. The current version is 2021-10-01."
              },
              {
                "name": "paymentMethodName",
                "value": "",
                "type": "path",
                "description": "The ID that uniquely identifies a payment method."
              }
            ]
          },
          "docs": "Deletes a payment method owned by the caller."
        },
        {
          "info": {
            "name": "Microsoft Azure Get Providers Microsoft Billing Billingaccounts Billingaccountname Paymentmethods",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/providers/Microsoft.Billing/billingAccounts/:billingAccountName/paymentMethods",
            "params": [
              {
                "name": "billingAccountName",
                "value": "",
                "type": "path",
                "description": "The ID that uniquely identifies a billing account."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The version of the API to be used with the client request. The current version is 2021-10-01."
              }
            ]
          },
          "docs": "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."
        },
        {
          "info": {
            "name": "Microsoft Azure Get Providers Microsoft Billing Billingaccounts Billingaccountname Paymentmethods Paymentmethodname",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/providers/Microsoft.Billing/billingAccounts/:billingAccountName/paymentMethods/:paymentMethodName",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The version of the API to be used with the client request. The current version is 2021-10-01."
              },
              {
                "name": "billingAccountName",
                "value": "",
                "type": "path",
                "description": "The ID that uniquely identifies a billing account."
              },
              {
                "name": "paymentMethodName",
                "value": "",
                "type": "path",
                "description": "The ID that uniquely identifies a payment method."
              }
            ]
          },
          "docs": "Gets a payment method available for a billing account. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement."
        },
        {
          "info": {
            "name": "Microsoft Azure Get Providers Microsoft Billing Billingaccounts Billingaccountname Billingprofiles Billingprofilename Paymentmethodlinks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingProfiles/:billingProfileName/paymentMethodLinks",
            "params": [
              {
                "name": "billingAccountName",
                "value": "",
                "type": "path",
                "description": "The ID that uniquely identifies a billing account."
              },
              {
                "name": "billingProfileName",
                "value": "",
                "type": "path",
                "description": "The ID that uniquely identifies a billing profile."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The version of the API to be used with the client request. The current version is 2021-10-01."
              }
            ]
          },
          "docs": "Lists payment methods attached to a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement."
        },
        {
          "info": {
            "name": "Microsoft Azure Get Providers Microsoft Billing Billingaccounts Billingaccountname Billingprofiles Billingprofilename Paymentmethodlinks Paymentmethodname",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingProfiles/:billingProfileName/paymentMethodLinks/:paymentMethodName",
            "params": [
              {
                "name": "billingAccountName",
                "value": "",
                "type": "path",
                "description": "The ID that uniquely identifies a billing account."
              },
              {
                "name": "billingProfileName",
                "value": "",
                "type": "path",
                "description": "The ID that uniquely identifies a billing profile."
              },
              {
                "name": "paymentMethodName",
                "value": "",
                "type": "path",
                "description": "The ID that uniquely identifies a payment method."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The version of the API to be used with the client request. The current version is 2021-10-01."
              }
            ]
          },
          "docs": "Gets a payment method linked with a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement."
        },
        {
          "info": {
            "name": "Microsoft Azure Delete Providers Microsoft Billing Billingaccounts Billingaccountname Billingprofiles Billingprofilename Paymentmethodlinks Paymentmethodname",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingProfiles/:billingProfileName/paymentMethodLinks/:paymentMethodName",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The version of the API to be used with the client request. The current version is 2021-10-01."
              },
              {
                "name": "billingAccountName",
                "value": "",
                "type": "path",
                "description": "The ID that uniquely identifies a billing account."
              },
              {
                "name": "billingProfileName",
                "value": "",
                "type": "path",
                "description": "The ID that uniquely identifies a billing profile."
              },
              {
                "name": "paymentMethodName",
                "value": "",
                "type": "path",
                "description": "The ID that uniquely identifies a payment method."
              }
            ]
          },
          "docs": "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."
        }
      ]
    }
  ],
  "bundled": true
}