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.

Merchant values are hidden in config.php and never shown in the form.

This sends the APG handshake and transaction requests from PHP, then waits for the final verification step.

Payment log

The latest APG attempts are written to a log file and shown here.

Reference Event Amount Status Logged
TXN20261124230339 verification_requested 100.00 PKR Awaiting verification 2026-11-24 23:03:45
TXN20261119231819 verification_requested 100.00 PKR Awaiting verification 2026-11-19 23:18:26
TXN20261116063304 verification_requested 100.00 PKR Awaiting verification 2026-11-16 06:33:10
TXN20261113020455 verification_requested 0.00 PKR Awaiting verification 2026-11-13 02:04:57
TXN20261112120816 verification_requested 100.00 PKR Awaiting verification 2026-11-12 12:08:21
TXN20261106142050 verification_requested 100.00 PKR Awaiting verification 2026-11-06 14:20:55
TXN20261102003951 verification_requested 100.00 PKR Awaiting verification 2026-11-02 00:40:00
TXN20261027131803 verification_requested 0.00 PKR Awaiting verification 2026-10-27 13:18:04
TXN20261023131703 verification_requested 0.00 PKR Awaiting verification 2026-10-23 13:17:04
TXN20261022184858 verification_requested 0.00 PKR Awaiting verification 2026-10-22 18:48:59