SDKs

Client libraries that wrap the PayProof gateway — checkout UI, HTTP helpers, and webhook verification.

AGENTS.md

Use the REST API from any language. SDKs add a faster path for common platforms: an in-app payment sheet, typed models, and helpers that match the public gateway contract.

Available SDKs

  • Svelte / SvelteKit — modal checkout sheet, live pricing list, entitlement gate, and manage-subscription screen. Package @payproof/svelte.
  • Kotlin (Android) — Google Play–style bottom sheet, OkHttp client, webhook HMAC helper. Artifact et.payproof:payproof-android.

Both SDKs share one contract: the same catalog, checkout, entitlement, and subscription calls, with a publishable pk_… key in the client and a secret sk_… key on your server. Both also expose diagnose() for integration checks.

  1. Create a checkout on your backend with POST /api/v1/checkouts/.
  2. Pass only the public id (cs_…) to the app.
  3. Present the SDK checkout sheet (or open the hosted pay URL).
  4. Fulfill when you receive a signed webhook — see signatures.