Each service owns a bounded domain and exposes a focused set of endpoints. All services share common authentication, error handling, and pagination patterns.
Authentication & SSO
svc-auth
Unified OAuth2 Identity Provider with PKCE, session management, 15-minute access tokens with 7-day rotating refresh tokens, and multi-context account switching.
AuthPublic (login) / JWT Bearer
Key EndpointsPOST/auth/login— Authenticate and receive JWT tokensPOST/auth/refresh— Rotate refresh token and get new access tokenPOST/auth/logout— Revoke sessionGET/auth/sessions— List active sessionsGET/auth/contexts— Account context selectorGET/oauth/authorize— OAuth2 PKCE authorizationPOST/oauth/token— Exchange authorization code
Privacy-preserving identity verification with document upload, multi-step KYC workflows, face verification, and attribute-based queries without exposing personal data.
Key EndpointsPOST/kyc/documents— Upload identity documentsGET/kyc/status/:profileId— Check KYC verification statusPOST/kyc/face-verification— Biometric face checkGET/kyc/verify-attribute— Privacy-preserving attribute query
Tokenomics & Payments
svc-tokenomics
CoreCore value transfer layer. Execute GX transfers, query wallet balances, retrieve transaction histories, and manage genesis distribution — all with CQRS async processing and idempotency guarantees.
Key EndpointsPOST/transfers— Execute GX transfer (async CQRS)GET/wallets/:profileId/balance— Query wallet balanceGET/wallets/:profileId/transactions— Transaction history with paginationPOST/genesis— Genesis allocation distributionGET/treasury/:countryCode/balance— Country treasury balance
Government Treasury
svc-government
PublicSovereign treasury management with public transparency endpoints. No authentication required for public data — treasury balances, disbursement histories, and economic statistics by country.
AuthPublic (read) / JWT Bearer (write)
Key EndpointsGET/public/treasuries— List all active government treasuriesGET/public/treasuries/:countryCode— Treasury overview by countryGET/public/treasuries/:countryCode/disbursements— Disbursement historyGET/public/treasuries/:countryCode/statistics— Economic statisticsPOST/api-credentials/treasury/:id— Generate API credentials
On-chain governance for protocol evolution. Submit proposals, cast votes programmatically, and execute approved changes. Public read access to all active proposals and voting results.
AuthPublic (read) / JWT Bearer (write)
Key EndpointsGET/proposals— List active governance proposalsGET/proposals/:proposalId— Proposal details and vote tallyPOST/proposals— Submit new proposal (verified participants)POST/proposals/:proposalId/vote— Cast votePOST/proposals/:proposalId/execute— Execute approved proposal (admin)
Lending & Capital
svc-loanpool
Interest-free loan pool with credit-score-driven eligibility. Loan applications, multi-step approval workflows, repayment tracking, and borrower history — integrated with the 6-component credit scoring engine.
Key EndpointsPOST/loans— Apply for interest-free loanGET/loans/:loanId— Loan details and statusPOST/loans/:loanId/approve— Approve loan applicationGET/users/:borrowerId/loans— Borrower loan history
Organizations & Multi-Sig
svc-organization
Multi-signature institutional accounts with configurable authorization rules. Propose organizations, endorse membership, define signing thresholds, and execute multi-party transactions with three-eyes-minimum approval.
Key EndpointsPOST/organizations— Propose new multi-sig organizationPOST/organizations/:orgId/endorse— Endorse membershipPOST/organizations/:orgId/activate— Activate organizationPOST/organizations/:orgId/rules— Define authorization rulesPOST/organizations/:orgId/transactions— Initiate multi-sig transactionPOST/transactions/:pendingTxId/approve— Approve pending transaction
Credit Scoring & Trust
svc-trust
Dynamic credit scoring with 6 weighted components (trust, transactions, repayment, KYC, account maturity, velocity compliance). Consent-driven data sharing with FSPs, dispute resolution, and admin-configurable scoring parameters.
Key EndpointsGET/credit-score/:participantId— Score summary and tierGET/credit-score/:participantId/breakdown— 6-component breakdownGET/credit-score/:participantId/history— Score history and trendsPOST/credit-score/consent/grant— Grant FSP data accessPOST/credit-score/consent/revoke— Revoke consent immediatelyPOST/credit-score/disputes— File score disputePOST/credit-score/disputes/:id/resolve— Admin resolves dispute