cURL
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>" }'
The endpoint allows you to add a wallet to a specified wallet group.
Status Code: 200 OK { "code": "00", "success": true, "message": "Wallet added successfully.", "data": { // Additional details if applicable } }
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 }