> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anyway.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Customers & Subscriptions

> Inspect customer purchase history and manage recurring customer subscriptions.

The **Customers** and **Subscriptions** pages under **Payment** describe commerce sold by
your organization.

## Customers

The Customers page lists the stable Anyway customer ID and normalized email for customers
derived from your organization's orders. Open a customer to review related orders and
subscriptions, then follow an item to its full detail view.

Customer records are created from commerce activity; this page is not a general-purpose
contact database and does not edit customer identity.

<Frame>
  <img src="https://mintcdn.com/anyway/2VVTFU_BTPgbm7OY/images/webapp/customers.png?fit=max&auto=format&n=2VVTFU_BTPgbm7OY&q=85&s=54a53756d6b98e3fb6979adcc61ae350" alt="Customers — list with per-customer order and subscription history" width="3024" height="1466" data-path="images/webapp/customers.png" />
</Frame>

## Subscriptions

The Subscriptions page lists recurring customer subscriptions and supports status
filtering. Open a subscription to inspect:

* status, customer, product, amount, currency, and billing interval;
* the current period end and whether cancellation is scheduled; and
* the initial payment plus later renewal orders.

Supported lifecycle statuses are `PENDING`, `ACTIVE`, `PAUSED`, `CANCELED`, `EXPIRED`,
and `ENDED`. Billing intervals can be daily, monthly, or yearly. Recurring checkout is
available for supported Card / USD pricing; Crypto payment links remain one-time.

<Frame>
  <img src="https://mintcdn.com/anyway/2VVTFU_BTPgbm7OY/images/webapp/subscriptions.png?fit=max&auto=format&n=2VVTFU_BTPgbm7OY&q=85&s=6850db7b5b5728c68c747830c54b21bf" alt="Subscriptions — recurring billing with interval, status, and period end" width="3024" height="1466" data-path="images/webapp/subscriptions.png" />
</Frame>

## Order relationships

| Order kind | `subscriptionId` | `originalOrderId` |
| - | - | - |
| One-time purchase | Not present | Not present |
| Initial subscription payment | Present | Not present |
| Subscription renewal | Present | Points to the initial order |

Use these relationships to distinguish one-time orders from initial and renewal charges
without relying on a payment-provider identifier.

## Schedule cancellation

Canceling from the Subscriptions page schedules cancellation at the end of the current
billing period. The subscription can remain active until `currentPeriodEnd`; the detail
shows that state through `cancelAtPeriodEnd`. Refreshes and Webhook updates reconcile the
record with the payment provider.

<CardGroup cols={2}>
  <Card title="Subscription API" icon="arrows-rotate" href="/api-reference/endpoint/list-subscriptions">
    Read subscription lifecycle and order relationship fields from your backend.
  </Card>

  <Card title="Customer API" icon="users" href="/api-reference/endpoint/list-customers">
    Read customer identities and use `customer_id` to filter related records.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.