POST
/api/v1/projects/:projectId/orders/:id/simulate-paymentTEST only
Permission:
orders:writeDevelop and test integrations without real money. Use TEST projects and tp_test_ keys exclusively during development.
Sandbox checklist
Test — tp_test_…
Sandbox orders, simulated payments, no real funds. Works only with TEST projects.
Live — tp_live_…
Real payments after merchant verification. Requires LIVE project and approved account.
Mark a test order as paid without scanning a real QR. Fires order.paid with livemode: false. Returns test_mode_required (403) in LIVE mode.
/api/v1/projects/:projectId/orders/:id/simulate-paymentTEST only
orders:writecurl -s -X POST "https://pay.andgroupco.com/api/v1/projects/PROJECT_ID/orders/ORDER_ID/simulate-payment" \
-H "Authorization: Bearer tp_test_xxxxxxxxxxxxxxxx"Every API response includes environment context:
X-TowanPay-Environment — TEST or LIVEX-TowanPay-Livemode — false in test modeGoing live