Ledger Enterprise
API Documentation V2
API Documentation V2
  • Introduction
    • Getting Started
    • Overview
  • Guides
    • Authentication
    • Balance Reporting Bot
      • 1. Project setup
      • 2. Connect to revault-api
      • 3. Fetch accounts balances
      • 4. Conclusion
  • reference
    • API reference
      • Users
      • Accounts
        • Transactions
      • Groups
      • Whitelists
      • Policies
      • Entities
      • Requests
        • Generate registration challenge
        • Confirm registration challenge
        • Challenge
        • Approve
        • Reject
      • Auth
        • Token
          • Refresh
      • Permissions
        • Allowed actions
        • Resources
      • Assets
        • Currencies
        • Tokens
      • Tradelink
        • Network
          • Blueprint
    • Specification
Powered by GitBook
On this page
  1. reference
  2. API reference
  3. Requests

Confirm registration challenge

PreviousGenerate registration challengeNextChallenge

Confirm registration challenge

post
Path parameters
idstringRequired

Id of the target request

Body
workspaceNamestringRequired

Workspace name

Responses
200
Successful response
application/json
Responseany of
or
default
Error response
application/json
post
POST /rest/requests/{id}/confirm-registration-challenge HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 256

{
  "workspaceName": "text",
  "challengeResponse": {
    "certificate": {
      "codeHash": "text",
      "attestationPub": "text",
      "certificate": "text",
      "signature": "text"
    },
    "u2fRegister": "text",
    "u2fKeyHandle": "text",
    "registerData": "text",
    "validationKey": "text",
    "pairingPayload": "text"
  }
}
{
  "type": "CREATE_ADMIN",
  "data": {
    "name": "text",
    "deviceType": "PSD",
    "deviceUserId": "text",
    "registration": {
      "subState": "PENDING",
      "deviceData": {
        "name": "text",
        "psdModel": "BLUE",
        "pubKey": "text",
        "confidentialityKey": "text",
        "psdEphemeralKey": "text",
        "psdEphemeralKeyAttestation": {
          "codeHash": "text",
          "attestationPub": "text",
          "certificate": "text",
          "signature": "text"
        }
      },
      "challenge": {
        "challenge": "text",
        "ephemeralPublicKey": "text",
        "ephemeralPublicKeyAttestation": {
          "codeHash": "text",
          "attestationPub": "text",
          "certificate": "text",
          "signature": "text"
        },
        "handshake": "text",
        "handshakeAttestation": {
          "codeHash": "text",
          "attestationPub": "text",
          "certificate": "text",
          "signature": "text"
        },
        "u2fRegisterData": "text",
        "ciphertext": "text",
        "requestId": "text"
      }
    }
  },
  "id": "text",
  "legacyId": 1,
  "state": "INITIAL",
  "reviewSteps": [
    {
      "stageName": "text",
      "quorum": 1
    }
  ],
  "currentStepIndex": 1,
  "expiredAt": "2025-05-30T22:38:29.729Z",
  "targetId": "text",
  "reviews": [
    {
      "stepIndex": 1,
      "userId": "text",
      "status": "PENDING",
      "createdAt": "2025-05-30T22:38:29.729Z",
      "updatedAt": "2025-05-30T22:38:29.729Z"
    }
  ],
  "createdAt": "2025-05-30T22:38:29.729Z",
  "updatedAt": "2025-05-30T22:38:29.729Z"
}