Skip to main content
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 key
  • X-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 activeCurrency that 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.00 represents $100.00 (not 10000 cents), or ₹100.00 (not 10000 paise).
    • Exception: JPY has no decimal places — 100 represents ¥100.
  • 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 window
  • X-RateLimit-Remaining: Remaining requests in current window
  • X-RateLimit-Reset: Unix timestamp when the window resets

Authentication​

Your public API key

Security Scheme Type:

apiKey

Header parameter name:

X-API-Key