Audited route registry
The endpoint list below is generated from the existing typed documentation registry and validated against implemented server sources.
Separate reseller operations using the implemented member-based workflow.
The endpoint list below is generated from the existing typed documentation registry and validated against implemented server sources.
Authentication, route prefix, request fields, response shape, and permissions remain separate from the other API products.
Reseller API
Authenticated portal API for approved reseller organizations managing profile, reseller relationship records, approvals, payment methods, payout rules, and OTP flows.
Authentication: Existing authenticated SparkGlim session via requireAuth. This is not HMAC white-label v1 authentication.
/api/white-label/portal/resellerLoads reseller console data for the signed-in user.
/api/white-label/portal/reseller/profileUpdates reseller profile settings such as status, risk level, approval requirements, public signup, and settings.
/api/white-label/portal/reseller/membersAdds the member through the SparkGlim creator team flow, then stores the white-label reseller relationship link.
/api/white-label/portal/reseller/members/:memberIdPartially updates the white-label reseller relationship and syncs the linked SparkGlim creator team member where applicable.
/api/white-label/portal/reseller/approval-requestsCreates a reseller approval request for implemented entities such as member, campaign, withdrawal, payout, payment_method, ussd, provider, or setting.
/api/white-label/portal/reseller/otp/sendCreates a reseller OTP challenge for login, signup, withdrawal approval, payment method verification, or campaign approval.