API product

White Label Reseller API

Separate reseller operations using the implemented member-based workflow.

Audited route registry

The endpoint list below is generated from the existing typed documentation registry and validated against implemented server sources.

Product-specific contract

Authentication, route prefix, request fields, response shape, and permissions remain separate from the other API products.

Reseller API

Implemented endpoints

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.

GET/api/white-label/portal/reseller

Load reseller console

Loads reseller console data for the signed-in user.

Authenticated SparkGlim sessionSuccess: 200
PATCH/api/white-label/portal/reseller/profile

Update reseller profile

Updates reseller profile settings such as status, risk level, approval requirements, public signup, and settings.

Authenticated SparkGlim sessionSuccess: 200
POST/api/white-label/portal/reseller/members

Create reseller relationship record

Adds the member through the SparkGlim creator team flow, then stores the white-label reseller relationship link.

Authenticated SparkGlim sessionSuccess: 201
PATCH/api/white-label/portal/reseller/members/:memberId

Update reseller relationship record

Partially updates the white-label reseller relationship and syncs the linked SparkGlim creator team member where applicable.

Authenticated SparkGlim sessionSuccess: 200
POST/api/white-label/portal/reseller/approval-requests

Create approval request

Creates a reseller approval request for implemented entities such as member, campaign, withdrawal, payout, payment_method, ussd, provider, or setting.

Authenticated SparkGlim sessionSuccess: 201
POST/api/white-label/portal/reseller/otp/send

Send reseller OTP

Creates a reseller OTP challenge for login, signup, withdrawal approval, payment method verification, or campaign approval.

Authenticated SparkGlim sessionSuccess: 201

Continue exploring Developer

Return to SparkGlim