Appearance
API Endpoints
Complete list of all available API endpoints.
Drivers
List Drivers
http
GET /api/v1/driversQuery Parameters:
page(integer, optional): Page number (default: 1)pageSize(integer, optional): Items per page (default: 50)status(string, optional): Filter by status (active,inactive,pending)
Response:
json
{
"success": true,
"data": {
"items": [
{
"id": "drv_abc123",
"ovnId": "OVN123456",
"email": "driver@example.com",
"status": "active",
"walletBalance": 0,
"createdAt": "2025-01-15T10:30:00Z"
}
],
"total": 1,
"page": 1,
"pageSize": 50,
"hasNextPage": false
}
}Get Driver by ID
http
GET /api/v1/drivers/:idCreate Driver
http
POST /api/v1/driversBody:
json
{
"ovnId": "OVN123456",
"email": "driver@example.com",
"phone": "+15551234567"
}Update Driver
http
PUT /api/v1/drivers/:idDelete Driver
http
DELETE /api/v1/drivers/:idPayouts
Create Payout
http
POST /api/v1/payoutsBody:
json
{
"driverId": "drv_abc123",
"amount": 50000,
"description": "Load #12345",
"rail": "standard"
}Rails:
standard- Standard ACH (1-2 business days)instant- Instant payout (seconds to minutes)
List Payouts
http
GET /api/v1/payoutsQuery Parameters:
page,pageSize- PaginationdriverId- Filter by driverstatus- Filter by statusrail- Filter by rail type
Get Payout Details
http
GET /api/v1/payouts/:idCancel Payout
http
POST /api/v1/payouts/:id/cancelRetry Failed Payout
http
POST /api/v1/payouts/:id/retryBatches
Create Batch
http
POST /api/v1/batchesBody:
json
{
"name": "Weekly Payouts 2025-01-15",
"payoutIds": ["payout_1", "payout_2", "payout_3"]
}List Batches
http
GET /api/v1/batchesGet Batch Details
http
GET /api/v1/batches/:idRelease Batch
http
POST /api/v1/batches/:id/releaseRun Batch
http
POST /api/v1/batches/:id/runBalance
Get Wallet Balance
http
GET /api/v1/balanceResponse:
json
{
"success": true,
"data": {
"available": 5000000,
"pending": 250000,
"currency": "USD"
}
}Instant Pay
Request Instant Pay
http
POST /api/v1/payouts/instantBody:
json
{
"driverId": "drv_abc123",
"amount": 50000,
"cardLast4": "1234",
"description": "Instant pay request"
}Get Instant Pay Fee
http
GET /api/v1/payouts/instant/fee?amount=50000Response:
json
{
"success": true,
"data": {
"amount": 50000,
"fee": 250,
"feePercent": 0.5,
"total": 50250,
"estimatedDeposit": 49750
}
}