Add, update, or delete a payment method

This article applies to customers who signed up for Azure online by using a credit card.

In the Azure portal, you can change your default payment method to a new credit card and update your credit card details. You can also delete a payment method that you use to pay for an Azure subscription. To make these changes, you need these credentials:

The supported payment methods for Azure are credit cards, debit cards, and wire transfer.

If you get an error after you add a credit card, see Troubleshoot a declined card.

Manage pay-as-you-go credit cards

The following sections apply to customers who have a Microsoft Online Subscription Program billing account. You can check your billing account type. If your billing account type is Microsoft Online Subscription Program, payment methods are associated with individual Azure subscriptions.

Change the credit card for all subscriptions by adding a new credit card

You can change the default credit card for your Azure subscription to a new card or a previously saved card in the Azure portal. You must be the account administrator to change the credit card.

If multiple subscriptions have the same active payment method, changing the default payment method on any of the subscriptions also updates the active payment method for the others.

To change your subscription's default credit card to a new one:

  1. Sign in to the Azure portal as the account administrator.

  2. Search for and select Cost Management + Billing.

    Screenshot that shows a search for Cost Management and Billing in the Azure portal.

  3. Select the subscription where you want to add the credit card.

  4. Select Payment methods.

    Screenshot that shows the pane for managing payment methods.

  5. In the upper-left corner, select Add payment method. A form for adding a credit card appears.

  6. Enter details for the credit card.

    Screenshot that shows the pane for adding credit card details.

  7. To make this card your default payment method, select Make this my default payment method. This card becomes the active payment instrument for all subscriptions that use the same card as the selected subscription.

  8. Select Next.

Replace the credit card for a subscription to a previously saved credit card

You can replace a subscription's default credit card to one that's already saved to your account by using the following steps. This procedure changes the credit card for all other subscriptions.

  1. Sign in to the Azure portal as the account administrator.

  2. Search for and select Cost Management + Billing.

    Screenshot that shows a search for Cost Management and Billing.

  3. Select the subscription where you want to add the credit card.

  4. Select Payment methods.

    Screenshot that shows the portal pane for managing payment methods.

  5. Select Replace to change the current credit card.

    Screenshot that shows the button for replacing a credit card.

  6. On the Replace default payment method pane, select a credit card to replace the default one, and then select Next.

    Screenshot that shows the pane for replacing the default payment method.

  7. After a few moments, you get a confirmation that you changed your payment method.

Edit credit card details

If your credit card is renewed and the number stays the same, use the following steps to update the existing card details (like the expiration date). If your credit card number changes because the card is lost, stolen, or expired, follow the steps in the Add a credit card as a payment method section. You don't need to update the CVV.

  1. Sign in to the Azure portal as the account administrator.

  2. Search for and select Cost Management + Billing.

    Screenshot of a search for Cost Management and Billing.

  3. Select Payment methods.

    Screenshot of the pane for managing payment methods.

  4. For the credit card that you want to edit, select the ellipsis (...) at the end of the row. Then select Edit.

    Screenshot that shows the Edit command for a credit card.

  5. Update the credit card details.

    Screenshot of the pane for editing a payment method.

  6. Select Next.

Manage Microsoft Customer Agreement credit cards

The following sections apply to customers who have a Microsoft Customer Agreement and who signed up for Azure online by using a credit card. To check if you have a Microsoft Customer Agreement, see Check the type of your account later in this article.

If you have a Microsoft Customer Agreement, your credit card is associated with a billing profile. To change the payment method for a billing profile, one of these conditions must apply:

Change the default credit card

  1. Sign in to the Azure portal.

  2. Search for and select Cost Management + Billing.

  3. On the left menu, select Billing profiles.

  4. Select a billing profile.

  5. On the left menu, select Payment methods.

    Screenshot that shows the pane for viewing payment methods in the Azure portal.

  6. In the Default payment method section, select Replace.

    Screenshot that shows the Replace option.

  7. On the Replace default payment method pane, either select an existing card from the dropdown list or add a new one by selecting the blue Add payment method link.

Edit a credit card

