Records a purchase event and triggers commission calculation for the buyer’s upline. Commissions are created based on the tenant’s commission rules and the compressed upline.
Tenant API key for authentication. Keys are scoped to specific environments (LIVE or SANDBOX). Obtain keys from the admin dashboard.
Optional idempotency key to safely retry the same purchase event. Use a stable identifier (for example an order ID) to prevent duplicate commission creation.
255The buyer's user ID
Purchase amount in the specified currency
x >= 0.01ISO 4217 currency code. If omitted, the tenant base currency is used.
Optional upstream payment provider transaction identifier (for audit/reconciliation)
Additional metadata to store with the event and downstream commission ledger entries