Skip to content

Docs

API keys

Create them in the dashboard. There are two kinds.

Kinds

pk_live_…
Publishable. Identifies your account in the browser. Can be rolled.
sk_live_…
Secret. Server only. Shown once; we store only its SHA-256 hash. Revoke any time.

Authentication

http
Authorization: Bearer sk_live_...

Missing, invalid or revoked key: 401. Never put a secret key in a browser or a repository.

Widget with a publishable key

html
<script src="https://www.stabletally.com/pay.js" async></script>
<stabletally-pay publishable-key="pk_live_..." amount="49.00"></stabletally-pay>