Reference

API Endpoints

Sessions

MethodEndpointDescription
POST/api/marketplace/mpp/sessionCreate a new XLM-funded MPP marketplace session
POST/api/marketplace/mpp/session/activateActivate after on-chain funding is confirmed
POST/api/marketplace/mpp/session/withdrawWithdraw the remaining XLM balance back to the session owner

Agent

MethodEndpointDescription
POST/api/agentSend a message to the budget-aware agent (streaming response)

Remittance

MethodEndpointPriceDescription
GET/api/marketplace/remittance/fx0.005 XLMFX quote with SDEX comparison
GET/api/marketplace/remittance/fees0.005 XLMFee estimate
POST/api/marketplace/remittance/buildFreeBuild unsigned transfer XDR
POST/api/marketplace/remittance/executeFreeSubmit user-signed transfer

Portfolio

MethodEndpointPriceDescription
POST/api/marketplace/portfolio/report0.165 XLMFull report (risk, stress, VaR, Monte Carlo, rebalance)
POST/api/marketplace/portfolio/pretrade0.165 XLMPre-trade approval gate
POST/api/marketplace/portfolio/risk0.005 XLMRisk analysis
POST/api/marketplace/portfolio/stress0.005 XLMStress test
POST/api/marketplace/portfolio/macro0.005 XLMMacro overlay
POST/api/marketplace/portfolio/rebalance0.005 XLMRebalance suggestions

Verification

MethodEndpointDescription
POST/api/verify/proofGenerate an SP1 FX selection proof
GET/api/verify/purchase-proof/:idRetrieve a stored purchase proof by ID

Wallet

MethodEndpointDescription
GET/api/walletQuery wallet XLM balance and status
POST/api/wallet/challengeRequest a wallet auth challenge
POST/api/wallet/verifyVerify a signed challenge