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
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
TXN20261021210925 verification_requested 100.00 PKR Awaiting verification 2026-10-21 21:09:30
TXN20261020222452 verification_requested 0.00 PKR Awaiting verification 2026-10-20 22:24:54
TXN20261019032201 verification_requested 0.00 PKR Awaiting verification 2026-10-19 03:22:03
TXN20261014125738 verification_requested 100.00 PKR Awaiting verification 2026-10-14 12:57:46
TXN20261014041047 verification_requested 0.00 PKR Awaiting verification 2026-10-14 04:10:48