Zid Docs
AppsThemes
Payments
AppsThemes
Payments
Help Center
Slack
  1. Checkout
  • Getting Started
    • Introduction
    • Theme Development
    • Vitrin Changelog
    • Creating and Managing Theme Presets
    • Legacy Theme Migration
      • Moving to Vitrin Using LLMs
      • Twig to Jinja
      • Breaking Changes
      • Store Settings Mapping
  • Key Concepts
    • Architecture
    • Templates
      • Overview
      • Overridable Templates
      • Legacy Templates
      • Template Replacements
      • Templates Library
        • home.jinja
        • product.jinja
        • cart.jinja
        • category.jinja
        • products.jinja
        • categories.jinja
        • page.jinja
        • blogs.jinja
        • blog.jinja
        • faqs.jinja
        • reviews.jinja
        • questions.jinja
        • shipping_payment.jinja
        • 404_not_found.jinja
    • Settings
      • Schema files
      • Input Settings
      • Media Settings
      • Form Controls Settings
      • Products Settings
      • Additional Settings
      • Conditional Visibility
      • Migrating twig settings schema
    • Localization
      • localization (jinja v. twig)
    • Theme Editor
      • Overview
  • Building with Vitrin
    • Jinja Basics
    • Vitrin's Jinja Extensions
  • Vitrin CLI
    • Introduction
    • CLI Commands
  • Tips & Tricks
    • Performance
  • JS Integration
    • Supporting both Vitrin and Legacy themes
    • Responses & Errors
    • Cart
    • Products
    • Categories
    • Store
    • Account
    • Blogs
    • Options
    • Events
  • Features
    • SDK Popups – Integration Guidelines
    • Custom Styles Guide
    • Gift Card as a Popup
    • Addresses as a Popup
    • Login as a Popup
    • Checkout as a Popup
    • Apple Pay Quick Checkout
    • Region & Language Popup
    • Dynamic Bundle Products
    • Progressive Discounts
    • Bank Discounts
    • Customer Wallet & Cashback
    • Add Preorder Support to Your Theme
    • Display Product Options as Colors or Images
    • Coupon Form Visibility
  • Mobile Apps
    • Scripts
    • Login & Checkout via Page Views
    • Theme Sections Settings
  • API's
    • Authentication
      • Logout
      • Login Status
      • SMS Login
      • Verify SMS Login
      • WhatsApp Login
      • Verify WhatsApp Login
      • Email Login
      • Verify Email Login
      • Register
      • Register Guest
    • Products
      • List Products
      • Search Products
      • Calculate Product Options Price
      • Notify Product Stock Availability
      • Fetch Bundle Offers
      • Fetch Bundle Offers for a Product
      • List My Product Reviews
      • List Product Reviews
      • Create Product Review
      • Update Product Review
      • Delete Product Review
      • List Product Questions
      • Create Product Question
      • Get Product by Slug
      • Get Selection Groups
    • Categories
      • List Categories
    • Checkout
      • Get Cart
        GET
      • Remove Cart
        DELETE
      • Duplicate Cart
        POST
      • Add Cart Item
        POST
      • Empty Cart
        DELETE
      • Update Cart Item
        PATCH
      • Remove Cart Item
        DELETE
      • Upload Cart Input Field
        POST
      • Add Gift Card
        POST
      • Remove Gift Card
        DELETE
      • Apply Coupon
        POST
      • Remove Coupon From Cart
        DELETE
      • Check Coupon Validity
        GET
      • Apply Loyalty Points
        POST
      • Remove Loyalty Points
        DELETE
      • Preview Rewarded Points
        GET
      • List Redemption Methods for Cart
        GET
      • Customer’s Loyalty Wallet
        GET
      • Customer’s Current Points Balance
        GET
      • List Bank Discounts
        GET
    • Account
      • Get Profile
      • Delete Account
      • Update Customer Profile
      • Get Addresses
      • Create an Address
      • Get an Address by ID
      • Update an Existing Address
      • Delete Address
      • Get Orders
      • Get Shareable Wishlist Link
      • Get Wishlist
      • Add Products to Wishlist
      • Remove Product from Wishlist
      • Get Address Form Schema
      • Check Product Purchase Status
    • Storefront
      • Store Scripts
      • Pages
      • Blogs
    • Countries
      • Get Countries
      • Get Cities By Country
  1. Checkout

List Bank Discounts

Developing
GET
{store_url}/api/v1/cart/checkout/bank-discounts
Retrieves the bank and card discounts configured for the store. Bank discounts can apply a percentage or fixed discount based on the customer's bank and card network, with optional minimum order and maximum discount limits.
Use this endpoint to display available bank discounts during the storefront checkout experience. The discount is automatically applied when the customer pays using an eligible card. Apple Pay payments are excluded.
Note:
Bank discounts require ZidPay. The discount applies automatically when the customer pays with a card that matches the configured bank and card network. Apple Pay is excluded.

Request

Header Params

Responses

🟢200Success
application/json
Bodyapplication/json

🟠401
🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --globoff '{store_url}/api/v1/cart/checkout/bank-discounts' \
--header 'Accept: application/json' \
--header 'Accept-Language: en' \
--header 'Content-Type: application/json'
Response Response Example
200 - Example 1
{
    "status": "object",
    "coupons": [
        {
            "id": 6198823,
            "created_at": "2026-08-19T22:45:38.000000Z",
            "name": "Arab National Bank Visa Discount",
            "conditions": [
                {
                    "field": "bank",
                    "action": "INCLUDE",
                    "value": [
                        "ARNBSARI"
                    ],
                    "operator": "in"
                }
            ],
            "discount_type": "p",
            "discount": 10,
            "min_total_amount": 0,
            "max_total_amount": 0,
            "date_start": "2026-08-19",
            "date_end": "2026-11-19",
            "show_in_cart_page": true,
            "show_in_product_page": true,
            "bank_code": "ARNBSARI",
            "card_network": "visa",
            "status_code": "coupon_active",
            "maximum_discount_value": 50,
            "is_manageable": true,
            "is_active": true,
            "bank_id": 6,
            "bank_name": "Arab National Bank",
            "bank_logo": "https://example.com/bank-arabi.png"
        }
    ],
    "count": 12,
    "message": {
        "type": "object",
        "code": null,
        "name": null,
        "description": null
    }
}
Modified at 2026-08-20 10:06:56
Previous
Customer’s Current Points Balance
Next
Get Profile
Built with