PATCH
/
wallets
/
wallet
/
restrict
/
account
/
{accountId}
/
type
/
{restrictionType}
curl --request PATCH \
  --url https://waas-staging.embedly.ng/api/v1/wallets/wallet/restrict/account/{accountId}/type/{restrictionType} \
  --header 'x-api-key: <api-key>'
{
	"code": "200",
	"success": true,
	"message": "Wallet restriction applied successfully.",
	"data": {
		// Additional data fields if applicable
	}
}

Path Parameters

accountId
string
required

Unique identifier for the account

restrictionType
string
required

Type of restriction to apply

{
	"code": "200",
	"success": true,
	"message": "Wallet restriction applied successfully.",
	"data": {
		// Additional data fields if applicable
	}
}