API Reference

Base URL is versioned under /api/v1. All writes require an Idempotency-Key.

Auth

POST/api/v1/oauth/tokenOAuth2 client-credentials → JWT

Wallets

POST/api/v1/walletsCreate a sponsored wallet (idempotent)
GET/api/v1/wallets/{id}Get a wallet
GET/api/v1/wallets/{id}/balancesRebuildable balance read-model

Assets & loyalty

POST/api/v1/assetsCreate an asset
POST/api/v1/assets/{id}/activateActivate
POST/api/v1/assets/{id}/issueIssue
POST/api/v1/assets/{id}/transferTransfer
POST/api/v1/assets/{id}/redeemRedeem
POST/api/v1/assets/{id}/earnEarn via rules engine

Transactions

GET/api/v1/transactions/{id}Get a transaction
POST/api/v1/transactions/{id}/compensateBusiness reversal (maker-checker over threshold)

Stablecoins (flag-gated, OFF by default)

Disabled until PayChain readiness gates pass — see the Admin portal › Readiness.

POST/api/v1/stablecoinsCreate (control plane)
POST/api/v1/stablecoins/{id}/mint-requestsMint saga (reserve-confirm first)
POST/api/v1/stablecoins/{id}/redemptionsRedemption saga (burn after payout)
POST/api/v1/conversions/quoteLoyalty→stablecoin quote

Webhooks & health

POST/api/v1/webhooksRegister an endpoint (secret returned once)
GET/api/v1/healthLiveness
GET/api/v1/health/blockchainStellar provider health