Version: 1.0.0
Uplef Merchant API
The Uplef Merchant API allows you to integrate payment processing into your applications.
Authentication
All API requests require authentication using API keys. Include both headers in every request:
X-API-Key: Your public API keyX-API-Secret: Your secret API key
You can generate API keys from the Uplef Dashboard.
Base URL
All API endpoints are relative to: https://api.uplef.com/api/v1
Currency & Amount Format
- Supported currencies: USD, EUR, GBP, INR, AED, AUD, CAD, JPY, SAR, USDT
- Currency activation: Each merchant has an
activeCurrencythat gates new order creation. Admin enables which currencies your account can transact in. Contact support to add currencies. - Amount: All amounts are in the main currency unit, NOT minor units (cents/paise).
- Example:
100.00represents $100.00 (not 10000 cents), or ₹100.00 (not 10000 paise). - Exception: JPY has no decimal places —
100represents ¥100.
- Example:
- Currency on orders: If you omit
currency, the order defaults to your merchant's active currency. If you provide a currency, it MUST match your active currency (currency switching is admin-controlled). - Settlement: Each currency settles separately — you receive payouts in the same currency the customer paid in.
Rate Limiting
API requests are rate-limited per API key. Rate limit headers are included in responses:
X-RateLimit-Limit: Maximum requests per windowX-RateLimit-Remaining: Remaining requests in current windowX-RateLimit-Reset: Unix timestamp when the window resets
Authentication
- API Key: ApiKeyAuth
- API Key: ApiSecretAuth
Your public API key
Security Scheme Type: | apiKey |
|---|---|
Header parameter name: | X-API-Key |
Your secret API key (keep this secure!)
Security Scheme Type: | apiKey |
|---|---|
Header parameter name: | X-API-Secret |
License
Proprietary