MCP Agent feature is now added to StorefrontLearn more →

SnappPay BNPL 4-Installment Payment Gateway Setup Guide in Webito

September 20, 2026


Comprehensive SnappPay BNPL (Buy Now, Pay Later) Setup Guide in Webito

Buy Now, Pay Later (BNPL) has become one of the most powerful conversion and sales growth engines in modern e-commerce. In Iran, SnappPay (part of the Snapp Group) is the market leader in consumer credit, allowing shoppers to split their cart total into 4 equal monthly installments without checks, promissory notes, guarantors, or interest, while merchants receive the full order amount settled upfront by SnappPay.

The Webito SnappPay plugin connects directly to SnappPay's modern OAuth2 REST API and handles the critical Two-Phase Settlement (Settle) flow with 100% automated reliability.


1. Key Business Benefits of SnappPay for Your Store

Performance Metric (KPI)Impact of SnappPayUnderlying Reason
Checkout Conversion Rate35% to 55% IncreaseThe customer pays only 25% at checkout, significantly lowering price hesitation.
Average Order Value (AOV)40% to 70% GrowthShoppers comfortably add complementary products and higher-tier variants.
Credit Default Risk0% for the MerchantSnappPay assumes 100% of installment collection risk. Payouts are fully guaranteed.
New Customer Acquisition10M+ SuperApp UsersProminent SnappPay branding attracts loyal users from Iran's largest digital ecosystem.

2. Merchant Onboarding & Required Credentials

To obtain merchant API credentials:

  1. Submit your merchant request via the official portal (snapppay.ir) or email [email protected] (Merchant Hotline: 021-96862222).
  2. Provide corporate registration documents, national economic ID, active Enamad license, and an official corporate bank IBAN (Sheba).
  3. Execute the merchant agreement to receive your Client ID, Client Secret, Username, and Password from portal.snapppay.ir.
Parameter in WebitoSnappPay SpecificationRequired?DescriptionExample
Client IDclient_idYesUnique merchant client identifier in SnappPay OAuth2webito_merchant_live_01
Client Secretclient_secretYes (Secret)Confidential client secret key for access token generationsec_snapp_8899aabbccddee
UsernameusernameYesMerchant portal service usernamemerchant_shop_user
PasswordpasswordYes (Secret)Merchant service passwordP@ssw0rd!Snapp2026
Sandbox ModeTest EnvironmentNoRoute requests to staging server (staging-api.snapppay.ir)true / false

3. Payment Flow & Mandatory Two-Phase Settlement

Unlike standard debit gateways, SnappPay mandates a Two-Phase Settle architecture. Webito orchestrates this sequence seamlessly:

mermaid
sequenceDiagram
    autonumber
    actor Customer as Shopper / Buyer
    participant Webito as Webito Storefront
    participant SnappPay as SnappPay API (OAuth2 / Payment)

    Webito->>SnappPay: 1. Generate Bearer Access Token (/oauth/token)
    Customer->>Webito: 2. Select SnappPay 4-Installment Checkout
    Webito->>SnappPay: 3. Create Payment Intent & Token (/payment/v1/token)
    Webito-->>Customer: 4. Redirect to SnappPay Hosted Portal (payment.snapppay.ir)
    Customer->>SnappPay: 5. Pay 1st installment (25%) via dynamic SMS OTP
    SnappPay-->>Webito: 6. Return to Store Callback with Payment Token
    Webito->>SnappPay: 7. Verify Transaction Status (/payment/v1/verify)
    SnappPay-->>Webito: 8. Confirm authorization validity (Status: SUCCESS)
    Webito->>SnappPay: 9. Execute Two-Phase Settle (/payment/v1/settle)
    SnappPay-->>Webito: 10. Confirm final debit and order capture (200 OK)
    Webito-->>Customer: 11. Render Order Confirmation & Receipt Screen

[!CAUTION] Critical Warning Regarding the Settle Step If a store's gateway fails to call /settle after verification, SnappPay assumes the merchant was unable to fulfill the order and will automatically reverse (revert) the transaction after 30 minutes, refunding the customer's initial installment. Webito's plugin executes the Settle call immediately after verification.


4. Troubleshooting & Common Error Codes

HTTP StatusError / CodeRoot CauseResolution
401Unauthorized / Invalid ClientClient ID or Client Secret is misconfiguredRe-copy credentials from portal.snapppay.ir into Webito.
403IP Not WhitelistedServer static IP is not registered with SnappPayEmail your Webito server's dedicated outbound IP to SnappPay support.
400User Not EligibleShopper does not have enough BNPL credit limitCustomer must increase their credit limit in the Snapp superapp.
409Duplicate / Token ExpiredPayment token was already consumed or timed outShopper must re-initiate checkout from their cart.
504Gateway TimeoutUpstream bank or PSP delayWebito automatically executes idempotent verification retries.

5. Frequently Asked Questions (FAQ)

Q: What is the merchant fee/commission for SnappPay?
A: SnappPay merchant commission typically ranges between 2% and 5% depending on category, volume, and agreement terms. Buyers pay zero interest or fees.

Q: When are funds paid out to the merchant?
A: SnappPay settles 100% of the purchase amount (minus agreed commission) via national Paya banking cycles within 24 to 48 business hours.

Q: How are customer order returns handled?
A: Clicking "Refund" in the Webito order screen calls SnappPay's /revert endpoint. Debited installments are refunded to the customer's wallet and future installments are cancelled.