frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Mock PSP API – simulate payments and webhooks

3•d_sai•3h ago
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!

Comments

Dell3420•1h ago
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.

d_sai•1h ago
Great point! That’s definitely something worth adding to make the API feel more realistic. I’ll look into incorporating a fraud rate simulation along with a simple rule engine in the next version.

Really appreciate the feedback!

Show HN: Visualize Git Stats from VS Code

https://github.com/git-quick-stats/git-vscode-stats
2•beledev•5m ago•0 comments

How to configure your mouse for remote work productivity in Zoom

https://jobsort.com/mouse-config/
1•jobsort•7m ago•0 comments

Where's the Shovelware? Why AI Coding Claims Don't Add Up

https://substack.com/inbox/post/172538377
1•zdw•9m ago•1 comments

AI physics tutor, available 24/7

https://physics-gpt.org/http:/localhost:3000
1•thefirstname•19m ago•1 comments

Trump to host tech CEOs for first event in newly renovated Rose Garden

https://www.reuters.com/business/autos-transportation/trump-host-tech-ceos-first-event-newly-reno...
2•defrost•24m ago•2 comments

DebDroid: Debian on Android

https://github.com/NICUP14/DebDroid
2•thunderbong•24m ago•0 comments

How to set up a personal website with a custom domain quickly in an hour

https://gist.github.com/AkshayChn/6f198146cf5f7284dff9d7ca6dde9fc5
1•akch•24m ago•0 comments

Manga Translator Online

https://mangatranslator.online
1•thefirstname•27m ago•1 comments

GitOps Explained: Managing Infrastructure with Git

https://jsdev.space/gitops-explained/
1•javatuts•29m ago•0 comments

Australia is saying "no thanks" to Tesla brand

1•dezb•32m ago•0 comments

OpenAI boosts size of secondary share sale to $10.3B

https://www.cnbc.com/2025/09/03/openai-boosts-size-of-secondary-share-sale-to-10point3-billion.html
2•donsupreme•41m ago•1 comments

Thucydides Trap

https://en.wikipedia.org/wiki/Thucydides_Trap
1•nomilk•45m ago•1 comments

GE HealthCare recall of C-arms due to missing radiation shielding components

https://healthimaging.com/topics/healthcare-management/healthcare-policy/ge-healthcare-issues-rec...
1•KnuthIsGod•45m ago•1 comments

The Size of Space

https://neal.fun/size-of-space/
1•tomrod•48m ago•0 comments

Show HN: Chat with Claude Code on iMessage with Instaline

https://twitter.com/xdotli/status/1963447281228628278
2•xdotli•54m ago•0 comments

Purikura: The Japanese Grandmother of the Selfie

https://www.tokyocowboy.co/articles/purikura-the-grandmother-of-the-selfie
2•pantsuits•54m ago•0 comments

AI Darwin Awards

https://aidarwinawards.org/
14•dangermavin•57m ago•0 comments

AI Coding Assistants Compared: Which Tool Fits Your Workflow?

https://nextweekai.com/p/ai-coding-assistants-compared-which-tool-fits-your-workflow
1•javatuts•58m ago•0 comments

Let's make PostgreSQL multi-threaded (2023)

https://www.postgresql.org/message-id/flat/31cc6df9-53fe-3cd9-af5b-ac0d801163f4%40iki.fi
1•b-man•1h ago•0 comments

AI Isn't Just Taking Jobs It's Reshaping How Founders Hire

https://foundersarehiring.com/ai-isnt-just-taking-jobs-reshaping-founders-hire-founndersarehiring...
2•niksmac•1h ago•2 comments

Searey LSX

https://www.kitplanes.com/searey-lsx/
2•peterkos•1h ago•1 comments

Ktor Panel (v0.3.2): Admin Interface Generation for Ktor Servers

https://github.om/believemanasseh/ktor-panel
1•illucidmind•1h ago•0 comments

Show HN: Husky Hold'em bench, pokerbots creation benchmark for LLMs

https://twitter.com/NousResearch/status/1963371292318749043
1•kipiiler•1h ago•0 comments

TranscribePad – Mobile offline medical transcription and AI note structuring

1•Intiser•1h ago•0 comments

A short history of Neanderthal intelligence

https://metamagic.substack.com/p/a-short-history-of-neanderthal-intelligence
1•r0ze-at-hn•1h ago•0 comments

An On-Demand Web Browser for Your AI Agents: Anchor Browser and Trigger.dev

https://anchorbrowser.io/blog/integrate-trigger-dev-and-anchor-browser
2•jmarbach•1h ago•0 comments

Show HN: I'm trying to figure out an 'entropy' for structure

https://github.com/DOSAYGO-STUDIO/structropy
2•keepamovin•1h ago•0 comments

Pompelmi

https://github.com/pompelmi/pompelmi
1•handfuloflight•1h ago•0 comments

Garmin Fenix 8 Pro: LTE, MicroLED and Satellite Messaging Hands-On

https://www.dcrainmaker.com/2025/09/garmin-fenix-8-pro-lte-microled-satellite-messaging-hands-on-...
2•nradov•1h ago•0 comments

Juni Learning Is Closing Down

https://junilearning.com/
2•mathattack•1h ago•0 comments