{
  "status": "success",
  "message": "redirect to url below",
  "data": {
    "url": "https://release-test.dznwntq5ls137.amplifyapp.com?token=180...1"
  }
}
URL

https://test-api.bvndle.com/api/v1/laas/trending-deals

HTTP Method
POST
Authorization Header
Bearer ACCESS_TOKEN

nametypeDescription
userIdstringRequired Id of previously onboarded user
cURL
curl --request POST 'https://test-api.bvndle.com/api/v1/laas/rules/create-rule' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ACCESS_TOKEN' \
--data-raw '{
    "name": "Transaction Drive",
    "coinValue": "10",
    "maxNumberOfParticipant": "20000",
    "condition": "User makes 5 transactions"
}
{
    "userId": "f0c8c81d-13d3-4515-b40f-711ef91de094",
}'
{
  "status": "success",
  "message": "redirect to url below",
  "data": {
    "url": "https://release-test.dznwntq5ls137.amplifyapp.com?token=180...1"
  }
}