curl --request POST \
  --url https://testnet.walletkit.com/policies \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "network": "Ethereum",
  "name": "<string>",
  "wallet_address": "<string>",
  "argument_rules": [
    {
      "argument": "<string>",
      "operator": "eq",
      "value": "<string>"
    }
  ],
  "expires_at": "2023-11-07T05:31:56Z",
  "developer_secret": "<string>",
  "user_pin": "<string>"
}'
{
  "uuid": "<string>",
  "project_id": "<string>",
  "network": "Ethereum",
  "name": "<string>",
  "wallet_address": "<string>",
  "argument_rules": [
    {
      "argument": "<string>",
      "operator": "eq",
      "value": "<string>"
    }
  ],
  "expires_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Headers

X-WalletKit-Project-ID
string
required

Your WalletKit Project ID can be found on the API Keys page in the WalletKit Dashboard.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

The response is of type object.