Payment Webhook Simulator
Simulate payment callbacks from Alipay, WeChat Pay, and Stripe. Fill in parameters, generate a signed POST request, and send it to your webhook URL for testing.
curl -X POST "https://your-domain.com/api/payment/webhook" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'out_trade_no=OUT20260712GYDQ38&total_amount=99.99&subject=VIP%20Membership&trade_no=T20260712P9G10F&trade_status=TRADE_SUCCESS×tamp=2026-07-12T03%3A38%3A10.837Z&sign_type=HMAC-SHA256&sign=%5Bcalculated%20using%20HMAC%20Generator%5D'
This tool generates sample payment callback payloads for testing. Verify signatures with HMAC Signature Generator.
The send test feature sends the generated payload to your endpoint. For localhost endpoints, use a tunnel service.
How to use this tool
Simulate payment callback payloads to test an endpoint you own before enabling a real payment integration.
Suggested workflow
- Choose a provider-style test payload.
- Set a webhook URL that you are authorized to test.
- Send the simulated callback and verify your handler's response.
Good to know
Use test credentials and sandbox endpoints; real payment events must be verified with the provider's documented signature process.
For authorized sandbox and integration testing only.
Payment Webhook Simulator - CodeTools Toolbox - 47 free online developer tools.