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.
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.
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_…