Skip to main content

REST API

For server-side credential issuance without user presence, resolve the user and store an encrypted credential in DStorage:
  • Resolve user: POST /v1/auth/initialize-user
  • Store encrypted VC: POST /v1/dstorage/vcs
  • Sandbox: https://api.sandbox.mocachain.org/v1
  • Production: https://mocachain-mainnet.api.air3.com/v1
The production endpoint is for approved production partners on Moca Chain private Mainnet. See Production mainnet access before requesting mainnet $MOCA gas tokens.
Authenticate with a Partner JWT in the x-partner-auth header. Full endpoint reference and implementation examples: Issuance API Reference.

AirService

fieldsToDisclose is documented in Selective Disclosure.

Types