02/Documentation
PayLayer Documentation.
Complete API reference, integration guides, and dashboard help. Everything you need to start processing payments, calculating taxes, and generating invoices with PayLayer.
Overview
PayLayer is a unified payment infrastructure platform that abstracts away the complexity of integrating with payment gateways, calculating taxes, and generating compliant invoices. Connect your existing Razorpay (or Stripe) merchant account, define your products, and start collecting payments with automatic GST calculation and PDF invoice generation — all through a single, consistent API.
Gateway Agnostic
Connect Razorpay today, swap to Stripe later — zero code changes.
Smart Tax Engine
Automatic GST calculation — CGST, SGST, IGST — based on buyer/seller location.
Auto Invoicing
Every successful payment generates a tax-compliant PDF invoice automatically.
Idempotent Payments
Built-in idempotency keys prevent double-charging and duplicate intents.
Webhook Pipeline
Verified, deduplicated webhooks with async processing via Celery.
API Key Auth
Separate test / live API keys with Bearer token authentication.
Architecture
Base URL
https://paylayer-api.onrender.com/api/v1All API endpoints documented here are relative to this base URL.
Key Links
Need help integrating?
Our engineering team is ready to help you with a personalized integration walkthrough and architecture review.
[ Talk to Engineering ]