Testing
Test API keys
Test keys should be visibly separate from live keys and tied to sandbox/staging data.
Prefixes and labels
Use sk_test and pk_test keys for local and staging work. Do not paste live keys into examples or test fixtures.
Test origins
Add localhost and staging origins to test publishable keys only. Production origins belong on live keys.
Rotation drills
Practice key rotation before launch so operational ownership is clear.
Need rollout review?
Contact the team
Start in the dashboard, choose Script Tag or Server API, and use contact only when you need rollout review, enterprise coordination, or non-standard integration help. Billing beacon rules live in the API concepts guide.