POST
/
walletgroups
/
{groupId}
/
wallet
/
{walletId}
/
add
curl --request POST \
  --url https://waas-staging.embedly.ng/api/v1/walletgroups/{groupId}/wallet/{walletId}/add \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "groupid": "<string>",
  "walletid": "<string>"
}'

Request

Path Parameters

groupid
string
required

The unique identifier for the wallet group.

walletid
string
required

The id of the wallet to add.

Response

✅ Success Response


Status Code: 200 OK

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

❌ Error Responses


Status Code: 400 Bad Request
{
  "code": "400",
  "success": false,
  "message": "Invalid Wallet Group ID specified",
  "data": null
}

Status Code: 404 Not Found

{
  "code": "404",
  "success": false,
  "message": "Wallet not found",
  "data": null
}


Status Code: 500 Internal Server Error

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