You can edit credit card details (such as updating the expiration date) in the Azure portal:

  1. Sign in to the Azure portal.

  2. Search for and select Cost Management + Billing.

  3. On the left menu, select Billing profiles.

  4. Select a billing profile.

  5. On the left menu, select Payment methods.

    Screenshot that shows the pane for viewing payment methods.

  6. In the Your credit cards section, find the credit card that you want to edit.

  7. Select the ellipsis (...) at the end of the row.

    Screenshot that shows the ellipsis for actions related to a credit card.

  8. To edit your credit card details, select Edit from the menu.

Delete an Azure billing payment method

The following information helps you delete a payment method, like a credit card, from these types of Azure subscriptions:

  • Microsoft Customer Agreement
  • Microsoft Online Subscription Program (pay-as-you-go)

Whatever your Azure subscription type, you must cancel it to delete its associated payment method.

Removing a payment method for other Azure subscription types, like Microsoft Partner Agreement and Enterprise Agreement, isn't supported.

Delete a Microsoft Customer Agreement payment method

Only the user who created the Microsoft Customer Agreement account can delete a payment method.

To delete a payment method for a Microsoft Customer Agreement:

  1. Sign in to the Azure portal.

  2. Search for and select Cost Management + Billing.

  3. If necessary, select a billing scope.

  4. On the left menu, under Billing, select Billing profiles.

    Example screenshot that shows selecting the resource for billing profiles in the Azure portal.

  5. In the list of billing profiles, select the profile that's using the payment method.

    Example screenshot of the pane that lists billing profiles.

  6. On the left menu, under Settings, select Payment methods.

  7. A table of payment methods appears under Your Credit Cards. Find the credit card that you want to delete, select the ellipsis (...), and then select Delete.

    Example screenshot that shows selections for deleting a credit card.

  8. The Delete a payment method pane appears. Azure checks if the payment method is in use:

    • If the payment method isn't in use, the Delete option is available. Select it to delete the credit card information.
    • If the payment method is in use, it must be replaced or detached. Continue reading the following sections. They explain how to detach the payment method.

Detach a Microsoft Customer Agreement payment method

If a Microsoft Customer Agreement billing profile is using your payment method, the following message appears.

Example screenshot showing that a Microsoft Customer Agreement account is using a payment method.

To detach a payment method, you must meet a list of conditions. If you don't meet a condition, the following information appears:

  • Instructions on how to meet the condition.
  • A link that takes you to the location where you can resolve the problem.

When you fully satisfy all the conditions, you can detach the payment method from the billing profile.

Note

When you detach the default payment method, the billing profile enters an inactive state. Anything deleted in this process can't be recovered. After a billing profile becomes inactive, you must sign up for a new Azure subscription to create new resources.

Detach payment method errors

If you're having problems trying to detach (remove) a payment method, one of the following reasons is likely the cause.

Outstanding charges

Outstanding (past-due) charges prevent you from detaching your payment method.

To view your outstanding charges:

  1. Sign in to the Azure portal.

  2. Search for and select Cost Management + Billing.

  3. Select your billing account.

  4. Under Billing, select Invoices.

  5. In the list of invoices, view the Status information. You must pay invoices that have a Past Due status.

    Screenshot that shows past-due invoices.

After you pay outstanding charges, you can detach your payment method.

Recurring charges set to automatically renew

Recurring charges prevent you from detaching your payment method. Examples of recurring charges include:

  • Azure support agreements.
  • Active Azure subscriptions.
  • Reservations set to automatically renew.
  • Savings plans set to automatically renew.

To stop recurring charges from automatically renewing:

  1. Sign in to the Azure portal.

  2. Search for and select Cost Management + Billing.

  3. Select your billing account.

  4. Under Billing, select Recurring charges.

  5. On the Recurring charges pane, select a charge, select the ellipsis (...) on the right side of the row, and then select Cancel.

    Screenshot that shows the pane for recurring charges.

After you remove all recurring charges, you can detach your payment method.

Pending charges

You can't detach your payment method if there are any pending charges. Here's a typical example of pending charges:

  1. A billing cycle begins on June 1.
  2. You use Azure services from June 1 to June 10.
  3. You cancel your subscription on June 10.
  4. You pay your invoice on June 12 for the month of May and are paid in full. However, you still have pending charges for June 1 to June 10.

