Skip to main content

Overview

Allows the client to petition a peer to review an ID application.

HTTP request

POST /Agent/Legal/PetitionPeerReview

Authentication

Requires a valid JWT bearer token.

Request (JSON)

{
	"keyId": Required(Str(PKeyId)),
	"legalId": Required(Str(PLegalId)),
	"remoteId": Required(Str(PRemoteId)),
	"petitionId": Required(Str(PPetitionId)),
	"purpose": Required(Str(PPurpose)),
	"keySignature": Required(Str(PKeySignature)),
	"requestSignature": Required(Str(PRequestSignature))
}

Input parameters

ParameterDescription
PKeyIdIdentity of key to use for signing the petition. It must correspond to the key used when signing the Legal Identity application that will be used to sign the petition.
PLegalIdIdentifier of the Legal Identity that will be used to sign the petition, and that will be reviewed by the peer.
PRemoteIdIdentifier of the remote legal identity the client requests review the identity application.
PPetitionIdAn identifier of the request, the client can use to correlate asynchronous responses with the corresponding petition request.
PPurposeA human readable text that will be presented to the remote user, describing the purpose of the petition.
PKeySignatureCryptographic signature of the key ID, using the key password.
PRequestSignatureCryptographic signature of the requesut, using the account password.

Response (JSON)

{
}

Notes

This endpoint uses the request schema notation described in Pattern matching.