Token Platform
  • Getting started
  • Fundamentals
    • Developer portal
    • Organizations
    • Developer apps
    • Authentication
    • Rate limits
  • Notarization APIs
    • Stamp API
    • Anchoring API
    • Common endpoints
  • Storage services
    • IPFS Web Gateway
    • IPFS Storage & Pinning Service
      • API reference
  • Streams API
    • API reference
  • SSI
    • Introduction
    • Architecture
    • API reference
  • Other
    • cli snippets
  • Legal
    • Privacy Policy
Powered by GitBook
On this page
  • Create a local did for the wallet (User)
  • Create a new connection invitation (Municipality)
  • Send a schema to the ledger
  • Send a credential definition to the ledger
  • Receive a new connection invitation(User)
  • Send Issuer a credential proposal

Was this helpful?

  1. SSI

API reference

API endpoints

PreviousArchitectureNextcli snippets

Last updated 3 years ago

Was this helpful?

Create a local did for the wallet (User)

POST: /wallet/did/create (Create a local DID)

Parameters: No parameters

Response

Create a new connection invitation (Municipality)

POST: /connections/create-invitation (Create a new connection invitation)

Parameters

Response

Send a schema to the ledger

POST: /schemas (Sends a schema to the ledger)

Parameters

Response

Send a credential definition to the ledger

POST: /credential-definitions (Sends a credential definition to the ledger)

Parameters

Response

Receive a new connection invitation(User)

POST: /connections/receive-invitation (Receive a new connection invitation)

Parameters

Response

Send Issuer a credential proposal

POST: /issue-credential/send-proposal (Send issuer a credential proposal)

Parameters

Response

Did example

{
    "result": {
    "did": "YVJfCH2gPuK3H1qTrZdm8t",
    "verkey": "JAQ5tQnaEoroWesuvmbD4euji6pC6dq8vbw29RTSs45P",
    "posture": "wallet_only" }
}

Schema example

{
    "schema_id": "V4SGRU86Z58d6TV7PBUe6f:2:identification:1.0",
    "schema": {
        "ver": "1.0",
        “id”: "V4SGRU86Z58d6TV7PBUe6f:2:identification:1.0",
        “name": "identification”,
        “version": "1.0”,
        “attrNames”: [
        “name”,
        “surname”,
        “fathersname”,
        “mothersname”,
        “motherssurname”,
        “dateofbirth”,
        “placeofbirth”,
        “registeredcitizen”
    ],
    "seqNo": 9
    }
}