MagiaPay Documentation
Everything you need to accept payments through MagiaPay. Start with the quickstart, browse the API reference, or jump straight to testing in sandbox.
Quickstart →
From signup to first test payment in under 5 minutes.
API Reference →
Every endpoint, request, and response — rendered live from OpenAPI.
QR Code response →
Render the returned qr_code on your own checkout — React, Flutter, Python, PHP samples.
Webhooks →
HMAC signing, events, retries, replay. Verification in Node / Python / PHP.
Events →
The canonical log of state changes. Poll for reconciliation.
Refunds →
Full and partial refunds. Reason codes. Ledger impact.
Payouts →
Move funds from your balance to external destinations.
Payment Links →
Reusable hosted checkout URLs — share a link, no API integration required.
Transaction Health →
Automated detection of cross-layer discrepancies and undelivered webhooks.
Testing & Sandbox →
Deterministic outcomes, dev controls, method-specific previews.
Errors →
Error envelope, code table, retry pattern.
Base URL
https://magiapay.innoserver.cloud
Authentication
Authorization: Bearer sk_test_…