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

Challenge

PreviousConfirm registration challengeNextApprove

Get the challenge of the specified request for current user

get
Authorizations
Path parameters
idstringRequired

Id of the request

Responses
200
Successful response
application/json
default
Error response
application/json
get
GET /rest/requests/{id}/challenge HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "pubKey": "text",
  "challenge": {
    "challengeType": "PSD",
    "wActions": [
      "text"
    ],
    "handshake": "text",
    "handshakeAttestation": {
      "codeHash": "text",
      "attestationPub": "text",
      "certificate": "text",
      "signature": "text"
    },
    "partitionId": "text"
  }
}