Show HN: Mock PSP API – simulate payments and webhooks

3 points by d_sai ↗ HN
I’ve been tinkering on a side project: a mock PSP (Payment Service Provider) API.

It’s meant for developers who want to:

- test payment workflows without touching Stripe/Adyen/etc. - quickly simulate authorise / decline / capture states - practice handling webhook events in their apps

No signup needed — you can grab an API key in the console and start calling endpoints. Free tier: 100 requests/day.

Live console: https://paylab-ui.vercel.app/ Docs: https://paylab-ui.vercel.app/dashboard/docs

Right now MVP supports:

- POST /payment-intents - POST /payment-intents/:id/payments (supported payment statuses: initiated, authorising, authorised, declined, capturing, expired, captured, capture_failed) - GET /payment-intents/:id - Webhook subscription + delivery history

Would love your feedback!

What’s missing for it to be useful in your dev/test workflow? Should I add another API that you find more useful, or continue developing mock PSP API first?

Thanks!

1 comment

[ 3.4 ms ] story [ 14.4 ms ] thread
Probably something minor, usually people also need to get fraud rate? probably something like that, before transacting (usually score based).

Also probably something else like personal data, will be able to set rule to reject based on country and residence when transacting.