Production-ready • Dark theme
Accept payments with Way To Payments
Modern REST API, idempotent endpoints, secure webhooks, and simple confirmation flows. Built to run behind Cloudflare with strict TLS.
Quick health check
curl -s https://api.w2p.me/health
Create a Payment Intent
curl -s -X POST https://api.w2p.me/v1/payment_intents \ -H "Authorization: Bearer <API_KEY>" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: <uuid>" \ -d '{"amount": 1499, "currency":"USD", "description":"T-shirt"}'
Confirm the Intent
curl -s -X POST https://api.w2p.me/v1/payment_intents/<pi_id>/confirm \ -H "Authorization: Bearer <API_KEY>" \ -H "Content-Type: application/json" -d '{}'