Admin List Trials
/admin/trialsThe provider products the seller may mint trial keys of: each one a live product listing sells, with the longest a trial may last. With none, the first step of the store's trial setup that is missing. Fails with the provider's error when a connection's provider cannot list its products. A reseller may mint trials of those a live product listing they can see sells, while every policy of their chain allows trial and its quota is not used up; a trial lasts up to the product's maxMinutes, whatever the durations its listings sell.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/admin/trials"{ "offers": [ { "connectionId": "string", "productId": "string", "name": "string", "maxMinutes": 1 } ], "unavailable": "no-connection"}Admin List Purchases GET
The store's reseller purchases, newest first. Without membershipId, only those of the store's own resellers, which pay the store: a sub-reseller's order shows as its upline's resale purchase, at the upline's price. With status pending_approval, only those waiting for the store, not those waiting for an upline. totalMinor is what was ordered; chargedMinor is what it cost after releases of keys not minted.
Admin Mint Trial POST
Mints one free trial key of a product AdminListTrials lists for an active reseller, whose keys it joins, lasting `minutes` or, left out, the product's trial limit. The seller's own trial: the reseller's role, policy and trial quota do not apply, and nothing is charged.
