Skip to content

HangHae-plus-2-9/mock-payment-server

Repository files navigation

Mock payment Server

Description

This is a mock payment server for testing. Use 8000 port for default.

How to run

npm install
npm run start:dev

APIs

  • base url: http://localhost:8000

  • GET /status

    • get server status
    • return 200 if server is running
    • return 500 if server is not running
  • POST /payment

    • create a payment
    • return 200 if payment is created
    • return 500 if payment is not created
  • POST /down

    • make server down
  • POST /up

    • make server up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published