Integration Guide
Integrate with Avantulopay using our REST API. Currently, we don't have official SDKs, but our API is straightforward and can be used with any HTTP client.
API-First Integration
Our platform uses a simple REST API that works with any programming language. You can use standard HTTP libraries in your preferred language.
API Base URL
https://api.avantulopay.com/api/v1Authentication
Use your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEYExample Request (JavaScript)
const response = await fetch('https://api.avantulopay.com/api/v1/transfers', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
recipient: 'user@example.com',
amount: 100.00,
currency: 'USDT'
})
});
const data = await response.json();Example Request (Python)
import requests
response = requests.post(
'https://api.avantulopay.com/api/v1/transfers',
headers={
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
json={
'recipient': 'user@example.com',
'amount': 100.00,
'currency': 'USDT'
}
)
data = response.json()Example Request (cURL)
curl -X POST https://api.avantulopay.com/api/v1/transfers \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"recipient": "user@example.com",
"amount": 100.00,
"currency": "USDT"
}'Available Endpoints
User Management
- GET /api/v1/users/profile - Get user profile
- PATCH /api/v1/users/profile - Update profile
Transfers
- POST /api/v1/transfers - Create transfer
- GET /api/v1/transfers - List transfers
- GET /api/v1/transfers/:id - Get transfer details
Wallet
- GET /api/v1/wallet/balance - Get balance
- GET /api/v1/wallet/address - Get deposit address