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.

Prerequisites

Before integrating DiamanoPay, make sure you have:

  • Created a DiamanoPay account
  • Generated API credentials from your dashboard
  • Consulted our security guidelines

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: