cURL
curl --request POST \ --url https://waas-staging.embedly.ng/api/v1/wallets/close \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "accountNumber": "<string>", "accountClosureReasonId": 123, "tellerId": 123, "closeOrDelete": true, "customerOrAccount": true } '
{ "code": "200", "success": true, "message": "You can close this account.", "data": { // Additional details if applicable } }
The endpoint allows you to close a specified wallet using the account number and associated details.
true
false