← Back to Gateway
0
Total
0
Pending
0
Completed
0
Failed

⏳ Pending — Awaiting Decision

0 transactions
No pending transactions. Make a payment from your app with provider: sandbox.

How the Sandbox Works

1

Initiate

Calling app sends POST /api/initiate.php with provider: "sandbox". Returns status: pending.

2

Appears Here

Transaction shows up in the Pending table above with all its details and the callback URL.

3

Approve / Decline

Click Approve to simulate customer confirming on their phone. Click Decline to simulate cancellation.

4

Webhook Fires

CironetPay immediately fires POST to the node's webhook URL — identical to a real MTN/Airtel callback.

5

App Processes

Calling app receives {ref, amount, status} signed with HMAC-SHA256 and activates the service.

Sample initiate.php request

POST /api/initiate.php
X-CironetPay-Key: YOUR_NODE_KEY

{
  "amount": 50000,
  "currency": "UGX",
  "provider": "sandbox",
  "external_id": "REG-1234567",
  "payer_data": { "phone": "256700000000" }
}