👋 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.
In order to integrate with Duplo, you are required to have a Duplo account and an API key.
Follow the steps below to get your API key.
- Click the copy button beside your API key on the dashboard.
When making API calls, you may need to supply the
business_id. This is an alphanumeric key we automatically generate for new businesses.
Follow the steps below to get your
- 1.On your dashboard, click on "My Profile" under this icon
- 2.Click on the copy icon to copy your
business_idto the clipboard.
Duplo uses API keys to authenticate requests. You can view and manage your API keys on the Duplo Dashboard. Test mode secret keys have the prefix
dp_testand live mode secret keys have the prefix
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