Installment purchases have become routine in Uzbekistan for appliances, phones, furniture and even clothing. The buyer takes the item home today and pays over several months, while the store receives the full amount from the installment provider. In physical stores this is usually handled through a tablet or app at the checkout. An online store needs the same option inside its cart and payment page, which involves a few organisational and technical steps.
Three parties in every installment deal
The buyer, the store and the installment provider all take part. The buyer chooses installments at checkout, and the provider then verifies identity, assesses ability to pay and decides what limit and terms to offer. If the check passes, the buyer signs the agreement with the provider electronically and the store is notified that the order is approved. The debt sits between the buyer and the provider; the store does not collect monthly payments. Fees, terms and payout schedules differ from contract to contract, so take them only from the provider's official offer.
Step one: become a partner
Before any code, the store signs a partner agreement. Providers typically ask for company or sole-trader registration documents, bank details, product categories and expected sales volume. Many start with offline partnerships and open online integration on request, so say clearly that you need it for website sales. Once approved, you receive sandbox access, documentation and a technical contact. Clarify early:
- whether integration is a redirect to the provider's page, an on-site widget or a full API;
- the format of status notifications (callbacks) and how they are signed;
- how cancellations and refunds work;
- when and on what documents payouts are made.
Integration options
The most common approach is a redirect: the server sends order data to the provider, receives a link, and the buyer completes verification on the provider's side before returning to your site. Personal and passport data never pass through your site, which is a security advantage. Some providers also offer a widget showing an estimated monthly payment on the product page, which helps conversion, or a full API for creating, querying, cancelling and refunding orders from your own system. Rely on the exact request and response formats in the documentation.
Handling order statuses
Most integration bugs come from statuses. Verification can take minutes, buyers abandon halfway, and providers decline. Your order needs at least these states: created, pending, approved, rejected, cancelled and refunded. Prepare goods for shipping only after approval. Imagine a Tashkent appliance store selling a fridge in installments: the buyer passes the check but closes the phone before confirming. If the site marks the order as paid, the warehouse ships it and no money arrives.
CREATE TABLE nasiya_orders (
id INT AUTO_INCREMENT PRIMARY KEY,
order_id INT NOT NULL,
provider_ref VARCHAR(64) NULL,
amount BIGINT NOT NULL,
status ENUM('created','pending','approved','rejected','cancelled','refunded')
NOT NULL DEFAULT 'created',
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
UNIQUE KEY (provider_ref)
);
The unique key on provider_ref prevents double processing when the same notification arrives twice.
Securing the callback
The callback URL is public, so anyone can send requests to it. Verify every message using the method in the provider's documentation, such as a signature, secret key or IP allowlist; otherwise an attacker could fake an approval. As an extra check, query the order status from the provider's API yourself and compare the amount with your database.
$raw = file_get_contents('php://input');
$data = json_decode($raw, true);
if (!verify_provider_signature($raw, $_SERVER)) { http_response_code(403); exit; }
$order = find_order_by_ref($data['ref'] ?? '');
if (!$order || (int)$order['amount'] !== (int)($data['amount'] ?? -1)) {
http_response_code(400); exit;
}
update_status_once($order, $data['status']);
The callback must run over HTTPS. On sayt.uz hosting the Let's Encrypt certificate is free and renews automatically, so an expired certificate will not silently break notifications.
Be honest about terms, then test
Do not label a plan "interest-free" if there is a markup; show the monthly amount through the provider's widget or calculator instead, and explain in your returns policy that installment purchases are usually cancelled through the provider. In the sandbox, test approval, rejection, abandonment and cancellation after approval, and keep callback logs for several weeks before switching the button on for everyone.