Build with PayRequest
Automate your billing workflows with our powerful REST API. Create invoices, track payments, and manage customers programmatically. Perfect for SaaS platforms, AI agents, and custom integrations.
curl -X POST \
https://payrequest.app/api/v1/invoices \
-H "Authorization: Bearer $TOKEN"{
"id": 1542,
"status": "pending",
"payment_url": "https://pay.payrequest.io/..."
}What you can build
Our API gives you full control over your billing operations. From simple invoice automation to complex AI-powered billing agents.
Automated Invoicing
Create, send, and manage invoices programmatically. Perfect for recurring billing, usage-based pricing, and bulk operations.
Real-time Data
Access billing statistics, payment status, and customer data instantly. Build dashboards, reports, and monitoring tools.
Payment Reminders
Automate follow-ups for unpaid invoices. Reduce manual work and improve collection rates with smart reminder workflows.
AI-Ready
Built for modern AI workflows. Native MCP server support lets AI agents manage billing autonomously with full context.
Connect AI assistants with MCP
The Model Context Protocol lets AI assistants like Claude, ChatGPT, and Gemini interact with your billing data using natural language. Manage invoices, track payments, and send reminders — all through conversation.
Show me all overdue invoices
I found 3 overdue invoices totaling €847.50...
Simple, powerful API
RESTful endpoints with clear responses. Get started in minutes with your favorite language.
Core Endpoints
curl -X POST https://payrequest.app/api/v1/invoices \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"customer_id": 123,
"date": "2026-01-29",
"due_date": "2026-02-28",
"items": [{
"description": "Monthly subscription",
"quantity": 1,
"unit_price": 29.00
}]
}'{
"data": {
"id": 1542,
"invoice_number": "INV-2026-0042",
"status": "pending",
"total": 29.00,
"currency": "EUR",
"payment_url": "https://pay.payrequest.io/i/abc123"
}
}Secure by design
Industry-standard OAuth2 with granular scopes. Control exactly what each integration can access.
Token Expiration
Available Scopes
Permission scopes for API access
Built for real workflows
See how developers use our API to automate billing and build powerful integrations.
SaaS Billing
Automate subscription invoicing, usage-based billing, and dunning flows. Sync with your existing systems.
Invoice Automation
Generate invoices from CRM deals, project completions, or custom triggers. Eliminate manual data entry.
AI Billing Agents
Let AI handle invoice creation, payment follow-ups, and customer queries using natural language.
Custom Dashboards
Build internal tools with real-time billing data. Track revenue, outstanding payments, and trends.
Rate Limits
Generous limits with clear headers
Ready to integrate?
Get your API token in minutes. Full documentation with examples in multiple languages.
Free tier available • No credit card required