API development and system integrations
Gateways, core banking, and finance APIs with the transaction status on the same document.
What problem does this software solve?
An integration without unique ids and daily matching means orphan deposits, double vouchers, and hours of mismatch on busy days.
KGSM puts transaction status on the same finance document and ships webhooks plus a matching job in version one.
Who is it for?
A technical or finance lead who must connect a gateway, core bank, or settlement service to an internal system
Version-one capabilities
- •Give every payment a unique internal id.
- •Webhooks and user return must share one status.
- •Automate daily matching.
- •Keep gateway keys out of git.
- •See the bank test environment before you estimate.
- •Store fees on the receipt.
- •Split treasurer from developer access.
- •Back up before batch settlement files.
Delivery stages
-
Freeze version one
One full workflow on paper: roles, documents, a measurable output.
-
Demo on live data
Managers and staff click the same document on real data — not a pretty mockup.
-
Handoff and code ownership
Role training, repo, backups, and a support contract — you are not locked in.
Technology
Laravel / MySQL / REST API
Approximate cost
A single documented gateway usually costs less than a full system; core banking and batch settlement are estimated separately. If counterpart test access slips, so does our date.
Cost calculatorFull write-up
Banking and payment APIs are precision work, not decoration. Gateways, core banking, IBAN inquiry, or batch settlement each have a contract, cutoff hours, and sample documents. KGSM asks for a real sample before estimating or the date will float.
Audience, risk, and how KGSM works
A technical or finance lead who must connect a gateway, core bank, or settlement service to an internal system
An integration without unique ids and daily matching means orphan deposits, double vouchers, and hours of mismatch on busy days.
KGSM puts transaction status on the same finance document and ships webhooks plus a matching job in version one.
One id, one status
Every payment attempt has an internal id mapped to the gateway id. Gateway success with panel failure gives support two stories. User return, webhook, and delayed inquiry must converge. We keep logs without raw card data and set explicit payment-link timeouts.
Give every payment a unique internal id. No webhook, only browser return; a dropped user left an orphan order.
Core banking in the real world
Not every bank offers clean REST. Discovery includes the bank test environment, caps, and a named counterpart. No SLA on their side means a conditional date on ours. Installment tables must match core postings. The treasurer role is not the developer with the API key on a laptop.
The production key sat on a developer laptop and rotating it after they left took a day. Webhooks and user return must share one status.
Match, fees, audit
A daily matching job surfaces gaps the same day. Gateway fees sit on the receipt. Audit reports show who retried an inquiry. Backups run before batch settlement files. Shop, CRM, and finance share the payment id.
Automate daily matching. Bank cutoff hours were missing from the estimate and afternoon branch settlement failed.
Connection security
Gateway keys live in server env, not git. We test IP allowlists and webhook signatures. Test and production stay apart. Viewing a transaction is not executing settlement. The contract states what happens to orders when the bank is down.
Fees were ignored in profit and margin was wrong for three months. Keep gateway keys out of git.
See the bank test environment before you estimate. A double inquiry posted two vouchers for one deposit.
Raw card numbers in logs made an incident unmanageable. Store fees on the receipt.
Split treasurer from developer access. No webhook, only browser return; a dropped user left an orphan order.
The production key sat on a developer laptop and rotating it after they left took a day. Back up before batch settlement files.
Implementation checklist
- Give every payment a unique internal id.
- Webhooks and user return must share one status.
- Automate daily matching.
- Keep gateway keys out of git.
- See the bank test environment before you estimate.
- Store fees on the receipt.
- Split treasurer from developer access.
- Back up before batch settlement files.
Field scenario 1
No webhook, only browser return; a dropped user left an orphan order.
Give every payment a unique internal id.
Field scenario 2
The production key sat on a developer laptop and rotating it after they left took a day.
Webhooks and user return must share one status.
Field scenario 3
Bank cutoff hours were missing from the estimate and afternoon branch settlement failed.
Automate daily matching.
Field scenario 4
Fees were ignored in profit and margin was wrong for three months.
Keep gateway keys out of git.
Field scenario 5
A double inquiry posted two vouchers for one deposit.
See the bank test environment before you estimate.
Field scenario 6
Raw card numbers in logs made an incident unmanageable.
Store fees on the receipt.
Approximate investment
A single documented gateway usually costs less than a full system; core banking and batch settlement are estimated separately. If counterpart test access slips, so does our date.
FAQ
Do you only integrate Zarinpal?
Common Iranian gateways and any API that provides documents and a test environment. Each core bank is its own discovery.
How long does it take?
A well-documented gateway is often two to six weeks after test access. Core banking depends on their SLA.
What about PCI and card data?
We do not store raw cards; gateway tokens are enough. Scope is in the security contract.
Will it hit accounting?
Payment status sits on the same finance document or exports to your accounting package.
Related KGSM pages
Request a consult
We write version-one scope. This form is not a contract.
Our other services
Explore more of what we offer
Custom organizational systems
Custom systems for sales, finance, CRM, and operations in growing companies — not a generic template.
Read more →Custom sales systems
Sales-management software with orders, rep roles, pricing, and reports — not a theme shop.
Read more →Custom CRM development
A CRM that matches your sales funnel: leads, follow-ups, contracts, and team reports.
Read more →Frequently asked questions
فقط زرینپال میزنید؟
درگاههای رایج ایرانی و APIهایی که سند و محیط تست بدهند. هسته هر بانک جدا کشف میشود.
چقدر طول میکشد؟
یک درگاه مشخص اغلب دو تا شش هفته بعد از دسترسی تست. هسته بانکی به SLA طرف مقابل بستگی دارد.
PCI و داده کارت چه میشود؟
ما داده کارت خام نگه نمیداریم؛ توکن درگاه کافی است. محدوده در قرارداد امنیتی است.
به سامانه حسابداری هم وصل میشود؟
وضعیت پرداخت روی همان سند مالی مینشیند یا خروجی به نرمافزار حسابداری میرود.
هزینه ساخت چقدر است؟
هزینه به نقشها، اتصالها و گزارشهای نسخه اول بستگی دارد. عدد قطعی بعد از محدوده مکتوب اعلام میشود؛ میتوانید از صفحه برآورد زمان و هزینه یک بازه صادقانه بگیرید.
زمان اجرا معمولاً چقدر است؟
پس از قفل گردش و نقشها، نسخه اول معمولاً چند هفته تا چند ماه طول میکشد. تاریخ قطعی وقتی اتصالها مشخص شد نوشته میشود.
مالک سورس و داده کیست؟
در قرارداد KGSM دسترسی مخزن، پشتیبان و خروج داده نوشته میشود تا بعد از تحویل قفل نباشید.
بعد از تحویل پشتیبانی دارید؟
بازه رفع باگ و نفر پاسخگو در قرارداد است. پاسخ عملیاتی معمولاً زیر ۲۴ ساعت است؛ نگهداری ماهانه جدا از ساخت برآورد میشود.
امنیت داده چگونه تأمین میشود؟
نقش و دسترسی از روز اول جدا میشود، پشتیبان با بازیابی تست میشود، و اتصال درگاه یا هسته بانکی روی همان سند میماند نه روی فایل جدا.
نرمافزار آماده بخریم یا اختصاصی بسازیم؟
اگر فرآیند شما استاندارد بازار است بسته آماده ممکن است کافی باشد. قانون قیمت، شعبه یا تسویه خاص معمولاً قالب را زود میشکند؛ آن وقت نسخه اول اختصاصی پایدارتر است.
چطور برآورد زمان و هزینه بگیرم؟
فرم برآورد یک بازه میدهد. برای تحلیل رایگان محدوده نسخه اول، قیف شروع همکاری را پر کنید — این فرم جای پیشفاکتور نیست.
نسخه اول شامل چیست؟
یک گردش کامل: ثبت، تأیید، گزارش و نقش. ماژول دهم فاز بعد است و جدا برآورد میشود تا تاریخ شناور نشود.
The industry solution
The industry page writes the same workflow as a version-one solution.
KGSM finance-company systems: vouchers, settlement, roles, and gateway links — a locked version one, not a generic package.
Full system write-up Industry solution Custom accounting systemsKGSM custom ledgers when settlement rules outgrow a package: vouchers, periods, logs, exports.
Full system write-up