Session Keys
Session keys are ephemeral signing keys with built-in spending limits and expiration times. They allow you to authorize automated transactions without exposing your primary credentials — perfect for recurring billing, subscription renewals, and programmatic payments.Session keys are only available for merchants using MPC wallets. If you are using an external wallet, you will need to migrate to MPC first.
Create a Session Key
string
required
Your merchant ID.
number
required
Maximum spending limit for this session key in USDC. Must be between 1,000,000.
integer
required
Number of days until the session key expires. Must be between 1 and 90.
object
WebAuthn passkey authentication data. Required in production for security. In development/test mode, session keys can be created without passkey verification.Fields:
credential_id(string): WebAuthn credential IDauthenticator_data(string): Base64-encoded authenticator datasignature(string): Base64-encoded signatureclient_data_json(string): Base64-encoded client data JSON
Example
Response
List Session Keys
string
required
Your merchant ID.
Get a Session Key
string
required
Merchant ID.
string
required
Session key ID.
Revoke a Session Key
string
required
Merchant ID.
string
required
Session key ID to revoke.