Developer API

Build with the PayRequest API

Create payment links, invoices, and automate billing with a single API call. REST API + signed webhooks. Works with Stripe, Mollie, PayPal — one endpoint, every provider.

Create a payment link
# One call. Get a shareable payment URL back.
curl -X POST https://payrequest.app/api/v1/payment-links \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"description": "Invoice #1234", "amount": 49.00}'
# Response
{
"success": true,
"data": {
"url": "https://payrequest.me/yourshop/invoice-1234",
"amount": 49.00,
"currency": "EUR"
}
}

What people build with it

You don't need to be a developer to use the API. If your tool can make an HTTP request, you're good to go.

Hosting & WHMCS panels

When a client's hosting plan is due, auto-generate a payment link and email it. No manual invoicing.

"When subscription renews → create link → email customer"

SaaS usage billing

When a customer hits a usage tier or upgrades a plan, fire a payment request in the background.

"Usage exceeded → POST /v1/payment-links → notify user"

Agency & freelance CRMs

When a project is approved in Notion, Linear or your custom CRM, trigger an invoice via API or Zapier.

"Deal closed → create invoice → send reminder"

E-commerce custom orders

Create a payment link for custom orders that don't fit your standard checkout — works for any amount.

"Custom quote accepted → generate link → customer pays"

Reconciliation & reporting

Use the description field as your reference. Query GET /v1/payments?description=ORDER-123 to check payment status.

"GET /v1/payments?description=INV-042&status=paid"

Webhook automation

When payment.succeeded fires, unlock software access, provision servers, or update your database automatically.

"Payment confirmed → activate license → send email"

API Endpoints

Everything you need to bill customers programmatically. All endpoints return JSON.

Payment Links

Generate fixed-amount shareable links on the fly. Use the description field as your reference for reconciliation.

POSTGET

Payments

Query and reconcile incoming payments. Filter by description, status, or date range.

GET

Invoices

Create professional invoices, get stats, list overdue, and send payment reminders.

POSTGET

Webhooks

Receive signed HMAC-SHA256 events when payments succeed — no polling needed.

EVENT

Customers

Manage your customer database and track purchase history.

POSTGET

Subscriptions

Create recurring billing plans and manage subscriber lifecycle.

POSTGET

Available Endpoints

MethodPathDescriptionScope
POST/v1/payment-linksCreate a payment linkbilling.write
GET/v1/payment-linksList payment linksbilling.read
GET/v1/paymentsList & filter paymentsbilling.read
GET/v1/invoicesList invoicesbilling.read
GET/v1/invoices/statsInvoice statisticsbilling.read
GET/v1/invoices/overdueOverdue invoicesbilling.read
POST/v1/invoicesCreate an invoicebilling.write
POST/v1/invoices/{id}/reminderSend payment reminderbilling.write

Built for Developers

Everything you need to integrate PayRequest into your applications quickly and securely.

OAuth2 Bearer Tokens

Scoped API tokens — request only the permissions you need. Rotate instantly from the dashboard.

Signed Webhooks

Every webhook is HMAC-SHA256 signed. Verify authenticity in milliseconds — reject fakes.

60 req/min

Standard rate limit with burst to 100/min. Rate limit headers included in every response.

One Endpoint, Every Provider

Same API whether your customer pays via Stripe, Mollie or PayPal. Switch providers without changing your integration.

Quick Start Guide

From zero to first payment link in under 5 minutes.

1
Create an Account
Sign up for PayRequest and connect your payment provider (Stripe, Mollie or PayPal).
2
Get Your API Key
Go to Settings → API Tokens. Create a token with the billing.write scope.
3
Make Your First Call
POST to /v1/payment-links with a description and amount. You get a payment URL back.
4
Go Live
Share the URL with your customer. Get notified via webhook when they pay.
Webhook — payment.succeeded
// Receive & verify signed events
POST https://your-app.com/webhooks
X-PayRequest-Signature: sha256=abc...
{
"event": "payment.succeeded",
"data": {
"description": "Invoice #1234",
"amount": 49.00,
"payment_method": "ideal",
"paid_at": "2026-05-30T12:00:00Z"
}
}
// → unlock access, send receipt, update DB

Ready to Start Building?

Free plan includes full API access. Pay 2% only when a payment succeeds — capped at €25 per transaction.