Mono Directpay
A Quick walkthrough for implementing Mono Directpay API
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.

1. Introduction
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.
2. Prerequisites
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 ➡
3. Setting Up Without Docker
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
npm install
Step 3: Configure your API key and Secret Key
Do this by editing the .env
file following the .env.example
in the repository
SECRET_KEY=your-secret-key
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.
4. Configuration
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:
SECRET_KEY=your-secret-key
Replace your-secret-key
with your actual Mono secret key.
5. Testing Your Setup
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.
Prerequisites
Ensure you have Node.js and npm installed on your machine.
Steps
-
Open a terminal and navigate to the Mono Directpay directory.
-
Install the necessary dependencies.
npm install
-
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.
6. Next Steps
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].
Happy coding!
Updated about 2 months ago