Clean REST API. Official SDKs for 10 languages. Comprehensive documentation. A sandbox that mirrors production exactly. Everything you need to go from idea to live payments fast.
Official client libraries maintained by Paynectra engineers — always in sync with the latest API version.
v4.2.1
v3.1.0
v2.9.4
v2.3.2
v3.0.1
v1.8.0
v4.1.2
v2.0.5
v1.4.0
v2.1.3
This guide walks you through everything you need to create your first payment with Paynectra — from installing the SDK to handling a successful webhook confirmation. Most developers complete this in under 30 minutes.
You'll need a Paynectra account to follow this guide. Sign up for free — sandbox access is available immediately, no approval required.
Install the Paynectra SDK for your language using your preferred package manager:
All API requests must include your secret API key in the Authorization header. Store it as
an environment variable — never hard-code it in your source files.
Security tip: Use separate API keys for sandbox and production. Rotate your production key immediately if you suspect exposure. Keys can be revoked from your dashboard at any time.
Paynectra uses API keys to authenticate requests. You can view and manage your API keys in the Paynectra Dashboard. Your API keys carry many privileges, so be sure to keep them secure.
Authentication to the API is performed via HTTP Bearer auth. Provide your API key as the bearer token value:
pk_live_...) — safe to expose in client-side code.
Used to tokenise card data in the browser.sk_live_...) — must only be used server-side. Used for all
server-to-server API calls.The Paynectra Sandbox is a complete replica of the production environment. Use sandbox API keys (prefixed
sk_test_) to simulate the full payment lifecycle without moving real money.
4242 4242 4242 4242
Visa — always succeeds
Success
4000 0000 0000 0002
Visa — always declined
Declined
4000 0025 0000 3155
Requires 3D Secure authentication
3DS Required
5555 5555 5555 4444
Mastercard — always succeeds
Success
3782 822463 10005
Amex — always succeeds
Success
Use any future expiry date, any 3-digit CVV (4-digit for Amex), and any cardholder name.
Paynectra sends real-time event notifications to your endpoint whenever something significant happens in your account. Configure webhook URLs in your dashboard under Developers → Webhooks.
payment.created
A new payment intent was created
Payment
payment.succeeded
Payment was successfully captured
Success
payment.failed
Payment attempt failed or was declined
Failed
dispute.created
A chargeback dispute has been opened
Dispute
dispute.won
You won a chargeback dispute
Won
payout.paid
A settlement payout was sent to your bank
Payout
fraud.flagged
A transaction was flagged for review
Fraud
subscription.renewed
A recurring subscription was successfully renewed
Subscription
Every webhook request includes a Paynectra-Signature header that lets you verify the payload
originated from Paynectra. Always validate this before processing:
Skip the custom integration — install our certified plugin and accept payments in minutes.
Full-featured WordPress plugin. Supports subscriptions, multi-currency, and 3DS2. 50,000+ active installs.
Download pluginOfficial Shopify payment app. One-click install, auto-captures, and full refund management from Shopify admin.
Install appEnterprise-grade Magento 2 extension with full order management, multi-store support, and tokenised vaulting.
View extension