Approve Request

This endpoint is only available for API Operators. Using this endpoint you can approve a request, for the time being only transaction creation request is available.

Security(Ledger_API_Key and Ledger_API_User) or Ledger_API_Key and Ledger_API_User and Ledger_Store_Auth_Token) or Ledger_API_User or Ledger_API_User and Ledger_Store_Auth_Token)
Request
path Parameters
request_id
required
integer

The request's ID.

Request Body schema: application/json

Request approve payload

jws
required
string

The signed challenge of the request.

Responses
200

Request result

404

Request not found

post/requests/{request_id}/approve
Request samples
application/json
{
  • "jws": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJUcmFuc2FjdGlvbiBwcm9wZXJ0aWVzIjp7Ik1heCBnYXMgcHJpY2UiOiJzd2VpIDY3MzY5NTY2OTAiLCJBbW91bnQiOiJzd2VpIDEyMzAwMDAwMDAwMDAwMCIsIk1heCB0b3RhbCBmZWVzIjoic3dlaSAxNDE0NzYwOTA0OTAwMDAiLCJSZWNpcGllbnQgYWRkcmVzcyI6IjB4YjU1MDM4ODU0NzY5MWE1MjYxOTBkNjBDMzBDMmY5RTJhZjAzZkYzRCIsIkdhcyBsaW1pdCI6IjIxMDAwIn0sImNoYWxsZW5nZSI6IkZGQTMzNzk1MzZDNTVBOEMxRkQwNEREMEEzNjg3MjAwRjQyMkVGRjA1NDZCNTc5QTc3OTA4MTczQTczMEQwQTYifQ.wc7ilV47pari5lL7qJIm7a7PD59kdVm-59ilyN5BGglEXQtZeoLPOn3iz0GoX1X1fcRG__7fJMqxwPgJDzMTTA"
}
Response samples
application/json
{
  • "created_by": "3",
  • "created_on": "2019-08-24T14:15:22Z",
  • "expired_at": "2019-08-24T14:15:22Z",
  • "id": 0,
  • "status": "PENDING_APPROVAL",
  • "target_id": 10,
  • "target_type": "TEZOS_LIKE_TRANSACTION",
  • "type": "CREATE_TRANSACTION"
}
Copyright © Ledger Enterprise Platform 2023. All right reserved.