REST API Introduction
Welcome
Section titled “Welcome”The Sapiom REST API provides programmatic access to transaction management, payment authorization, and usage tracking.
Authentication
Section titled “Authentication”All API endpoints are authenticated using Bearer tokens.
Authorization: Bearer YOUR_API_KEYBase URL
Section titled “Base URL”https://api.sapiom.ai/v1Rate Limiting
Section titled “Rate Limiting”The API implements rate limiting to ensure fair usage:
- 100 requests per minute for standard endpoints
- 1000 requests per minute for transaction queries
Response Format
Section titled “Response Format”All responses are returned in JSON format with appropriate HTTP status codes.
Success Response
Section titled “Success Response”{ "data": { ... }, "status": "success"}Error Response
Section titled “Error Response”{ "error": { "code": "error_code", "message": "Human readable error message" }, "status": "error"}Next Steps
Section titled “Next Steps”Explore the available endpoints in the sidebar.