For Developers

Sandbox

Test integration without real money

The sandbox environment mirrors production. All endpoints are identical, but payments are emulated. Create test invoices and receive webhooks — no real money involved.

Sandbox Features

  • Same endpoints as production — POST /api/v2/invoices etc.
  • Emulated Kaspi Pay push notifications
  • Real-time webhook events
  • Test statuses: created, pending, paid, expired, rejected
  • Unlimited request quota

How to get started

  1. 1Register at cabinet.aipay.kz
  2. 2Get your sandbox token from settings
  3. 3Use the same API endpoints with your sandbox token
  4. 4Create a test invoice and verify webhooks