v1

latestOpenAPI 3.1.02026-07-17283353.4 KB
HTTPWalletJSON

Acquires a certificate

post/acquireCertificate

Request body

certifierstring
typestring
fieldsobject
privilegedReasonstring
privilegedboolean

Example request

{
  "certifier": "035836f24728af22bdeb3524c35b2e6c6126a45587dd11fcab826c054e170f97b8",
  "type": "W/iqV/xaa8VH3s8cxttj8Q3rVaPGxd9JfWMfs9leGr8=",
  "fields": {
    "firstName": "Michael",
    "lastName": "Huntington",
    "dob": "12/12/2001"
  },
  "privilegedReason": "-"
}

Response

The acquired certificate

typestring
subjectstring
serialNumberstring
certifierstring
revocationOutputstring
signaturestring
fieldsobject

Example response

{
  "type": "W/iqV/xaa8VH3s8cxttj8Q3rVaPGxd9JfWMfs9leGr8=",
  "subject": "02d292971b665575c90e8183e20d7c528e2ec1734fcb9f69c7e65e5046596767f3",
  "serialNumber": "6d4U5qznZnQmWJF3sEqKXsi5pB8sUhD0MWcadrxzKas=",
  "certifier": "035836f24728af22bdeb3524c35b2e6c6126a45587dd11fcab826c054e170f97b8",
  "revocationOutput": "e38a285d99d8a70448240255b5e92090bef87d7c5abab34a1263966fcde40621.3",
  "signature": "30450221008a9e150a43dc22652f4b627d08cae1d...",
  "fields": {
    "firstName": "Michael",
    "lastName": "Huntington",
    "dob": "12/12/2001"
  }
}