Create Policy
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Type of the policy. Currently we support sponsorship (for sponsoring gas on EVM networks), erc20 (for enabling users to pay gas with any ERC-20 token on EVM networks), and solana (for sponsoring fees and rent on Solana).
Networks to be enabled for the policy. Example: ETH_MAINNET. For Solana policies, valid values are SOLANA_MAINNET and SOLANA_DEVNET.
Rules for sponsorship policy type. Empty if policyType is not sponsorship.
Rules for solana policy type. Empty if policyType is not solana.
Rules for erc20 policy type. Empty if policyType is not erc20.