Your first payment
Install a client, authenticate, create an intent.
- JavaScript
- Python
Installation
npm install @zenxdigitalholdings/zenpays
index.ts
import { ZenPays } from '@zenxdigitalholdings/zenpays'
const zenpays = new ZenPays({
apiKey: process.env.ZENPAYS_API_KEY!,
})
const payment = await zenpays.payments.createPaymentIntent({
amount: 5000,
currency: 'INR',
})
Installation
pip install zenpays
main.py
from zenpays import ZenPays
zenpays = ZenPays(api_key=os.environ["ZENPAYS_API_KEY"])
payment = zenpays.payments.create_payment_intent({
"amount": 5000,
"currency": "INR",
})
Everything the gateway does
Each area is documented for both the SDKs and raw HTTP.
PaymentsIntents, confirmation, 3D SecureRefundsFull, partial, and bulk refundsPayoutsPayout intents and bank transfersSettlementsSettlement cycles and statementsChargebacksDisputes, evidence, and analyticsCustomersProfiles, history, and risk scoringVendorsSub-merchants, KYC, and commissionsWalletMulti-currency balances and activityLedgerDouble-entry accounts and reconciliationReportsGenerate, download, and schedule exportsRampCrypto on-ramp and off-ramp flowsBillingInvoices, payment links, and products