Your store's APIApps referenceReseller finance
List Top Ups
GET
/admin/top-upsQuery Parameters
status?|null
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/admin/top-ups"[ { "id": "string", "orderId": "string", "variantId": "string", "customerEmail": "string", "units": 1, "amountMinor": 0, "bonusMinor": 0, "currency": "AED", "status": "credited", "membershipId": "string", "note": "string", "createdAt": "string", "resolvedAt": "string", "refundedAt": "string" }]List Store Variants GET
The store's live product variants, by product name, at most 100, those whose product or variant name holds `search` when it is given: what the seller picks a variant to sell credit through from.
Put Credit Variant PUT
Sells this variant as reseller credit: core is told this plugin delivers it, and each unit bought credits minorPerUnit to the buyer's balance. A unit is credited at minorPerUnit as it stands when core delivers the order, which may be after a change made since it was paid.
