Secure Action Verify
After the user has verified the action, the client has to verify the action again before the action is finally performed on chain. This API triggers the second verification
Path parameters
user_uuidstringRequired
order_uuidstringRequired
order_typeobject · enumRequiredExample:
TRANSFER
Possible values: Body
secure_action_uuidstringOptionalExample:
f1f5c6ce-836a-425d-a30d-5c0669bb4200
secure_action_codestringOptionalExample:
310920
Responses
200
Success response
application/json
400
Invalid request
application/json
401
Authorization error
application/json
404
User not found
application/json
405
Order not found
application/json
post
POST /api/v1/user/{user_uuid}/orders/{order_type}/{order_uuid}/secure-action/verify HTTP/1.1
Host: www.developer.metasky.me
Content-Type: application/json
Accept: */*
Content-Length: 91
{
"secure_action_uuid": "f1f5c6ce-836a-425d-a30d-5c0669bb4200",
"secure_action_code": "310920"
}
{
"message": "secure action verify successful",
"data": {
"order_uuid": "61c8f27a-442f-4d9e-a5b9-1463a80f46c3",
"secure_action_uuid": "6498c6a3-4fe5-4303-bf85-9c0ddf509028"
},
"status": "success",
"request_id": "af3c773a-b5bf-46f2-8689-61e91e36f14d"
}
Last updated
Was this helpful?