Skip to content

Authentication

ParaSta uses API key authentication. Include your secret key in the Authorization header as a Bearer token.

Authorization: Bearer sk_test_abc123...
KeyPrefixUsePermissions
Secretsk_test_... / sk_live_...Server-side onlyAll endpoints
Publishablepk_test_... / pk_live_...Browser, mobile, embedded widgetsCreate payments and checkout sessions only — no read, no refund

Never expose secret keys in client-side code. They grant full account access.

The key prefix determines the mode automatically — there is no separate base URL for test mode. See Test and Live Mode.

Rotate or revoke keys in the ParaSta Dashboard → Developers → API Keys. Rotation does not affect in-flight requests; cached keys continue working until the rotated key is deleted.