API Endpoints
This page provides a comprehensive reference for all Orsunpay API endpoints, versioning strategy, and compatibility policies.Base URLs
API Endpoints
Service Endpoints
API Versioning
Current Version: v1
All API endpoints are versioned using URL path versioning:Version Format
- Major Version: Breaking changes (e.g., v1, v2)
- Minor Updates: Backward-compatible improvements (released without version increment)
- Patch Updates: Bug fixes and security updates (transparent to users)
We’re currently on version 1 (
v1) and maintain strict backward compatibility within major versions.Core API Endpoints
Transactions
Customers
Merchants
Credential Configs
Payment Methods
Webhooks
Checkout API Endpoints
Session Management
Example Checkout Session Creation
Request Format Standards
Content Type
All requests with body content must use:Authentication
Include your API key in all requests:Idempotency
For state-changing operations, include idempotency key:Response Format Standards
Success Response
All successful API responses follow this structure:Error Response
All error responses follow this structure:Pagination
List Endpoints
All list endpoints support pagination using cursor-based pagination:Request Parameters
Response Format
Example Usage
Filtering and Sorting
Common Filter Parameters
Sorting
Use thesort parameter with field names:
Rate Limits
Headers
Rate limit information is included in response headers:Rate Limit Exceeded Response
Compatibility Policy
Backward Compatibility
We maintain backward compatibility within major versions by:- Never removing existing fields from responses
- Never changing field data types
- Never requiring new mandatory fields in requests
- Never changing existing endpoint behavior
Additive Changes (Non-Breaking)
We may add these without notice:- New optional fields in requests
- New fields in responses
- New endpoints
- New optional query parameters
- New webhook event types
Breaking Changes
Breaking changes require a new major version:- Removing fields from responses
- Changing field data types
- Adding required fields to requests
- Changing endpoint URLs
- Removing endpoints
Regional Endpoints
Currently, all traffic is routed through our primary data centers:Primary Regions
Planned Expansion
Service Status
Health Check Endpoints
Monitor API health using these endpoints:Status Page
Monitor real-time system status at:- Public Status: https://status.orsunpay.com
- Incident History: Historical uptime and incidents
- Maintenance Windows: Scheduled maintenance notifications
Development Tools
API Explorer
Interactive API testing available at:- Sandbox: https://sandbox-api.orsunpay.com/docs
- Production: https://api.orsunpay.com/docs (read-only)
SDKs and Libraries
Official SDKs available for:Postman Collection
Import our Postman collection for easy testing:Support and Resources
For endpoint-specific questions:- API Documentation: Detailed endpoint documentation
- Developer Support: [email protected]
- Community Forum: https://forum.orsunpay.com
- GitHub Issues: https://github.com/orsunpay/api-issues
All endpoints support both sandbox and production environments. Always test thoroughly in sandbox before using production endpoints.

