RESTful API
Clean, predictable endpoints for all operations
API Overview
Our RESTful API follows industry standards with intuitive resource-based URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.
HTTP Methods
GET, POST, PUT, DELETE
Response Format
JSON with UTF-8 encoding
Rate Limits
1000 requests/hour
Common Endpoints
POST
/api/v1/transactionsCreate a new transaction
GET
/api/v1/transactions/:idGet transaction details
GET
/api/v1/transactionsList all transactions
POST
/api/v1/walletsCreate a wallet
GET
/api/v1/wallets/:idGet wallet balance
GET
/api/v1/ratesGet exchange rates
Example Request
curl https://api.dunepay.com/v1/transactions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": 100.00,
"currency": "USD",
"recipient": "user@example.com"
}'