Webhooks

Setup the Webhook URL is mandatory to get the final status of every API call

🚀 AeronPay Webhooks — Advanced Integration & Security Guidelines (2025 Release)

AeronPay uses secure, real-time webhook callbacks to notify your system about payout status updates. To ensure high-availability, zero-duplicate settlement, and robust financial compliance, merchants must strictly follow this integration guide.


🔔 Supported Event Types

EventstatusstatusCodeSeverityDescription
Transaction SuccessfulSUCCESS"200"🟢 NormalAmount settled & credited to beneficiary
Transaction FailedFAILED"400"🔴 HighReversal/refund triggered as per system
Duplicate UpdateDUPLICATE"208"⚠️ MediumAlready processed earlier — no changes required
Transaction RejectedREJECTED"422"🚫 CriticalValidation/Compliance rejection

📤 Webhook Request — AeronPay → Merchant

🟢 SUCCESS Event

{
  "status": "SUCCESS",
  "statusCode": "200",
  "transactionId": "ARNPY1761214621245562",
  "client_referenceId": "{{unique_id}}",
  "txn_amount": 8500,
  "acknowledged": "1",
  "utr": "5124558962145631",
  "description": "Transaction Successful"
}

🔴 FAILED Event

{
  "status": "FAILED",
  "statusCode": "400",
  "transactionId": "ARNPY1761214621245562",
  "client_referenceId": "{{unique_id}}",
  "txn_amount": 9900,
  "description": "Transaction Failed"
}

📥 Mandatory Merchant Acknowledgment — Merchant → AeronPay

Return JSON response within 0–7 seconds and HTTP 200 OK

⚠ Must echo same client_referenceId


1️⃣ If processed successfully in your system

{
  "http_status": true,
  "status": "SUCCESS",
  "client_referenceId": "{{unique_id}}",
  "statusCode": "200",
  "acknowledged": "1"
}

2️⃣ If received but failed internally

{
  "http_status": true,
  "status": "FAILED",
  "client_referenceId": "{{unique_id}}",
  "statusCode": "400",
  "acknowledged": "1"
}

3️⃣ If duplicate (already processed)

{
  "http_status": true,
  "status": "DUPLICATE",
  "client_referenceId": "{{unique_id}}",
  "statusCode": "208",
  "acknowledged": "1"
}

🔁 Retry Logic & Delivery Confirmation

Merchant ReactionAeronPay Action
Valid SUCCESS response🟢 Stop Retry
DUPLICATE response⚠️ Stop Retry
Delayed / No Response / Error🔁 Retry up to 3 times
Continual failure❌ Webhook marked as Failed Delivery

👉 Full visibility available in 📍 Partner Panel → Webhooks → Delivery History


🛡 Security Best Practices (Strongly Enforced)

AeronPay meets financial compliance benchmarks including PCI-DSS, RBI Mandate, and ISO 27001. To retain security throughout communication, merchants must comply with:


🔐 Endpoint Level Security

ControlMandateNotes
HTTPS (TLS 1.2+)✔ RequiredSelf-signed certs not allowed
Domain + Valid SSL✔ RequiredRegular expiry check
Publicly Accessible Endpoint✔ RequiredNo VPN-restricted URL
Do not expose logs/debug✔ RequiredPrevent data leaks

🧾 Request Validation Guidelines

✔ Validate JSON body ✔ Validate presence of all fields ✔ Validate transaction amount matches order ✔ Validate your known reference IDs (client_referenceId) ✔ Sanitize all incoming strings ✔ Reject invalid parameters immediately


🆔 Authentication & Protection (Enabled Options)

FeatureSupportRecommendation
HMAC SHA-256 Signature VerificationAdopt for fraud safety
Basic AuthenticationUsername + password should be rotated every 90 days
IP Allow-ListingRecommended (ask AeronPay for static CIDRs)
Anti-Replay Timestamp & NonceRequired for high-risk transactions

📌 No sensitive info like server stack, port, token should be revealed in response.


🧠 Idempotency Handling (Mandatory)

✔ Always use client_referenceId as a unique reference token ✔ Prevent double credit, double refund, or repeated status updates ✔ Store the first processed webhook status — ignore duplicates


🚀 Webhook Performance Expectations

RequirementBenchmark
Processing time≤ 10 seconds
Availability99.9% uptime
Error DisplaySilent handling (no debug traces)
JSON ResponseMust always return HTTP 200

🧭 Webhook Configuration — Partner Panel Guide

To configure your Webhook URL:

1️⃣ Login to Partner Panel 2️⃣ Navigate → Developers 3️⃣ Open Developer Setting 4️⃣ Click Credentials (Top Right Corner) 5️⃣ Under Callback URL, enter your valid HTTPS webhook endpoint 6️⃣ Save & perform webhook Test Fire

📍 Ensure callback is reachable before activating live transactions.


🧪 Testing Recommendations

Use the following tools before switching to production:

curl command tests ✔ Postman mock server tests ✔ Custom staging environment tests

Example test:

curl -X POST https://your-server.com/webhook \
  -H "Content-Type: application/json" \
  -d '{"test":"webhook"}'

🆘 Support Channels

ChannelDetails
Production Email Support[email protected]
Documentationhttps://developers.aeronpay.in/
SLA10AM–7PM IST, Mon–Sat

✨ Why This Upgrade?

  • Eliminates duplicate settlement risks
  • Ensures stricter financial security
  • Improves reconciliation speed
  • Supports upcoming HMAC-based validation
  • Enables full audit-grade transaction tracking

🏁 Final Compliance Checklist

CheckStatus
Webhook URL HTTPS valid certificate
JSON parsing + strict schema validation
Idempotency enforcement implemented
Successful test webhook acknowledgment sent
Logging of transaction events enabled

🎖️ AeronPay — Secure. Fast. Reliable.

Give your customers & beneficiaries a supersmart payout experience with zero operational risk ✨