# Sauda Pay API > Sauda Pay lets a merchant's backend accept Kaspi Pay payments (Kazakhstan): hosted checkout sessions and widget, payment links, QR codes, invoices by phone number, recurring invoices, refunds, and signed webhooks. REST/JSON at https://pay.saudager.top/api/v1, authenticated with the X-API-Key header. Amounts are in tenge (KZT). All of the documentation and the OpenAPI spec as Markdown in one file: https://pay.saudager.top/api/llms-full.txt ## Documentation - [Quickstart](https://pay.saudager.top/api/docs#tag/docs-quickstart): Take your first Kaspi payment through the API in about 10 minutes. You'll need a Kaspi Pay business account with a **cashier** (add one in the Kaspi Pay app: Settings → Employees). - [Checkout: hosted page and widget](https://pay.saudager.top/api/docs#tag/checkout-sessions): For online stores with a backend. Your server opens a **checkout session** for the order; the buyer pays on Sauda Pay's page, either after a redirect or in a modal on your site. The page offers: - [Payment links](https://pay.saudager.top/api/docs#tag/payment-links): A payment link is a public payment page that needs no backend: `https://checkout.pay.saudager.top/l/`. Use it for Tilda or Wix sites, Instagram and WhatsApp sales, donations, tips, or simple invoices you send by hand. - [QR codes and invoices (your own payment screen)](https://pay.saudager.top/api/docs#tag/payments): Use the direct payment API when you draw the payment UI yourself: a POS screen, a kiosk, a Telegram bot, a mobile app, or a CRM that bills customers by phone number. If you just need a payment page, the [hosted checkout](./checkout.md) does all of this for you. - [Recurring payments](https://pay.saudager.top/api/docs#tag/recurring-payments): For memberships, subscriptions, rent, tuition, installments: a **schedule** sends a Kaspi invoice to the same phone number on a fixed rhythm. The customer confirms each invoice in the Kaspi app. Kaspi has no card-on-file auto-charge, so every payment needs the customer's tap. - [Webhooks](https://pay.saudager.top/api/docs#tag/webhooks): Webhook destinations must use public HTTPS on port 443. Private networks, embedded credentials and redirects are not supported. - [Refunds and reconciliation](https://pay.saudager.top/api/docs#tag/refunds-and-history): Refund a paid payment, QR or invoice, by its Sauda Pay id: - [Errors](https://pay.saudager.top/api/docs#tag/docs-errors): Every error response has the same JSON body: - [Going live](https://pay.saudager.top/api/docs#tag/docs-going-live): There is no sandbox: Sauda Pay works through a real Kaspi Pay account, so every test payment is real money. Keep tests cheap and reversible: - [AI assistants: MCP server, Claude skill, llms.txt](https://pay.saudager.top/api/docs#tag/docs-mcp): Sauda Pay has three things for AI tools: The documentation is also available in Russian (?lang=ru) and Kazakh (?lang=kk). ## API reference - [OpenAPI 3.1 specification](https://pay.saudager.top/api/openapi.yaml): every endpoint, schema, error and webhook payload - [Interactive reference](https://pay.saudager.top/api/docs) ## Tools - [MCP server](https://pay.saudager.top/api/mcp): Streamable HTTP; OAuth sign-in (connector) or the API key as X-API-Key - [Claude skill](https://pay.saudager.top/api/docs/skill/SKILL.md): how to write a Sauda Pay integration