Developer Documentation
Welcome to the Diamanopay API documentation. This guide will help you integrate our payment services into your application. The base URL for all API endpoints is https://api.diamanopay.com.
Simple & Powerful API Workflow
1. Authentication
Get a Bearer Token using your API credentials.
2. Create Charge
Initiate a payment and get a payment URL.
3. Webhook
Receive a real-time notification on payment status.
4. Get Transaction
Securely verify the transaction details.
Important Security Note
Never expose your API credentials in client-side code. Always keep your client_id and client_secret secure on your backend.
1. Authentication
Diamanopay uses OAuth2 for API authentication. All requests to the API must be authenticated with a Bearer Token.
There are two ways to obtain an access_token: