API Reference
v2Complete reference documentation for the RevKeen API v2
The RevKeen API v2 is organized around REST. Built with OpenAPI 3.1, our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.
Environments
Live transactions, real money
https://api.revkeen.com/v2Test environment, no real charges
https://sandbox-api.revkeen.com/v2Schema validation with mock responses
https://mock-api.revkeen.com/v2Authentication
The RevKeen API uses API keys to authenticate requests. Include your API key in the x-api-key header:
x-api-key: rk_sandbox_your_api_keyrk_live_*Production API key
rk_sandbox_*Sandbox API key
Core Resources
Payments & Billing
Configuration & Analytics
Interactive API Reference
Explore our complete API with interactive examples, try requests directly from the documentation, and generate code snippets for multiple languages.
Full API Reference with Code Samples
Interactive documentation with request/response examples, SDK code snippets in TypeScript, Python, PHP, and more. Try API calls directly in your browser.
Open API ReferenceDeveloper Tools
Tools to accelerate your integration with RevKeen.
Mock Server
Test your integration with realistic mock responses without affecting real data.
https://mock-api.revkeen.com/v2OpenAPI Spec
Import our OpenAPI 3.1 spec into your favorite API tools like Postman or Insomnia.
Download JSON specCode Generation
Generate type-safe SDKs in TypeScript, Python, Go, and more from our OpenAPI spec.
View SDKsResponse Codes
| Code | Description |
|---|---|
200 | OK - The request was successful |
201 | Created - A new resource was created |
400 | Bad Request - The request was malformed |
401 | Unauthorized - Invalid or missing API key |
403 | Forbidden - Insufficient permissions |
404 | Not Found - Resource does not exist |
422 | Unprocessable Entity - Validation failed |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error - Something went wrong |
Rate Limiting
The RevKeen API implements rate limiting to ensure fair usage. Rate limits are applied per API key:
- Standard tier: 1,000 requests per minute
- Pro tier: 5,000 requests per minute
- Enterprise: Custom limits available
X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset.SDKs & Libraries
Use our official SDKs for easier integration. All SDKs are auto-generated from our OpenAPI specification using Fern.