Hosted checkout
Every payin comes with a checkout link on netpay.ph. Redirect the customer to it: the page shows your business name and the amount, and takes them to the QR Ph payment.
What the customer sees
Your payment page
Your business name, the amount, the order number and the description you sent.
The QR Ph payment
They scan with GCash, Maya or any bank app that supports QR Ph.
Back to your site
After paying, the page confirms the result and sends them to your
success_urlorfailure_url.
A customer can close the browser before coming back. Fulfil the order when the payin.succeeded webhook arrives, or when GET /v1/payins/{payin_no} says SUCCEEDED.
Expiry and cancel
A checkout link expires after 30 minutes unless your account is set differently; an unpaid payin then becomes EXPIRED. The customer can also cancel on the page, which makes it CANCELLED.
Return links
Set Allowed return domains on the Developers page and NetPay refuses any success_url or failure_url outside them, so a payment can never send your customer to someone else's site.
