LianFlow this web3 payment gateway is built around the NEO X blockchain based on REST principles and powered by FastAPI.
Standard request and response codes are used alongside accepting JSON in its request body. It makes use of API keys and JWTs for authentication and authorization processes.
To begin, create an account. We will make a POST
request to the signup endpoint to do this -https://neox-hackathon.onrender.com/users/signup
which should also provide us an API key at the end of the step.
An example request with Postman is shown below.
Note: Authentication API keys can equally be gotten by going to Settings >> API Keys >> ‘Generate new API Keys’ on your dashboard. Here is what this step looks like on the frontend:
Dashboard showing an API Key.
After authenticating, you are now ready to make use of the API to carry out transactions.