API Reference — quick guide to endpoint groups
This page gives you a high-level overview. For complete request/response schemas, parameters, and examples, see the OpenAPI/Swagger spec.
Quick Start
Base URL: Use the environment-specific base URL shown in the OpenAPI/Swagger spec:- Sandbox:
api-sandbox.revolv3.com(for testing) - Production:
api.revolv3.com(for live transactions)
x-revolv3-token header on every request.
Content Type: application/json for all requests.
Errors: Check HTTP status codes. Error responses include an internal error code and a human-readable message to help you debug.
Endpoint Groups Overview
Here’s what each group of endpoints does and when you’d use them:Authentication & Keys
What it’s for: Managing API keys and authentication tokens for your account. When to use:- Getting your API keys for authentication
- Rotating or managing API credentials
- Setting up authentication for your integration
POST /auth/token— Generate authentication tokensGET /auth/keys— Retrieve your API keys
Customers
What it’s for: Managing customer records in Revolv3. Customers are optional but useful for tracking all of a customer’s payments, subscriptions, and payment methods together. When to use:- Creating customer profiles before subscriptions
- Linking multiple payments to the same customer
- Managing customer information separately from payments
- Building a customer management system
POST /customers— Create a new customerGET /customers/{id}— Get customer details and their payment historyPATCH /customers/{id}— Update customer information
Payment Methods
What it’s for: Storing customer payment credentials securely (credit cards, bank accounts) so you can charge them again without asking for their details every time. This uses tokenization for security. When to use:- Saving a customer’s card for faster checkout next time
- Setting up subscriptions (need a stored payment method)
- One-click purchases for returning customers
- Avoiding PCI compliance requirements (Revolv3 handles security)
POST /payment-methods— Store a payment method and get a tokenGET /payment-methods/{id}— Retrieve stored payment method detailsPOST /payment-methods/{id}/verify— Verify a payment method before using it
Payments
What it’s for: Processing one-time payments, authorizing funds (without charging), and capturing authorized payments. This is your main endpoint for charging customers. When to use:- E-commerce checkout (one-time purchases)
- Authorizing funds before you know the final amount (hotels, restaurants)
- Capturing previously authorized payments
- Immediate charges where you know the exact amount
POST /payments/sale— Charge a customer immediately (most common)POST /payments/authorization— Reserve funds without charging (for hotels, pre-orders)POST /payments/{id}/capture— Actually charge previously authorized fundsPOST /payments/{id}/void— Cancel an authorization
Invoices
What it’s for: Managing invoices, which are billing documents that represent what you’re charging for. Invoices drive payment attempts and track the status of charges. When to use:- Creating invoices before processing payments
- Checking payment status and invoice details
- Tracking what’s been paid and what’s pending
- Managing receivables and billing records
POST /invoices— Create an invoiceGET /invoices— List invoices (with filters)GET /invoices/{id}— Get invoice details and payment statusGET /invoices/{id}/attempts— See all payment attempts for an invoice
Refunds
What it’s for: Issuing refunds to customers—returning money for previous payments. Supports both full and partial refunds. When to use:- Customer returns a product
- Service wasn’t delivered as promised
- Customer cancels and is eligible for refund
- Partial refunds for damaged items or partial service
- Handling customer disputes
POST /invoices/{id}/refund— Issue a refund (full or partial)GET /refunds/{id}— Get refund status and details
Subscriptions
What it’s for: Setting up recurring billing—automatically charging customers at regular intervals (weekly, monthly, yearly, etc.). Perfect for SaaS products, memberships, and subscription services. When to use:- Monthly software subscriptions
- Membership services (gyms, clubs, streaming)
- Recurring service billing
- Installment plans (“buy now, pay later”)
POST /subscriptions— Create a subscription with billing planGET /subscriptions/{id}— Get subscription details and next billing datePATCH /subscriptions/{id}— Update subscription (change plan, billing frequency, etc.)POST /subscriptions/{id}/cancel— Cancel a subscription
Checkout (Hosted / Embedded)
What it’s for: Creating hosted payment pages or embedded checkout forms. Revolv3 handles the payment form UI and security, so you don’t have to build your own. When to use:- You want Revolv3 to handle the payment form (less development work)
- You need a PCI-compliant checkout without handling card data yourself
- Quick integration without building custom payment forms
- Embedded checkout in your application
POST /checkout/sessions— Create a checkout sessionGET /checkout/sessions/{id}— Get checkout session status
Processors & Merchant Configuration
Processor credentials and merchant configuration are typically set up for you when your account is created. These settings aren’t something you manage through the API day to day. To update processors, merchant settings, or related configuration, contact Revolv3. Learn more: Merchant SettingsReports & Reconciliation
What it’s for: Generating reports and reconciliation files to match your Revolv3 transactions with your accounting records and bank statements. When to use:- Daily/weekly/monthly reconciliation
- Exporting transaction data for accounting
- Generating settlement reports
- Matching payments with bank deposits
- Financial reporting and analysis
POST /reports— Generate a report (transactions, settlements, etc.)GET /reports/{id}— Get report status and download link
Files & Attachments
What it’s for: Uploading and managing supporting documents (receipts, invoices, contracts) that are associated with payments or customers. When to use:- Attaching receipts to transactions
- Storing customer documents
- Uploading proof of delivery or service
- Managing supporting documentation for disputes
POST /files— Upload a fileGET /files/{id}— Download a file
Common Integration Patterns
E-Commerce Checkout Flow
- Payment Methods → Store customer’s card (optional, for faster checkout)
- Payments → Charge the customer (
POST /payments/sale) - Invoices → Check payment status (
GET /invoices/{id}) - Refunds → Issue refund if customer returns item (
POST /invoices/{id}/refund)
Subscription Service Flow
- Customers → Create customer record (optional)
- Payment Methods → Store payment method for recurring charges
- Subscriptions → Create subscription with billing plan
- Invoices → Monitor subscription payments via webhooks
- Subscriptions → Cancel if needed (
POST /subscriptions/{id}/cancel)
Hotel/Restaurant Flow (Authorization & Capture)
- Payments → Authorize funds at check-in (
POST /payments/authorization) - Payments → Capture actual amount at checkout (
POST /payments/{id}/capture) - Refunds → Refund if customer cancels before capture
Where to Go Next
- OpenAPI/Swagger Spec — Complete API documentation with request/response schemas, parameters, and examples
- Error Codes & Troubleshooting — Understand error responses and how to handle them
- Request IDs — Read
Request-Idfrom any response and send an optionalClient-Request-Id - Authentication — Learn about API tokens, required headers, and security best practices
- Getting Started — Step-by-step guide to your first integration
- Core Concepts — Deep dive into payment methods, invoices, subscriptions, and more

