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.

Make your first request · Authentication

GETPOSTPUTPATCHDELETEWebhook

130 operations and 57 webhook events.

Make your first staging request

Set your staging API key in your server environment, then list customers. A matching key returns 200 OK with a list payload.

Terminal · staging
export REVKEEN_API_KEY=rk_sandbox_your_api_key
curl https://staging-api.revkeen.com/v2/customers \
  -H "x-api-key: $REVKEEN_API_KEY" \
  -H "Accept: application/json"

Follow the complete quickstart · Authentication and key setup

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. Send your merchant API key in the x-api-key header, or as Authorization: Bearer <key> — both are accepted:

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.

Create and manage API keys in Dashboard → Settings → Developer. See Authentication for scopes, IP allowlists, rolling, and OAuth 2.1.

Rate limits

EnvironmentRequests / minBurst
Test mode100200
Production1,0002,000
EnterpriseCustomCustom

Rate-limited responses return 429 Too Many Requests with type: rate_limit_error, code: rate_limit_exceeded, and a Retry-After header in whole seconds. Where the limiter publishes them, X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset (a UNIX timestamp in seconds) accompany the response. See Errors.

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

Core Payments

Payment Intents
Refunds

Checkout

Payment Links
Checkout Sessions
Cart Sessions
Cart API Keys
Storefront

Billing & Subscriptions

Invoices
Credit Notes
Subscriptions
Billing

Usage Billing

Meters
Usage Events
Usage

Products & Pricing

Products
Prices

Customers & Vault

Customers
Entitlements

Money Movement

Transactions

Webhooks & Events

Events
Webhook Endpoints

Analytics & Finance

Analytics

Invoice Line Items

Invoice Line Items

Accounting Integrations

Accounting Integrations

Webhook Deliveries

Webhook Deliveries

Customer Portal

Customer Portal

Customer Meters

Customer Meters

Direct Debit

Direct Debit

Mandates

Mandates

Webhook events

Requests sent by RevKeen to your endpoint. Set up signature verification and delivery handling.

Payment succeededWebhook

payment.succeeded

Payment failedWebhook

payment.failed

Invoice createdWebhook

invoice.created

Invoice paidWebhook

invoice.paid

Invoice overdueWebhook

invoice.overdue

Subscription createdWebhook

subscription.created

Subscription activatedWebhook

subscription.activated

Subscription canceledWebhook

subscription.canceled

Subscription renewedWebhook

subscription.renewed

Customer createdWebhook

customer.created

Customer updatedWebhook

customer.updated

Refund createdWebhook

refund.created

Refund succeededWebhook

refund.succeeded

Void createdWebhook

void.created

Void succeededWebhook

void.succeeded

Void failedWebhook

void.failed

Credit note createdWebhook

credit_note.created

Credit note issuedWebhook

credit_note.issued

Credit note voidedWebhook

credit_note.voided

Checkout session completedWebhook

checkout.session.completed

Checkout session expiredWebhook

checkout.session.expired

Order createdWebhook

order.created

Order paidWebhook

order.paid

Terminal payment requestedWebhook

terminal_payment.requested

Terminal payment succeededWebhook

terminal_payment.succeeded

Terminal payment declinedWebhook

terminal_payment.declined

Terminal payment cancelledWebhook

terminal_payment.cancelled

Terminal payment errorWebhook

terminal_payment.error

Terminal refund succeededWebhook

terminal_refund.succeeded

Terminal void succeededWebhook

terminal_void.succeeded

Order fulfilledWebhook

order.fulfilled

Usage threshold reachedWebhook

usage.threshold.reached

Usage period finalizedWebhook

usage.period_finalized

Usage invoice createdWebhook

usage.invoice.created

Usage event ingestedWebhook

usage.event.ingested

Usage event rejectedWebhook

usage.event.rejected

Usage event excludedWebhook

usage.event.excluded

Usage event quarantinedWebhook

usage.event.quarantined

Usage cap exceededWebhook

usage.cap.exceeded

Meter createdWebhook

meter.created

Meter updatedWebhook

meter.updated

Meter archivedWebhook

meter.archived

Meter price createdWebhook

meter_price.created

Meter price updatedWebhook

meter_price.updated

Meter price deactivatedWebhook

meter_price.deactivated

Mandate signedWebhook

mandate.signed

Mandate createdWebhook

mandate.created

Mandate activatedWebhook

mandate.activated

Mandate rejected (AUDDIS)Webhook

mandate.auddis_rejected

Mandate suspendedWebhook

mandate.suspended

Mandate cancelledWebhook

mandate.cancelled

Collection scheduledWebhook

collection.scheduled

Advance notice sentWebhook

collection.notice_sent

Collection succeededWebhook

collection.succeeded

Collection failedWebhook

collection.failed

Indemnity claimedWebhook

collection.indemnity_claimed

Settlement createdWebhook

settlement.created

On this page