Skip to main content

Dashboard API Reference

Complete reference for the Dashboard API endpoint. Use this to display a summary of the merchant's payment links, intents, transactions, and balances.

Base URL

https://api.orcarail.com/api/v1

Get Dashboard Summary

Get a summary of the authenticated user's dashboard: totals (links, intents, transactions, earned/withdrawn/remaining USDC), volume series, and recent transactions.

GET /dashboard/summary

Authentication

  • Bearer Token (JWT) - Required

Response

{
"totals": {
"links": 12,
"intents": 8,
"transactions": 42,
"totalEarnedUsdc": "1250.50",
"withdrawnUsdc": "500.0",
"remainingUsdc": "750.5"
},
"volumeSeries": [
{
"month": "2026-01",
"transactionCount": "42"
},
{
"month": "2025-12",
"transactionCount": "38"
}
],
"recentTransactions": [
{
"id": 101,
"status": "confirmed",
"amount": "0.25",
"amountReceived": "0.25",
"createdAt": "2026-01-22T10:45:12.123Z",
"paymentLinkTitle": "Subscription January",
"paymentLinkSlug": "550e8400e29b41d4a716446655440000",
"tokenSymbol": "USDC",
"networkName": "Ethereum",
"payerTokenSymbol": "ETH",
"payerAmount": "0.0012"
}
]
}

Response Fields

FieldTypeDescription
totals.linksnumberNumber of payment links
totals.intentsnumberNumber of payment intents
totals.transactionsnumberNumber of transactions
totals.totalEarnedUsdcstringTotal earned volume in USDC
totals.withdrawnUsdcstringTotal withdrawn in USDC
totals.remainingUsdcstringRemaining balance in USDC
volumeSeriesarrayMonthly transaction counts (month in YYYY-MM)
recentTransactionsarrayRecent transactions with payment link and token/network info

Status Codes

Status CodeDescription
200Success
401Unauthorized
500Internal Server Error

See Also