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/v2Use 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_..."| Environment | Key prefix | Description |
|---|---|---|
| Test mode | rk_sandbox_ | No real charges. Safe for development. |
| Live mode | rk_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
| Environment | Requests / min | Burst |
|---|---|---|
| Test mode | 100 | 200 |
| Production | 1,000 | 2,000 |
| Enterprise | Custom | Custom |
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-01Browse by category
Customers
Create and manage customers, payment methods, entitlements, and portal sessions
Products & Pricing
Product catalogue, pricing tiers, and discounts
Invoices
Create, send, and manage invoices and credit notes
Subscriptions
Recurring billing, plan changes, and scheduling
Payments
Payment intents, charges, refunds, and voids
Checkout
Payment links and hosted checkout sessions
Usage Billing
Meters, usage events, and consumption-based billing
Orders
Create, pay, and fulfil orders
Transactions & Payouts
View transactions, disputes, and settlement payouts
Terminal
Card-present payments and terminal device management
Analytics & Finance
Revenue metrics, customer analytics, and financial reports
Webhooks & Events
Event subscriptions, webhook endpoints, and delivery tracking
Automations
Automated workflows with approval gates
Communications
Messaging threads and message delivery
Integrations
External system connections and sync state
Data Management
Bulk import and export data
Customers
Create and manage customers, their payment methods, entitlements, and portal sessions.
Customers
/customersCreate a new customerGET/customersList customersGET/customers/{id}Get customer by IDPATCH/customers/{id}Update customer detailsGET/customers/{id}/payment-methodsGet payment methodsGET/customers/{id}/invoicesList customer invoicesGET/customers/{id}/subscriptionsList customer subscriptionsGET/customers/{id}/ordersList customer ordersGET/customers/{id}/paymentsList customer paymentsPOST/customers/{id}/portal-sessionsCreate a portal sessionPUT/customers/external/batchBatch upsert customersPUT/customers/external/{source}/{id}Upsert by external IDEntitlements
/customers/{id}/entitlementsList customer entitlementsPOST/customers/{id}/entitlementsGrant entitlementGET/customers/{id}/entitlements/checkCheck entitlementDELETE/customers/{id}/entitlements/{eid}Revoke by IDDELETE/customers/{id}/entitlementsRevoke by benefit keyGET/entitlementsList entitlementsGET/entitlements/checkCheck entitlement accessCustomer Portal
/customer-portal/customerGet portal customerGET/customer-portal/invoicesList portal invoicesGET/customer-portal/invoices/{id}Get portal invoiceGET/customer-portal/subscriptionsList portal subscriptionsGET/customer-portal/subscriptions/{id}Get portal subscriptionPOST/customer-portal/subscriptions/{id}/cancelCancel portal subscriptionPOST/customer-portal/sessionsCreate portal sessionProducts & Pricing
Manage your product catalogue, pricing tiers, and discounts.
Products
Prices
Discounts
Invoices & Credit Notes
Create, send, and manage invoices. Issue credit notes for partial or full refunds.
Invoices
/invoicesCreate invoiceGET/invoicesList invoicesGET/invoices/{id}Get invoicePATCH/invoices/{id}Update invoiceDELETE/invoices/{id}Delete invoicePOST/invoices/{id}/finalizeFinalize an invoicePOST/invoices/{id}/sendSend an invoicePOST/invoices/{id}/payRecord a paymentPOST/invoices/{id}/voidVoid an invoicePOST/invoices/{id}/refundRefund invoicePOST/invoices/{id}/rejectReject invoiceGET/invoices/{id}/commentsList invoice commentsPOST/invoices/{id}/commentsAdd invoice commentPUT/invoices/external/batchBatch upsert invoicesPUT/invoices/external/{source}/{externalId}Upsert invoice by external IDCredit Notes
/credit_notesCreate a credit noteGET/credit_notesList credit notesGET/credit_notes/{id}Get credit note by IDPOST/credit_notes/{id}/voidVoid a credit notePOST/credit_notes/previewPreview a credit noteGET/credit_notes/{id}/linesList line itemsGET/credit_notes/invoice/{id}/eligibilityCheck credit eligibilityGET/credit_notes/transaction/{id}/reversal-eligibilityCheck reversal eligibilitySubscriptions
Create and manage recurring billing, plan changes, and billing schedules.
Subscriptions
/subscriptionsCreate a new subscriptionGET/subscriptionsList subscriptionsGET/subscriptions/{id}Get subscription by IDPATCH/subscriptions/{id}Update subscription detailsDELETE/subscriptions/{id}Delete subscriptionPOST/subscriptions/{id}/change-planChange subscription planPOST/subscriptions/{id}/change-quantityChange quantityPOST/subscriptions/{id}/pausePause subscriptionPOST/subscriptions/{id}/resumeResume subscriptionPOST/subscriptions/{id}/cancelCancel subscriptionPOST/subscriptions/{id}/reactivateReactivate subscriptionPOST/subscriptions/{id}/preview-renewalPreview renewalSubscription Items
Subscription Schedules
/subscription-schedulesCreate a subscription scheduleGET/subscription-schedulesList subscription schedulesGET/subscription-schedules/{id}Retrieve a schedulePOST/subscription-schedules/{id}Update a schedulePOST/subscription-schedules/{id}/cancelCancel a schedulePOST/subscription-schedules/{id}/releaseRelease a scheduleBilling
Payments
Process one-time payments, capture authorized charges, and manage refunds and voids.
Payment Intents
/payment-intentsCreate a payment intentGET/payment-intentsList payment intentsGET/payment-intents/{id}Retrieve a payment intentPOST/payment-intents/{id}Update a payment intentPOST/payment-intents/{id}/confirmConfirm a payment intentPOST/payment-intents/{id}/captureCapture a payment intentPOST/payment-intents/{id}/cancelCancel a payment intentCharges
Checkout
Create payment links and hosted checkout sessions for your customers.
Payment Links
/payment-linksCreate a new payment linkGET/payment-linksList payment linksGET/payment-links/{id}Get payment link by IDPATCH/payment-links/{id}/statusUpdate payment link statusPOST/payment-links/{id}/expireExpire a payment linkPOST/payment-links/{id}/activateActivate a payment linkPOST/payment-links/{id}/deactivateDeactivate a payment linkPOST/payment-links/{id}/archiveArchive a payment linkCheckout Sessions
Usage Billing
Ingest usage events, define meters, and bill customers based on consumption.
Meters
/metersCreate a meterGET/metersList metersGET/meters/{id}Get a meterPATCH/meters/{id}Update a meterPOST/meters/{id}/pricesCreate a meter priceGET/meters/{id}/pricesList meter pricesPATCH/meters/{id}/prices/{priceId}Update a meter pricePOST/meters/{id}/prices/{priceId}/deactivateDeactivate a meter priceUsage Events
Usage Balance
Customer Meters
Orders
Create, pay for, and fulfil orders.
Orders
Transactions & Payouts
View transactions, disputes, and settlement payouts across all payment activity.
Disputes
Payouts
Terminal
Initiate and manage in-person payments through connected terminal devices.
Terminal Payments
/terminal-paymentsInitiate a terminal paymentGET/terminal-paymentsList terminal paymentsGET/terminal-payments/{id}Retrieve a terminal paymentPOST/terminal-payments/{id}/cancelCancel a terminal paymentPOST/terminal-payments/{id}/refundRefund a terminal paymentPOST/terminal-payments/{id}/voidVoid a terminal paymentTerminal Devices
Analytics & Finance
Access revenue metrics, customer analytics, checkout funnels, and financial reports.
Revenue
Collections & Invoices
Customer Analytics
Checkout Analytics
/analytics/payment-links/conversionPayment Link ConversionGET/analytics/checkout/funnelCheckout Funnel AnalyticsGET/analytics/checkout/abandonment/summaryAbandonment SummaryGET/analytics/checkout/abandonmentList Abandonment AlertsGET/analytics/checkout/winback/summaryWinback SummaryGET/analytics/checkout/winbackList Winback OpportunitiesWebhooks & Events
Subscribe to real-time event notifications and manage webhook endpoints.
Events
Webhook Endpoints
Webhook Deliveries
Automations
Create and manage automated workflows with approval gates.
Automations
/automationsCreate an automationGET/automationsList automationsGET/automations/{id}Retrieve an automationPOST/automations/{id}/runsRun an automationGET/automations/{id}/runsList runs for an automationGET/automations/{id}/runs/{runId}Retrieve a runGET/automations/approvalsList approvalsPOST/automations/approvals/{id}/approveApprove an approvalPOST/automations/approvals/{id}/rejectReject an approvalCommunications
Manage messaging threads and send messages to customers.
Messages
Integrations
Connect RevKeen with external systems, manage sync state, and configure provider mappings.
Integrations
/integrationsList all integrationsGET/integrations/{provider}Get integration statusPOST/integrations/{provider}/activateActivate integrationPOST/integrations/{provider}/deactivateDeactivate integrationPOST/integrations/{provider}/testTest integration credentialsPOST/integrations/{provider}/syncTrigger manual syncPUT/integrations/{provider}/statusUpdate integration statusPUT/integrations/{provider}/sync-toggleToggle integration syncPUT/integrations/{provider}/sync-intervalUpdate sync intervalExternal Sync
Data Management
Import and export data in bulk.