We have enhanced the existing subscription document by introducing metered billing support. This will accommodate various B2B and B2C use cases, such as billing based on number of locations, transactions, or API calls.
The system will process data submitted by merchants (through either the console or API calls) and generate appropriate invoices.
XPay currently offers only per-unit pricing support, meaning that during payment, customers are charged solely based on the plan amount.
The current plan charge model uses the default price of the plan plus any added products. We will continue using this as the default for B2C use cases while adding support for different charge
types.
Merchants will be able to add charge models and select meter(s), allowing them to offer various services and charge models within a single plan.