callbackUrl. After the customer pays (or leaves), they may be sent back to this page. Money movement is still confirmed by webhooks, not by this redirect. Do not treat a visit to your callback URL as paid.
How to set it
You can setcallbackUrl in either place:
- Per checkout: pass
callbackUrlonPOST /checkout/sessions, or onPOST /escrowswhencheckoutis true. - Account default: set it once on your merchant account in Demat.
https:// with a public domain. Do not use localhost, an IP, or http. Send null or an empty string on the account to clear the default.
Use a page you control. Wait for payment.succeeded, escrow.funded, or wallet.credited before marking an order paid.