Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs-openpay.nipuntheekshana.com/llms.txt

Use this file to discover all available pages before exploring further.

Welcome to Open Pay

Open Pay is a full-stack crypto payment processing platform that enables merchants to accept cryptocurrency payments (USDT, USDC, BNB, and more) and settle in local fiat currency (LKR). It bridges the gap between crypto and traditional commerce.

Quickstart

Start accepting crypto payments in under 5 minutes

API Reference

Explore the full REST API with request/response examples

SDKs

Official SDKs for TypeScript, Go, Python, PHP, and Java

Smart Contracts

On-chain escrow with Chainlink price feeds on BSC

What You Can Do

Create payment requests in USD/LKR and let customers pay in USDT, USDC, BNB, or other supported tokens. Real-time exchange rates ensure fair pricing.
Use the Checkout Sessions API with any of our SDKs to create hosted checkout pages — no frontend crypto knowledge needed.
Create recurring billing plans with configurable intervals, trial periods, and automatic payment collection.
Get notified of payment events in real-time with ED25519-signed webhooks and automatic retries with exponential backoff.
Create pre-authorized contracts for recurring or on-demand charges. Customers approve once, and you can execute payments against the contract without further interaction.
Merchant-initiated refund system with balance management. Request, approve, or reject refunds with automatic balance adjustments.
Generate QR codes for in-store crypto payments. Optimized interface for retail counters and tablet displays.
Built-in rule-based fraud detection engine with velocity checks, amount anomaly detection, and configurable risk scoring.
Smart contracts hold funds in escrow until confirmed, with Chainlink oracle price verification and slippage protection.

Platform Components

ComponentDescription
Merchant PortalWeb dashboard for managing payments, API keys, webhooks, and settlement
Admin DashboardPlatform administration: merchant approval, audit logs, system settings
REST API100+ endpoints across 10 microservices
SDKsTypeScript, Go, Python, PHP, Java — all with HMAC authentication
CLIopenpay command-line tool for terminal-based payment management
Smart ContractsSolidity escrow on BSC with Chainlink price feeds
WooCommerce PluginWordPress payment gateway for WooCommerce stores

Environments

EnvironmentURL
API Gatewayhttps://olp-api.nipuntheekshana.com
Merchant Portalhttps://olp-merchant.nipuntheekshana.com
Admin Dashboardhttps://olp-admin.nipuntheekshana.com
Smart ContractsBSC Testnet (Chain 97)