Build with Avantulo Pay API
Powerful APIs and SDKs to integrate seamless payment experiences into your applications. Start accepting payments in minutes, not weeks.
// Create a payment link via Merchant API
const response = await fetch('https://api.avantulopay.com/api/v1/merchant/payment-links', {
method: 'POST',
headers: {
'X-API-Key': 'your_api_key',
'X-API-Secret': 'your_api_secret',
'Content-Type': 'application/json'
},
body: JSON.stringify({
title: 'Product Purchase',
amount: 100.00,
currency: 'USD',
description: 'Order #12345'
})
});
const { data } = await response.json();
console.log('Payment URL:', data.url);RESTful API Documentation
Our well-documented REST API makes it easy to integrate payments into any application. All API responses are returned in JSON format.
Base URL
https://api.avantulopay.com/api/v1/merchantNote: Merchant API requires Business account with KYC Level 2 or higher
Merchant Account
/api/v1/merchant/registerRegister merchant account
/api/v1/merchant/accountGet merchant account details
/api/v1/merchant/regenerate-credentialsRegenerate API credentials
Payment Links
/api/v1/merchant/payment-linksCreate a payment link
/api/v1/merchant/payment-linksList all payment links
/api/v1/merchant/payment-links/:idGet payment link details
/api/v1/merchant/payment-links/:idUpdate payment link
Invoices
/api/v1/merchant/invoicesCreate an invoice
/api/v1/merchant/invoicesList invoices
/api/v1/merchant/invoices/:idGet invoice details
/api/v1/merchant/invoices/:id/sendSend invoice to customer
Webhooks
/api/v1/merchant/webhooksGet webhook delivery history
/api/v1/merchant/webhooks/testTest webhook endpoint
Authentication
All API requests must include your API credentials in request headers:
X-API-Key: YOUR_API_KEY
X-API-Secret: YOUR_API_SECRET
Content-Type: application/jsonGet your API credentials from: Dashboard → Merchant → API Keys
Integration Examples
Use our REST API with any programming language. Here are examples in popular languages to get you started.
JavaScript / Node.js
const response = await fetch('https://api.avantulopay.com/api/v1/merchant/payment-links', {
method: 'POST',
headers: {
'X-API-Key': process.env.AVANTULO_API_KEY,
'X-API-Secret': process.env.AVANTULO_API_SECRET,
'Content-Type': 'application/json'
},
body: JSON.stringify({
title: 'Product Purchase',
amount: 100.00,
currency: 'USD'
})
});
const { data } = await response.json();Python
import requests
response = requests.post(
'https://api.avantulopay.com/api/v1/merchant/payment-links',
headers={
'X-API-Key': os.getenv('AVANTULO_API_KEY'),
'X-API-Secret': os.getenv('AVANTULO_API_SECRET'),
'Content-Type': 'application/json'
},
json={
'title': 'Product Purchase',
'amount': 100.00,
'currency': 'USD'
}
)
data = response.json()PHP
$ch = curl_init('https://api.avantulopay.com/api/v1/merchant/payment-links');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . $_ENV['AVANTULO_API_KEY'],
'X-API-Secret: ' . $_ENV['AVANTULO_API_SECRET'],
'Content-Type: application/json'
],
CURLOPT_POSTFIELDS => json_encode([
'title' => 'Product Purchase',
'amount' => 100.00,
'currency' => 'USD'
])
]);
$response = curl_exec($ch);
$data = json_decode($response);cURL
curl -X POST https://api.avantulopay.com/api/v1/merchant/payment-links \
-H "X-API-Key: YOUR_API_KEY" \
-H "X-API-Secret: YOUR_API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"title": "Product Purchase",
"amount": 100.00,
"currency": "USD"
}'Requirements
Merchant API is available for Business accounts with KYC Level 2 or higher. Get your API credentials from: Dashboard → Merchant → API Keys
Merchant Dashboard Features
Manage your payments, view analytics, and access API tools from our merchant dashboard
API Keys Management
Generate and manage API keys with secure credential storage
- Key generation
- Secure storage
- Activity tracking
Payment Links
Create shareable payment links for products and services
- Instant creation
- QR codes
- Usage tracking
Professional Invoices
Generate and send invoices to customers via email
- PDF generation
- Email delivery
- Payment tracking
Analytics Dashboard
Track transactions, revenue, and merchant performance
- Real-time stats
- Revenue tracking
- Transaction history
Ready to get started?
Complete KYC Level 2 verification and activate your Business account to access Merchant features
Activate Merchant AccountQuick Start Examples
Copy and paste these examples to start integrating Avantulo Pay API into your application
Create Payment Link
curl -X POST https://api.avantulopay.com/api/v1/merchant/payment-links \
-H "X-API-Key: your_api_key" \
-H "X-API-Secret: your_api_secret" \
-H "Content-Type: application/json" \
-d '{
"title": "Product Purchase",
"amount": 100.00,
"currency": "USD",
"description": "Order #12345"
}'Get Payment Link
curl https://api.avantulopay.com/api/v1/merchant/payment-links/LINK_ID \
-H "X-API-Key: your_api_key" \
-H "X-API-Secret: your_api_secret"Create Invoice
curl -X POST https://api.avantulopay.com/api/v1/merchant/invoices \
-H "X-API-Key: your_api_key" \
-H "X-API-Secret: your_api_secret" \
-H "Content-Type: application/json" \
-d '{
"customerEmail": "customer@example.com",
"customerName": "John Doe",
"amount": 250.00,
"currency": "USD",
"dueDate": "2025-12-31",
"items": [
{
"description": "Consulting Service",
"quantity": 5,
"unitPrice": 50.00
}
]
}'Ready to Start Building?
Activate your Business account and get API credentials to start accepting payments
Developer Support & Community
Get help when you need it. Our developer community and support team are here to help you succeed.
Email Support
Contact our support team for technical assistance and integration help
Live Chat
Get instant help from our AI assistant, available 24/7 on the platform
Contact Form
Send us your questions and we'll get back to you with detailed answers
Developer Resources
Need Help with Integration?
Our support team is ready to help you with API integration, payment setup, and technical questions.
Merchant API requires Business account with KYC Level 2+. Get started today and unlock payment integration features.