RevKeenDocs

API Reference

Complete REST API reference for the RevKeen billing and payments platform

The RevKeen API is organized around REST. It accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.

Base URL

https://api.revkeen.com/v2

Use https://staging-api.revkeen.com/v2 for test mode. No real charges are created in test mode.

Authentication

All API requests require authentication via the x-api-key header:

curl https://api.revkeen.com/v2/invoices \
  -H "x-api-key: rk_live_..."
EnvironmentKey prefixDescription
Test moderk_sandbox_No real charges. Safe for development.
Live moderk_live_Real transactions. Use in production.

Get your API keys from Dashboard > Settings > API Keys. See Authentication for OAuth 2.1 and scoped keys.

Rate limits

EnvironmentRequests / minBurst
Test mode100200
Production1,0002,000
EnterpriseCustomCustom

Rate-limited responses return 429 Too Many Requests with a Retry-After header. See Rate Limits.

Idempotency

All POST endpoints accept an Idempotency-Key header (UUID v4 recommended). Keys are valid for 24 hours. Duplicate requests within the TTL return the original response. See Idempotency.

Versioning

The API is versioned by date. Pin a version via the RevKeen-Version header:

RevKeen-Version: 2026-05-01

Browse by category

👤

Customers

26 endpoints

Create and manage customers, payment methods, entitlements, and portal sessions

CRUDPayment MethodsEntitlementsPortal
📦

Products & Pricing

16 endpoints

Product catalogue, pricing tiers, and discounts

ProductsPricesDiscounts
📄

Invoices

23 endpoints

Create, send, and manage invoices and credit notes

InvoicesCredit NotesComments
🔄

Subscriptions

25 endpoints

Recurring billing, plan changes, and scheduling

LifecycleItemsSchedules
💳

Payments

20 endpoints

Payment intents, charges, refunds, and voids

IntentsChargesRefundsVoids
🛒

Checkout

11 endpoints

Payment links and hosted checkout sessions

Payment LinksSessions
📊

Usage Billing

15 endpoints

Meters, usage events, and consumption-based billing

MetersEventsBalance
🛍️

Orders

7 endpoints

Create, pay, and fulfil orders

CRUDPayFulfil
💰

Transactions & Payouts

8 endpoints

View transactions, disputes, and settlement payouts

TransactionsDisputesPayouts
🖥️

Terminal

8 endpoints

Card-present payments and terminal device management

PaymentsDevices
📈

Analytics & Finance

14 endpoints

Revenue metrics, customer analytics, and financial reports

MRRLTVCheckoutDSO
🔔

Webhooks & Events

13 endpoints

Event subscriptions, webhook endpoints, and delivery tracking

EventsEndpointsDeliveries

Automations

9 endpoints

Automated workflows with approval gates

WorkflowsRunsApprovals
💬

Communications

3 endpoints

Messaging threads and message delivery

ThreadsMessages
🔗

Integrations

11 endpoints

External system connections and sync state

ProvidersSync
📁

Data Management

4 endpoints

Bulk import and export data

ImportsExports

Customers

Create and manage customers, their payment methods, entitlements, and portal sessions.


Products & Pricing

Manage your product catalogue, pricing tiers, and discounts.


Invoices & Credit Notes

Create, send, and manage invoices. Issue credit notes for partial or full refunds.


Subscriptions

Create and manage recurring billing, plan changes, and billing schedules.


Payments

Process one-time payments, capture authorized charges, and manage refunds and voids.


Checkout

Create payment links and hosted checkout sessions for your customers.


Usage Billing

Ingest usage events, define meters, and bill customers based on consumption.


Orders

Create, pay for, and fulfil orders.


Transactions & Payouts

View transactions, disputes, and settlement payouts across all payment activity.


Terminal

Initiate and manage in-person payments through connected terminal devices.


Analytics & Finance

Access revenue metrics, customer analytics, checkout funnels, and financial reports.


Webhooks & Events

Subscribe to real-time event notifications and manage webhook endpoints.


Automations

Create and manage automated workflows with approval gates.


Communications

Manage messaging threads and send messages to customers.


Integrations

Connect RevKeen with external systems, manage sync state, and configure provider mappings.


Data Management

Import and export data in bulk.