Welcome to the Quickstart Guide for Directpay. This guide will walk you through the steps to quickly set up our Mono Directpay API so that you can start building and integrating with our services.
Directpay is a seamless tool for making direct bank payments using bank transfer technology. In this guide, we'll show you how to set up the Directpay API quickly and easily.
Before you begin, make sure you have the following prerequisites in place:
- NodeJs and NPM installed
- Sign up on the Mono Dashboard ➡
- Create an App and fetch the generated Secret Key ➡
Follow these steps to set up Mono DirectPay without using Docker:
Step 1: Clone and set up the repository
Download the Mono Directpay web application files from our GitHub repository. Navigate to the project directory using the command line.
git clone <https://github.com/Keyukemi/quickstart-mono-directpay.git> cd quickstart-directpay
Step 2: Install all dependencies using NPM
Step 3: Configure your API key and Secret Key
Do this by editing the
.env file following the
.env.example in the repository
Step 4: Run the project to get started
npm run dev
This will launch the application, and you can access it by opening your browser and navigating to http://localhost:3000.
In this section, you'll configure Mono DirectPay using environment variables stored in a
.env file. Create a file named
.env in the root of the directory and add the following:
your-secret-key with your actual Mono secret key.
Before you start integrating Mono DirectPay into your project, let's run the provided simple web app built with NextJs to ensure everything is set up correctly.
Ensure you have Node.js and npm installed on your machine.
Open a terminal and navigate to the Mono Directpay directory.
Install the necessary dependencies.
Run the app app:
npm run dev
Open your browser and visit http://localhost:3000. You should see the Mono DirectPay web app in action.
Congratulations! You've successfully set up Directpay QuickStart. Now, you're ready to start building awesome applications with our API. Here are some suggested next steps:
- Read our Directpay integration guides for detailed information on setting up.
- Check out the API reference for Directpay and run simple tests on the documentation or Postman.
- For more information like pricing and other details for getting started with mono, see our support materials here.
Link to Github Repo for Directpay QuickStart
Link to Directpay QuickStart
That's it! You're now equipped to start using Directpay in your projects. If you have any questions or encounter any issues, don't hesitate to reach out to our support team at [email protected] or [email protected].
Updated about 2 months ago