Complete REST API documentation with interactive examples. Explore all endpoints, authentication methods, and integration possibilities with our comprehensive API reference.
Comprehensive API coverage for all services
Test APIs directly from the documentation
Ready-to-use examples in multiple languages
Explore all available API endpoints with detailed documentation, parameters, and response examples
| Name | Type | Required | Description |
|---|---|---|---|
| string | Required | User email address | |
| password | string | Required | User password |
curl -X POST https://api.nexatech.pk/v1/auth/login \
-H "Content-Type: application/json" \
-d '{
"email": "user@example.com",
"password": "your_password"
}'{
"success": true,
"data": {
"user": {
"id": "user_123",
"email": "user@example.com",
"name": "John Doe"
},
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expires_in": 3600
}
}| Name | Type | Required | Description |
|---|---|---|---|
| id | string | Required | User ID |
curl -X GET https://api.nexatech.pk/v1/users/user_123 \
-H "Authorization: Bearer YOUR_API_TOKEN"{
"success": true,
"data": {
"id": "user_123",
"email": "user@example.com",
"name": "John Doe",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-15T00:00:00Z"
}
}| Name | Type | Required | Description |
|---|---|---|---|
| amount | integer | Required | Amount in cents |
| currency | string | Required | Currency code (PKR, USD) |
| customer_id | string | Required | Customer ID |
curl -X POST https://api.nexatech.pk/v1/payments \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"amount": 10000,
"currency": "PKR",
"customer_id": "cust_123"
}'{
"success": true,
"data": {
"id": "payment_123",
"amount": 10000,
"currency": "PKR",
"status": "pending",
"client_secret": "pi_123_secret_456"
}
}Test our APIs directly from the browser. No setup required - just select an endpoint and send your request.
// Response will appear here after sending a request...
Send a request to see the response
Test against our live API endpoints with real responses
Copy request examples to use in your applications
Test with authentication tokens and custom headers