Adjust Balance
/admin/resellers/{membershipId}/adjustmentsCredits or debits the reseller's balance with the store. A sub-reseller's balance is with their upline, which records what they pay it: refused with 400 InvalidRequestError.
Path Parameters
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
-9007199254740991 <= value <= 9007199254740991Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/admin/resellers/string/adjustments" \ -H "Content-Type: application/json" \ -d '{ "amountMinor": -9007199254740991, "reason": "string" }'{ "id": "string", "kind": "topup", "amountMinor": -9007199254740991, "currency": "AED", "ref": "string", "memo": "string", "actor": "string", "actorName": "string", "createdAt": "string", "purchase": { "id": "string", "status": "pending_approval", "keys": -9007199254740991, "products": [ "string" ], "buyer": { "membershipId": "string", "displayName": "string" } }}Get Email Status GET
The store's latest emails to resellers and invitees, and whether the last one was skipped because the store has not granted the plugin emails:send.
Assign Top Up POST
Credits an unclaimed top-up to a reseller: its amountMinor and its bonusMinor on top. For a sub-reseller, every upline above it is credited the same, since the store took the payment that each level owes the one above. Only an unclaimed top-up can be assigned.
