View a markdown version of this page

Customer management - AWS App Monetization

Customer management

The Customer management view lists your customers who have subscribed to an application's plans. A customer appears in the view after they subscribe to a plan. Customers can also appear on your free plan without checking out, because the first entitlement check for a customer can subscribe them to it.

You can work with your customers in the console, with the AWS App Monetization skill, or through the REST API or the AWS SDKs.

For each customer, the view shows the following:

  • User ID – The customer's user ID.

  • Plan – The plan the customer subscribes to. While a cancellation is scheduled, the view shows Canceling.

  • MRR – The price of the plan in effect for the customer. For a customer on an annual plan, the view shows the annual price. While a cancellation is scheduled, MRR still reflects the plan in effect. After the cancellation takes effect, MRR is $0.

  • Joined – The date of the customer's first subscription.

Sandbox shows your test customers and subscriptions. Live shows your real customers and subscriptions.

You can export the customer list to a CSV file.

Change and cancel subscriptions

Customers change their own plan through the buyer portal. Your application can also change a customer's plan with the CreateSubscriptionCheckoutSession API operation. For more information, see Hosted pricing and checkout pages. As the seller, you can cancel your customer's subscriptions.

Each subscription's billing period is anchored to the date of the customer's first subscription. AWS App Monetization charges the subscription fee at the start of each billing period, monthly or annually. At the end of each billing period, any pending change takes effect and the customer's usage quotas reset. On an annual plan, quotas reset once a year.

When a customer upgrades, the change takes effect immediately. An upgrade includes moving to a longer billing cycle, such as from monthly to annual. AWS App Monetization charges a prorated amount at the time of the change, and the billing period resets to the date of the change.

When a customer downgrades, the change takes effect at the end of the current billing period. Nothing is due at the time of the change.

A cancellation takes effect at the end of the current billing period. Until then, the subscription stays active and shows the cancellation as a pending change. Canceling a subscription that's already canceled, or that already has a cancellation scheduled, returns its current state.

Warning

Canceling a subscription stops its automatic renewal. The customer keeps access until the end of the current billing cycle, and the subscription is not renewed. You can't undo this action. To continue, the customer must subscribe again.

Manage subscriptions with the API

You can read and cancel subscriptions with the following API operations. Each operation takes a scope of live or sandbox.

  • ListSubscriptions – Lists your app's subscriptions, up to 100 for each page. Each item reflects the customer's latest subscription record. While a plan change is scheduled, the item shows the plan that the subscription moves to. While a cancellation is scheduled, or after it takes effect, the item has no plan. To get the plan in effect, call GetSubscription.

  • GetSubscription – Returns a customer's current subscription, any pending change, and when the current billing period ends.

  • GetSubscriptionHistory – Returns a customer's past subscription records, optionally within a time range.

  • CancelSubscription – Cancels a customer's subscription at the end of the current billing period. Pass the subscription's current effective time, from GetSubscription, as a concurrency check. If the subscription has a pending change, pass pendingChange.effectiveAt. Otherwise, pass subscription.effectiveAt. If the subscription changed since you read it, the request fails with a ConflictException. Call GetSubscription again, and retry with the new value.