Alfin
WorkCase StudiesExperienceAboutContact
Resume

Alfin

Full Stack Developer

WorkCase StudiesExperienceAboutContact

© 2026 Alfin. Built with Next.js.

API Reference

Goldlane Backend — API Docs

Live reference for the Goldlane REST API — authentication, KYC, wallets, Xendit payments, coal trading, and mining land e-commerce.

Base URL: https://api.example.comNode.jsExpress 4MongoDB + MongooseSocket.IOBullMQ (Redis)JWT

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.

Endpoints

AuthKYCEconomy ProfileUserMemberProfileDashboardRolePermissionActivity LogWebhookVirtual AccountTest PayQrisWithdrawDepositWalletSystem WalletReferral CommissionProductsMarketsPrice HistoryTradesOrdersMining LandTransactionsPaymentsNotificationLegal DocReports
01

Auth

(9)

Authentication, email verification, OTP, and password recovery.

02

KYC

(10)

Document upload and verification (KTP / Passport) for member trust.

03

Economy Profile

(10)

User economic profile, employment status, and trading experience.

04

User

(8)

Admin user management with role, KYC, and date filters.

05

Member

(6)

Member management, referral codes, and IB levels.

06

Profile

(4)

Endpoints for the authenticated user's own profile.

07

Dashboard

(2)

Aggregated dashboards for admins and users.

08

Role

(4)

Role management and assignment.

09

Permission

(4)

Role-based permissions management.

10

Activity Log

(1)

Audit trail of system activity.

11

Webhook

(4)

Xendit payment callbacks — FVA, withdrawals, payouts, and QRIS pay-in.

12

Virtual Account

(8)

Virtual account deposits via BCA, BNI, BRI, BJB, BSI, CIMB, Mandiri, and Permata.

13

Test Pay

(1)

Simulate a virtual account payment (Xendit sandbox).

14

Qris

(2)

QRIS deposit creation and top-up.

15

Withdraw

(6)

Withdrawal requests, completions, and rejections.

16

Deposit

(7)

Deposit requests, approvals, and history.

17

Wallet

(4)

User wallet balances and transaction history.

18

System Wallet

(2)

Platform-controlled wallet endpoints.

19

Referral Commission

(2)

Referral earnings and history.

20

Products

(4)

Coal product catalog management.

21

Markets

(5)

Tradable markets and price references.

22

Price History

(3)

Historical market price data.

23

Trades

(8)

Open, manage, and close commodity positions.

24

Orders

(8)

Product and mining land orders with a full status lifecycle.

25

Mining Land

(5)

Mining land listings management.

26

Transactions

(2)

Cross-domain transaction ledger.

27

Payments

(6)

Payment records and approvals.

28

Notification

(6)

User notifications and read states.

29

Legal Doc

(6)

Legal document upload, access requests, and secure streaming.

30

Reports

(1)

Financial reports.