- Run
npm installto install project
- Run
npm run startto run server. Listens on localhost:3000.
Each endpoint is a wrapper for Nexio's endpoints. They still require the same Basic auth that Nexio does(https://docs.nexiopay.com/docs/authentication). Also the same query parameters or request body that apply to Nexio's endpoints can be used on these endpoints.
-
The
run_transactionendpoint wraps Nexio'shttps://api.nexiopaysandbox.com/pay/v3/processendpoint. For example,localhost:3000/run_transactionwith the same request body as a request tohttps://api.nexiopaysandbox.com/pay/v3/processwill return the same response. See docs here https://docs.nexiopay.com/reference/runcardtransaction for more details. -
The
view_transactionsendpoint wraps Nexio'shttps://api.nexiopaysandbox.com/transaction/v3endpoint. For example,localhost:3000/view_transactions?kount.&limit=2will return the same data ashttps://api.nexiopaysandbox.com/transaction/v3?kount.&limit=2. See docs here https://docs.nexiopay.com/reference/viewtransactions for more details.