In this example, you aren't billed for your June usage until the following month (August). So, you can't detach your payment method until you pay the invoice for June, which isn't available until August.

To view pending charges:

  1. Sign in to the Azure portal.

  2. Search for and select Cost Management + Billing.

  3. Select your billing account.

  4. Under Billing, select Invoices.

  5. On the Invoices pane, check for charges that appear with a Due on date status. These items are pending charges.

    Screenshot of invoices that have pending charges.

After you pay all pending charges, you can detach your payment method.

Steps for detaching a payment method

  1. In the Azure portal, go to Cost Management + Billing > Billing profiles > Payment methods > Delete a payment method. Then select the Detach the current payment method link.

  2. If you meet all conditions, select Detach. Otherwise, continue to the next step.

  3. If Detach is unavailable, a list of unmet conditions appears in the Detach the default payment method area, along with the actions that you need to take to correct them.

    Example screenshot that shows a corrective action needed to detach a payment method for a Microsoft Customer Agreement account.

  4. For each unmet condition, select the link. The link directs you to the Azure portal area where you can take the corrective action. Complete all corrective actions.

  5. Go back to Cost Management + Billing > Billing profiles > Payment methods. Select Detach. At the bottom of the Detach the default payment method pane, select Detach.

Note

You can detach a payment method only after you settle all previous charges for a billing profile. If you're in an active billing period, you must wait until the end of the billing period to detach your payment method. Ensure that you meet all other detach conditions while you wait for your billing period to end.

Delete a Microsoft Online Subscription Program payment method

You must be an account administrator to delete a Microsoft Online Subscription Program (pay-as-you-go) payment method.

If a subscription is using your payment method, take the following steps:

  1. Sign in to the Azure portal.

  2. Search for and select Cost Management + Billing.

  3. If necessary, select a billing scope.

  4. On the left menu, under Billing, select Payment methods.

  5. On the Payment methods pane, select the ellipsis (...) next to the row for the payment method, and then select Delete.

    Example screenshot that shows selections for deleting a payment method for a Microsoft Online Subscription Program account.

  6. On the Delete a payment method pane, select Delete if you meet all conditions. Otherwise, continue to the next step.

  7. If Delete is unavailable, a list of unmet conditions appears, along with the actions that you need to take to correct them.

    Example screenshot that shows that a pay-as-you-go subscription is using a payment method.

  8. For each unmet condition, select the link. The link directs you to the Azure portal area where you can take the corrective action. Complete all corrective actions.

  9. Go back to Cost Management + Billing > Billing profiles > Payment methods and delete the payment method.

After you cancel a subscription, it can take up to 90 days for the subscription to be deleted.

Check the type of your account

  1. Sign in to the Azure portal.

  2. Search on Cost Management + Billing.

    Screenshot that shows an Azure portal search for Cost Management + Billing.

  3. If you have access to just one billing scope, select Properties from the left-hand side.

    Screenshot that shows microsoft customer agreement in properties page

    The Billing account type on the properties page determines the type of your account. It can be Microsoft Online Service Program, Enterprise Agreement, Microsoft Customer Agreement, or Microsoft Partner Agreement. To learn more about the type of billing accounts, see View your billing accounts in Azure portal.

  4. If you have access to multiple billing scopes, check the type in the Billing account type column.

    Screenshot that shows microsoft customer agreement in billing account list page

Frequently asked questions

The following sections answer commonly asked questions about changing your credit card information.

Why do I keep getting a "session has expired" error message?

If you already tried signing out and back in, yet you're still getting an error message that says your session has expired, try using a private browsing session.

How do I use a different card for each subscription?

If you specify a new credit card during the process of creating a subscription, no other subscriptions are associated with that credit card. You can add multiple new subscriptions, each with a unique credit card. However, if you later make any of the following changes, all subscriptions use the selected payment method:

  • Make a payment method active by using the Set active option.
  • Use the Replace payment option for any subscription.
  • Change the default payment method.

How do I make payments?

If you set up a credit card as your payment method, we automatically charge your card after each billing period. You don't need to do anything.

How do I change the tax ID?

To add or update a tax ID, update your profile in the Azure portal, and then select Tax record. The tax ID is used for tax exemption calculations and appears on your invoice.

Need help? Contact us.

If you have questions or need help, create a support request.