Create a new policy.
Basic Auth header with your app ID as the username and your app secret as the password.
ID of your Privy app.
Idempotency keys ensure API requests are executed only once within a 24-hour window.
Version of the policy. Currently, 1.0 is the only version.
1.0 Name to assign to policy.
1 - 50The chain type the policy applies to.
ethereum, solana, tron The owner of the resource. If you provide this, do not specify an owner_id as it will be generated automatically. When updating a wallet, you can set the owner to null to remove the owner.
The key quorum ID to set as the owner of the resource. If you provide this, do not specify an owner.
Created policy object.
Version of the policy. Currently, 1.0 is the only version.
1.0 Name to assign to policy.
1 - 50The chain type the policy applies to.
ethereum, solana, tron Unique ID of the created policy. This will be the primary identifier when using the policy in the future.
24The key quorum ID of the owner of the policy.
Unix timestamp of when the policy was created in milliseconds.