cURL
curl --request PATCH \ --url https://waas-staging.embedly.ng/api/v1/wallets/wallet/restrict \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "id": "<string>", "walletGroupId": "<string>", "customerId": "<string>", "availableBalance": 123, "ledgerBalance": 123, "walletRestrictionId": "<string>", "walletClassificationId": "<string>", "currencyId": "<string>", "isInternal": true, "isDefault": true, "name": "<string>", "overdraft": 123, "virtualAccount": {}, "mobNum": "<string>", "customerTypeId": "<string>" }'
The endpoint restricts a specified wallet by updating its details.
Show virtualAccount properties
{ "code": "200", "success": true, "message": "Wallet restricted successfully.", "data": { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", } }