Authentication

Authenticate API requests with Bearer tokens.

All API requests require authentication via an API key sent as a Bearer token in the Authorization header.

Shell
curl https://paysio.com/api/v1/products \
  -H "Authorization: Bearer sk_live_your_api_key"

API key types

PrefixTypeModeUse for
sk_live_SecretProductionServer-side. Full access to all endpoints.
sk_test_SecretSandboxServer-side testing. Uses sandbox data.
pk_live_PublishableProductionClient-side. Read-only access.
pk_test_PublishableSandboxClient-side testing. Sandbox read-only.

Secret keys (sk_*) are required for write operations (creating charges, refunding, etc). Never expose secret keys in client-side code.

Base URL

All API endpoints are relative to the base URL:

https://paysio.com/api/v1

Example: GET https://paysio.com/api/v1/products