Miracle Docs

Miracle Payments Documentation

Everything you need to integrate Miracle payments into your application.

Welcome to the Miracle API documentation. Choose your integration path to start accepting payments.

Choose your integration

Not sure which to choose? Start with the Hosted Payment Page — it's the fastest way to go live, and you can switch to Direct API later.

Quick test

Use this test card number to try a payment in sandbox mode:

4242 4242 4242 0000

Any future expiry date and any 3-digit CVC will work.

Getting started

Follow these four steps to accept your first payment:

  1. Get API credentials
  2. Create your first payment
  3. Handle webhooks
  4. Go live

On this page