POST
/
walletgroups
/
feature
/
add
curl --request POST \
  --url https://waas-staging.cafeone.ng/api/v1/walletgroups/feature/add \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "groupid": "<string>",
  "featureid": "<string>",
  "param1": "<string>",
  "param2": "<string>"
}'

Request Body

groupid
string
required

The unique identifier for the wallet group.

featureid
string
required
param1
string
required
param2
string
required

Response

✅ Success Response

Status Code: 200 OK

{
  "code": "00",
  "success": true,
  "message": "Feature added successfully.",
  "data": {
    // Additional details if applicable
  }
}

❌ Error Responses

Status Code: 400 Bad Request

{
  "code": "-3000",
  "success": false,
  "message": "The wallet feature you have specified does not exist",
  "data": null
}

Status Code: 500 Internal Server Error

{
  "code": "500",
  "success": false,
  "message": "An unexpected error occurred",
  "data": null
}