Step-by-step onboarding guide to generate API keys, configure gateway credentials, and process payments.
This guide walks you through the complete onboarding process with ZezoPay—generating your API keys (x-public-key and x-secret-key), configuring your payment provider credentials, and making your first API call.
To begin, register your merchant account on the ZezoPay platform:
Your backend application uses these credentials to authenticate API requests with ZezoPay:
ZEZOPAY_PUBLIC_KEY=zp_pub_xxxxxxxxxxxxxxxxxxxx
ZEZOPAY_SECRET_KEY=zp_sec_xxxxxxxxxxxxxxxxxxxxKeep Secret Key Confidential
Your Secret Key (x-secret-key) grants write access to initiate checkouts, cancel subscriptions, and sync plans. Never commit secret keys to git repositories or include them in client-side code.
ZezoPay connects to your payment gateway accounts. Store your gateway credentials in ZezoPay's encrypted vault:
Key ID and Key Secret from your Razorpay Dashboard.Secret Key (starts with sk_live_ or sk_test_) from the Stripe API Keys Dashboard.Webhooks allow ZezoPay to receive real-time transaction updates directly from payment processors.
https://payapi.zezo.in/api/v1/payments/verify/razorpaypayment.authorizedpayment.capturedpayment.failedrefund.createdhttps://payapi.zezo.in/api/v1/payments/verify/stripepayment_intent.succeededpayment_intent.payment_failedcharge.refundedcheckout.session.completedwhsec_...) into ZezoPay Dashboard → Settings → Payments → Stripe Webhook Secret.All API requests to ZezoPay use the following HTTP headers:
x-public-key: zp_pub_xxxxxxxxxxxxxxxxxxxx
x-secret-key: zp_sec_xxxxxxxxxxxxxxxxxxxx
Content-Type: application/json