Get started
Authentication
Every server-to-server request carries your business API key in one header. This page shows what a key looks like, where to create it and how to keep it out of harm's way.
Base URL
https://api.paysasa.com/api/v1Authx-api-keyFormatJSONInclude your composite API key in x-api-key. Format: apk_live_xxx.secret or apk_test_xxx.secret. Generate keys from Businesses → API Keys.
POST /checkout/sessions HTTP/1.1
Host: api.paysasa.com
Content-Type: application/json
x-api-key: apk_live_a1b2c3d4.7f9e0a...Security: Never expose your API key in client-side code or public repositories. Use it only in server-side code or secure environments. Keys can be revoked at any time from your Businesses page.