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
.
Customer
resource represents the relationship between your Merchant
Organization
and a Consumer
Organization
that uses your Product
.
Consumer
(who holds a Wallet
and pays) to your Merchant
account.Usage Events
, you report them against a Customer
ID, allowing Paygentic to 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.Subscription
formalizes the agreement between a Customer
and a specific Plan
(and by inheritance, a Product
).
Customer
(representing the Consumer
Organization
) has agreed to pay for the Product
according to the rates defined in the Plan
.Subscription
links one Customer
to one Plan
.Subscriptions
are necessary for Paygentic to correctly process Usage Events
and apply the right Prices
.Customers
, Subscriptions
are usually created automatically during the Subscription Flow.Consumer
wants to use your Product
.Customer
relationship between your Merchant
and their Consumer
.Customer
agrees to a specific Plan
by creating a Subscription
.Subscription
allows the Merchant
to report Usage Events
for that Customer
, which are then billed according to the Plan
’s Prices
against the Consumer
’s Wallet
.Customers
and Subscriptions
.
1. Generate Authorization Link
Plan
.POST v0/customers/authorization
) or the “Generate Authorization Link” button on the Plan
details page in the Paygentic Merchant Dashboard.planId
and your merchantId
.https://platform.paygentic.io/authorize/...
) representing a pending authorization session.2. Redirect Consumer to Link
3. Paygentic Checkout
Consumer
account, they will be prompted to confirm the subscription to the specified Plan
.Consumer
Organization
and User
account, and adding a payment method to top up their Wallet
before confirming the subscription.Product
and Plan
details (name
, description
) you defined.4. Resource Creation
Customer
resource linking your Merchant
Organization
to the Consumer
Organization
(if one didn’t already exist for this Consumer).Subscription
resource linking the Customer
to the chosen Plan
.active
.5. Ready for Usage
Customer
is now successfully subscribed to your Plan
, and you can begin reporting Usage Events against their customerId
.Customers
subscribed, you can now create Entitlements (optional) and report consumption via Usage Events.