API Documentation
Integrate Cryptrapay's powerful payment APIs into your applications with our comprehensive documentation.
Quick Start
1. Get Your API Key
Sign up for a Cryptrapay account and generate your API key from the dashboard.
API_KEY=your_api_key_here
2. Make Your First Request
Create a payment request using our REST API.
curl -X POST https://api.cryptrapay.com/v1/payments \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": "100.00",
"currency": "USD",
"crypto_currency": "SOL",
"description": "Payment for services"
}'Core Endpoints
POST
/v1/paymentsCreate a new payment
GET
/v1/payments/payment_idRetrieve payment details
GET
/v1/ratesGet current exchange rates
POST
/v1/webhooksConfigure webhook endpoints
Authentication
All API requests must include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Security Features:
- • HTTPS encryption for all requests
- • Rate limiting protection
- • Request signing for sensitive operations
- • IP whitelisting available
SDKs & Libraries
⚛️
JavaScript/Node.js
Official SDK for web and server applications
🐍
Python
Python SDK for backend integrations
☕
Java
Java library for enterprise applications
Need Help?
Our developer support team is here to help you integrate successfully.