Secure Action

When a client wants to perform an action on chain on behalf of the user, a verification prompt is sent to the user. This API sends the prompt for user to verify

Secure action init

post
Path parameters
user_uuidstringRequired
order_uuidstringRequired
Responses
200
Success response
application/json
post
POST /api/v1/user/{user_uuid}/orders/{order_uuid}/secure-action/init HTTP/1.1
Host: www.developer.metasky.me
Accept: */*
{
  "message": "secure action init successful",
  "data": {
    "order_uuid": "61c8f27a-442f-4d9e-a5b9-1463a80f46c3",
    "secure_action_uuid": "6498c6a3-4fe5-4303-bf85-9c0ddf509028",
    "secure_action_mode": "email",
    "secure_action_identifier": "raider@metasky.ai"
  },
  "status": "success",
  "request_id": "af3c773a-b5bf-46f2-8689-61e91e36f14d"
}

Last updated

Was this helpful?