curl --request PUT \
--url https://rpc.etherspot.io/paymaster/updatePolicy \
--header 'Content-Type: application/json' \
--header 'apikey: <apikey>' \
--data '{
"id": 123,
"walletAddress": "<string>",
"name": "<string>",
"description": "<string>",
"isPublic": true,
"isEnabled": true,
"isApplicableToAllNetworks": true,
"enabledChains": [
123
],
"supportedEPVersions": [
"<string>"
],
"isPerpetual": true,
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"globalMaximumApplicable": true,
"globalMaximumUsd": 123,
"globalMaximumNative": 123,
"globalMaximumOpCount": 123,
"perUserMaximumApplicable": true,
"perUserMaximumUsd": 123,
"perUserMaximumNative": 123,
"perUserMaximumOpCount": 123,
"perOpMaximumApplicable": true,
"perOpMaximumUsd": 123,
"perOpMaximumNative": 123,
"addressAllowList": [
"<string>"
],
"addressBlockList": [
"<string>"
],
"isExpired": true,
"isCurrent": true,
"isApplicable": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}'