API Reference
Live reference for the Goldlane REST API — authentication, KYC, wallets, Xendit payments, coal trading, and mining land e-commerce.
All paths below include the /api prefix. Protected endpoints require an Authorization: Bearer <JWT> header — obtain a token via POST /api/auth/login. Click any operation to view its parameters, request body, and response codes.
Authentication, email verification, OTP, and password recovery.
Document upload and verification (KTP / Passport) for member trust.
User economic profile, employment status, and trading experience.
Admin user management with role, KYC, and date filters.
Member management, referral codes, and IB levels.
Endpoints for the authenticated user's own profile.
Aggregated dashboards for admins and users.
Role management and assignment.
Role-based permissions management.
Audit trail of system activity.
Xendit payment callbacks — FVA, withdrawals, payouts, and QRIS pay-in.
Virtual account deposits via BCA, BNI, BRI, BJB, BSI, CIMB, Mandiri, and Permata.
Simulate a virtual account payment (Xendit sandbox).
QRIS deposit creation and top-up.
Withdrawal requests, completions, and rejections.
Deposit requests, approvals, and history.
User wallet balances and transaction history.
Platform-controlled wallet endpoints.
Referral earnings and history.
Coal product catalog management.
Tradable markets and price references.
Historical market price data.
Open, manage, and close commodity positions.
Product and mining land orders with a full status lifecycle.
Mining land listings management.
Cross-domain transaction ledger.
Payment records and approvals.
User notifications and read states.
Legal document upload, access requests, and secure streaming.
Financial reports.