Pryro API

RESTful API built for enterprise scale. 200+ endpoints, 99.99% uptime.

Quick Start

curl -X GET https://api.pryro.com/v1/financials \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
200+ Endpoints
Complete API coverage
99.99% Uptime
Enterprise reliability
10K req/sec
High performance
<50ms avg
Response time

Response Time Metrics

Accounts Payable
42ms
avg response
Accounts Receivable
38ms
avg response
General Ledger
45ms
avg response
Inventory
52ms
avg response
Financial Reports
68ms
avg response
Tax & Compliance
55ms
avg response

API Features

RESTful & GraphQL support
OAuth 2.0 authentication
Real-time webhooks
Rate limiting & throttling
Comprehensive documentation
SDK libraries (Python, JS, Java, Ruby)

API Endpoints

GET/v1/financials
POST/v1/invoices
GET/v1/inventory
PUT/v1/customers/:id
GET/v1/analytics
POST/v1/payments
GET/v1/expenses
POST/v1/purchase-orders
GET/v1/ledger
POST/v1/journal-entries

OAuth 2.0 Authentication Flow

1. Authorization Request
User initiates login
2. User Consent
Approve permissions
3. Access Token
API access granted

Authentication

// Using Bearer Token
const
response = await fetch('https://api.pryro.com/v1/data', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
});

Accounting & Finance Endpoints

Accounts Payable

GET/v1/ap/bills
POST/v1/ap/payments
GET/v1/ap/vendors
PUT/v1/ap/bills/:id

Accounts Receivable

GET/v1/ar/invoices
POST/v1/ar/receipts
GET/v1/ar/customers
PUT/v1/ar/invoices/:id

General Ledger

GET/v1/gl/accounts
POST/v1/gl/journal-entries
GET/v1/gl/trial-balance
GET/v1/gl/chart-of-accounts

Inventory Management

GET/v1/inventory/items
POST/v1/inventory/adjustments
GET/v1/inventory/stock-levels
PUT/v1/inventory/items/:id

Invoice Creation Example

// POST /v1/ar/invoices
{
"customer_id": "CUST-001",
"invoice_date": "2025-01-15",
"due_date": "2025-02-15",
"line_items": [
{
"description": "Professional Services",
"quantity": 10,
"unit_price": 150.00,
"tax_rate": 0.10
}
],
"currency": "USD"
}

Python SDK

pip install pryro-sdk
from
pryro import Client
client = Client(api_key)

JavaScript SDK

npm install @pryro/sdk
import
Pryro from '@pryro/sdk'
const pryro = new Pryro()

Ruby SDK

gem install pryro
require
'pryro'
client = Pryro::Client.new

Financial Reports API

Financial Statements

GET/v1/reports/balance-sheet
GET/v1/reports/income-statement
GET/v1/reports/cash-flow
GET/v1/reports/profit-loss

Tax & Compliance

GET/v1/tax/vat-report
GET/v1/tax/sales-tax
POST/v1/tax/filing
GET/v1/compliance/audit-trail

Rate Limits

Free Tier1,000 req/day
Pro Tier100,000 req/day
EnterpriseUnlimited

Response Codes

200Success
400Bad Request
401Unauthorized
429Rate Limit Exceeded
500Server Error

Error Handling

// Error Response Format
{
"error": {
"code": "INVALID_REQUEST",
"message": "Missing required parameter",
"details": "Field 'email' is required"
}
}

Changelog & Updates

v1.8.0Jan 15, 2025
  • Added bulk invoice creation endpoint
  • Improved tax calculation accuracy
  • New webhook events for inventory updates
v1.7.5Dec 20, 2024
  • Enhanced rate limiting for enterprise tier
  • Fixed pagination issue in ledger endpoints
  • Added support for multi-currency transactions
v1.7.0Nov 30, 2024
  • Launched Financial Reports API
  • OAuth 2.0 authentication now available
  • Deprecated v0.9 endpoints (sunset: March 2025)

Ready to integrate?

Get your API key and start building in minutes

Get API Access