Return URLs for developers.
Test success, failure, cancellation and callback flows without building a temporary page.
Public endpoints
No account, no signup, no setup. Copy a URL and paste it into your test integration.
-
Success
A destination for successful payments, checkouts and sign-ins.
https://testreturn.link/success -
Failure
A destination for declined payments and failed authentication.
https://testreturn.link/failure -
Cancel
A destination for checkouts and flows the user abandoned.
https://testreturn.link/cancel -
Callback
A generic callback for OAuth redirects and any browser return.
https://testreturn.link/callback
When to use TestReturn
Payment providers, checkout pages and OAuth providers need somewhere to send the browser when a flow ends. While you build or test an integration, point them at TestReturn. Each page tells you which route was reached and lists every query parameter the provider added.
Examples
A checkout session with separate success and cancel URLs:
success_url = "https://testreturn.link/success?order=123"
cancel_url = "https://testreturn.link/cancel?order=123"
An OAuth redirect URI that shows the returned code and state:
https://provider.example/authorize?client_id=…&redirect_uri=https://testreturn.link/callback&state=xyz789
Read the guide to testing return and callback URLs for more examples and privacy details.