LogoLogo
  • GET STARTED
    • Integration Guide
    • Quick Start
  • Webhooks
    • Webhooks
      • Register a webhook
      • Webhook notification
      • Verify webhook
  • Payment APIs
    • Collect Payments
      • Virtual Accounts
        • Create a single-use virtual account
        • Create a multi-use virtual account
        • Update a virtual account
        • Delete a virtual account
        • List all virtual accounts
        • Get details of a virtual account
      • Digital Wallets
        • Create a wallet
        • List all wallets
        • Get details of a wallet
        • Transfer between wallets
        • Transfer to business
        • Sweep wallet balances
        • Get wallet balance
      • Customers
        • Create a customer
        • List all customers
        • Get customer details
      • Invoices
        • Create an invoice
        • Edit invoice
        • Resend invoice
        • List all invoices
        • Get invoice details
    • Make Payments
      • Request OTP to initiate payout
      • Get a list of registered banks
      • Get Wallet Balance
      • Verify account number
      • Initiate a payout
      • Get all transactions
      • Get details of a transaction
      • Recipients
        • Create a recipient
        • List all recipient
        • Get a recipient's details
        • Delete a recipient
        • Get recipients summary
    • Duplo Checkout
      • Checkout Redirect
        • Generate a checkout URL
      • Checkout SDK
      • Verify checkout transaction
    • Make Payments v2
      • Initiate a Payout v2
      • Resend OTP
      • Process Payout
      • Get details of a Transaction v2
Powered by GitBook
On this page
  • API Keys
  • Business ID
  • Authentication

Was this helpful?

  1. GET STARTED

Integration Guide

👋 Hi! Welcome to Duplo API Documentation where you'll learn how to use the Duplo's powerful APIs to automate your business payments. Let's walk you through how to integrate with Duplo APIs.

NextQuick Start

Last updated 1 year ago

Was this helpful?

We wrote these docs assuming you are familiar with APIs and can make API calls.

API Keys

In order to integrate with Duplo, you are required to have a Duplo account and an API key.

, if you don't have one.

Follow the steps below to get your API key.

  • On your dashboard, you'll notice you're automatically in Test mode.

  • Select the on your dashboard.

  • Click on the Developer tab.

  • Click the copy button beside your API key on the dashboard.

Business ID

When making API calls, you may need to supply the business_id . This is an alphanumeric key we automatically generate for new businesses.

  1. On your dashboard, click on "Settings" and then on "Developer"

  2. Click on the copy icon to copy your business_id to the clipboard.

We have two environments: live and test mode. Please ensure that your account is on test mode when making use of the Test API key. Once you are done with your test, complete our compliance requirements so you can switch your account to live to get your live API key.

Authentication

Treat your API keys like your credit card because they carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub or Bitbucket, client-side code, and so forth.

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.

Authorization headers should be in the following format: Authorization: Bearer SECRET_KEY

Sample authorization header

Authorization: Bearer dp_test_P2tH90snfuQB0qlPopnhdgkOpbs...

Follow the steps below to get your business_id.

Duplo uses API keys to authenticate requests. You can view and manage your API keys on the . Test mode secret keys have the prefix dp_test and live mode secret keys have the prefix dp_live.

👉
Duplo Dashboard
👉
👉
Click here to create an account on Duplo
settings menu