Developer Documentation
Everything you need to integrate DiamanoPay into your applications
Environments
Production
Live
Live environment for real transactions
https://api.diamanopay.com
Important Security Note
Never expose your API credentials in client-side code. Always keep your client_id and client_secret secure on your backend.
Payment Page
The simplest way to integrate DiamanoPay
- No frontend implementation needed
- Automatic updates and improvements
- Simplified integration process
- Consistent user experience
CMS Plugins
Ready-to-use plugins for popular platforms
SDKs
Official libraries for popular languages
Mobile Testing App
Use our mobile testing app to simulate Wave and Orange Money QR code scanning in the sandbox environment.
Getting Started with Authentication
To authenticate your API requests, you'll need to obtain an access token using your client credentials.
Request
POST /oauth2/token
Content-Type: application/x-www-form-urlencoded
client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET&grant_type=client_credentials
Response
{
"accessToken": "eyJhbGciOiJIUzI1NiIs...",
"accessTokenExpiresAt": "2024-03-21T15:00:00Z",
"refreshToken": "def502...",
"refreshTokenExpiresAt": "2024-04-21T15:00:00Z"
}