Arka (Paymaster) API calls
/enable-policy/{id}
Enables an existing sponsorship policy by its ID.
PUT
/
enable-policy
/
{id}
Example values you can use to demo the API:
{
"headers": {
"apikey": "your_api_key_here"
},
"pathVariables": {
"id": "policy_id_here"
}
}
Example response:
{
"message": "Policy enabled successfully."
}
Headers
apikey
string
requiredAPI key associated with the wallet address.
Path Parameters
id
integer
requiredThe ID of the sponsorship policy to enable.
Response
200 - application/json
message
string