APG REST API checkout
Checkout, verification, and log history
Step 1 sends the handshake and transaction requests. Step 2 submits OTP or OTAC. Step 3 writes the final status to a log file.
Sandbox
Testing environment for APG merchant credentials.
New payment
Fill in the payment details below. Merchant credentials stay in config.php.
Payment log
The latest APG attempts are written to a log file and shown here.
| Reference | Event | Amount | Status | Logged |
|---|---|---|---|---|
| TXN20260714114253 | verification_requested | 0.00 PKR | Awaiting verification | 2026-07-14 11:42:55 |
| TXN20260713203408 | verification_requested | 0.00 PKR | Awaiting verification | 2026-07-13 20:34:13 |
| TXN20260708034750 | verification_requested | 0.00 PKR | Awaiting verification | 2026-07-08 03:47:56 |
| TXN20260706000205 | verification_requested | 0.00 PKR | Awaiting verification | 2026-07-06 00:02:06 |
| TXN20260706000200 | verification_requested | 0.00 PKR | Awaiting verification | 2026-07-06 00:02:05 |
| TXN20260705180729 | verification_requested | 0.00 PKR | Awaiting verification | 2026-07-05 18:07:30 |
| TXN20260705180727 | verification_requested | 0.00 PKR | Awaiting verification | 2026-07-05 18:07:29 |
| TXN20260705180726 | verification_requested | 0.00 PKR | Awaiting verification | 2026-07-05 18:07:27 |
| TXN20260705180720 | verification_requested | 0.00 PKR | Awaiting verification | 2026-07-05 18:07:26 |
| TXN20260628213918 | verification_requested | 0.00 PKR | Awaiting verification | 2026-06-28 21:39:23 |