ZyronPay Developer Documentation

Complete integration guide, REST API reference, and ready-to-use SDKs to accept and automate bKash, Nagad, Rocket, and card payments seamlessly with ZyronPay.

Automated Gateway
REST API Live
256-bit Encrypted
01

Get Credentials

Acquire your API-KEY, SECRET-KEY, and BRAND-KEY from your merchant portal.

02

Initialize Request

POST customer and amount details to create an automated checkout link.

03

Auto Reconcile

Listen to webhooks or query the verify endpoint to complete orders in real time.

Transaction Verification API

Query our server directly using the transaction ID received on your success URL to settle orders automatically.

Verification Workflow

After customer payment execution, ZyronPay redirects to your success_url with a transactionId query parameter. POST this parameter to verify authenticity and update customer account status.

POST https://pay.zyronpay.top/api/payment/verify

Verification Parameters

Field Name Required Type Description
transaction_id Required string Unique transaction identifier returned on callback redirect

Verification Code

Verify Example
<?php$curl = curl_init();curl_setopt_array($curl, array( CURLOPT_URL => 'https://pay.zyronpay.top/api/payment/verify', CURLOPT_RETURNTRANSFER => true, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS => json_encode(array( "transaction_id" => "OVKPXW165414" )), CURLOPT_HTTPHEADER => array( 'Content-Type: application/json', 'API-KEY: YOUR_API_KEY', 'SECRET-KEY: YOUR_SECRET_KEY', 'BRAND-KEY: YOUR_BRAND_KEY' ),));$response = curl_exec($curl);curl_close($curl);$data = json_decode($response, true);if (isset($data['status']) && $data['status'] === 'COMPLETED') { // Transaction is 100% verified. Fulfill order.}?>
const axios = require('axios');axios.post('https://pay.zyronpay.top/api/payment/verify', { transaction_id: "OVKPXW165414"}, { headers: { 'Content-Type': 'application/json', 'API-KEY': 'YOUR_API_KEY', 'SECRET-KEY': 'YOUR_SECRET_KEY', 'BRAND-KEY': 'YOUR_BRAND_KEY' }}).then(res => console.log(res.data)).catch(err => console.error(err));
import requestsurl = "https://pay.zyronpay.top/api/payment/verify"payload = {"transaction_id": "OVKPXW165414"}headers = { "Content-Type": "application/json", "API-KEY": "YOUR_API_KEY", "SECRET-KEY": "YOUR_SECRET_KEY", "BRAND-KEY": "YOUR_BRAND_KEY"}response = requests.post(url, json=payload, headers=headers)print(response.json())

Expected Verification Response

Success Response Payload (200 OK)
{ "status": "COMPLETED", "cus_name": "John Doe", "cus_email": "john@example.com", "amount": "100.00", "transaction_id": "OVKPXW165414", "payment_method": "bkash"}

Frequently Asked Developer Questions

How do I get my API Credentials?

Log in to your ZyronPay merchant dashboard, navigate to Settings > API Credentials, and copy your API-KEY, SECRET-KEY, and BRAND-KEY.

Is SSL/HTTPS required for production?

Yes, in production environments your success_url and webhook endpoints must use valid SSL certificates (HTTPS) to maintain bank-grade confidentiality.

How does automatic payment verification work?

Our system reconciles MFS transaction messages in real-time, verifying matching amounts and TrxIDs with sub-second latency.

Need Direct Integration Assistance?

Our senior technical engineers are available around the clock to guide your deployment.
Developer Support