DFTRBank is a Delphi virtual POS library
What is it?
DFTRBank is a Delphi virtual POS library with a single API and a Tool Palette component (TDFTRBank).
Integrate Nestpay/EST banks, native bank APIs, and payment institutions through one consistent interface for sale, 3-D Secure return, cancel, and refund flows.
Features
- Drop-in VCL component:
TDFTRBank - Shared request/response models
- Bank selection via
BankCode - Sandbox / production switch (
TestPlatform) - Packages for Delphi 10.3 · 10.4 · 11 · 12 · 13
- One-click install scripts
Quick install
- Close Delphi.
- Run the script for your IDE version (see table above).
- Reopen Delphi → Tool Palette → DFTRBank → TDFTRBank
Uninstall example: Install_D12.bat /uninstall
Quick usage
DFTRBank1.BankCode := BANK_ZiraatBankasi; // '0010'
DFTRBank1.MerchantID := 'CLIENT_ID';
DFTRBank1.MerchantUser := 'API_USER';
DFTRBank1.MerchantPassword := 'API_PASS';
DFTRBank1.MerchantStorekey := 'STORE_KEY';
DFTRBank1.TestPlatform := True;Req := TDFTRSaleRequest.Create(True);
try
Req.OrderNumber := 'ORD-2026-0001';
Req.Payment3D.Confirm := True;
Req.Payment3D.ReturnURL := 'https://yoursite.com/3d-return';
// fill card + customer fields... Resp := DFTRBank1.Sale(Req);
try
// Resp.Statu, Resp.OrderNumber, Resp.TransactionId, Resp.Message
finally
Resp.Free;
end;
finally
Req.Free;
end;Copy
Supported providers
See the Turkish tables above for the full bank/payment institution code list (Nestpay, bank APIs, and payment orgs).
Operations
Sale · Sale3DResponse · Cancel · Refund · installment queries
Get Alen IBRIC’s stories in your inbox
Join Medium for free to get updates from this writer.
Cancel/refund not available for: Garanti, Yapı Kredi, Kuveyt Türk, Vakıf Katılım.
Notes
- Nestpay merchants typically need
storetype=3d. - Akbank native API (
0046) ≠ Nestpay (9046). - Treat card data as PCI-sensitive — never log PANs/CVV in production.
- Always validate in the provider’s test environment first.








