cURL
curl --request PUT \ --url https://rpc.etherspot.io/paymaster/enablePolicy/{id} \ --header 'apikey: <apikey>'
{ "message": "Successfully enabled policy with id 123" }
Enables an existing sponsorship policy by its ID.
{ "headers": { "apikey": "your_api_key_here" }, "pathVariables": { "id": "policy_id_here" } }
{ "message": "Policy enabled successfully." }
API key associated with the wallet address.
The ID of the sponsorship policy to enable.
Successfully enabled the sponsorship policy
The response is of type object.
object