Product
and how to price it using Plans
and Prices
, the next step is to connect your offering with the end-users who will consume it. This is managed through Customers
and Subscriptions
.
Customers
ACustomer
resource represents the relationship between your Merchant
Organization
and a Consumer
Organization
that uses your Product
.
A customer connects a specific consumer (who holds a wallet and pays) to your merchant account. When you report usage events against a customer ID, Paygentic can identify the correct consumer wallet to bill and the correct merchant wallet to credit. Customer resources are typically created automatically as part of the Subscription Flow.
Subscriptions
ASubscription
formalizes the agreement between a Customer
and a specific Plan
(and by inheritance, a Product
).
A subscription signifies that the customer (representing the consumer organization) has agreed to pay for the product according to the rates defined in the plan. Each subscription links one customer to one plan, and active subscriptions are necessary for Paygentic to correctly process usage events and apply the right prices. Like customers, subscriptions are usually created automatically during the Subscription Flow.
Essentially:
- A
Consumer
wants to use yourProduct
. - You establish a
Customer
relationship between yourMerchant
and theirConsumer
. - The
Customer
agrees to a specificPlan
by creating aSubscription
. - The
Subscription
allows theMerchant
to reportUsage Events
for thatCustomer
, which are then billed according to thePlan
’sPrices
against theConsumer
’sWallet
.
Creating Customers and Subscriptions
Paygentic provides two approaches for creating customer relationships and subscriptions:Authorization Flow
Generate an authorization link for consumers to complete their own signup. This creates full consumer accounts with direct platform access, wallet management capabilities, and support for all billing models (prepaid, postpaid, pay-as-you-go). Consumers maintain control over their payment methods and can manage subscriptions across multiple merchants.API-Driven Creation
Directly create customers via API with consumer details. This creates managed consumers that you control, ideal for streamlined onboarding without requiring consumer signup. Currently supports postpaid billing only, with prepaid capabilities coming soon. Managed consumers access their subscription details through portal links you provide. For detailed implementation guides, code examples, and step-by-step instructions for both approaches, see the Customer Lifecycle documentation. WithCustomers
subscribed, you can now create Entitlements (optional) and report consumption via Usage Events.