Check whether a card qualifies for a discount
curl -X POST "https://test-fep.kashier.io/v3/discounts/card" \ -H "Content-Type: application/json" \ -d '{ "merchantId": "YOUR_MID", "card": "4111111111111111", "type": "card", "channel": "ecommerce", "amount": 100 }'{ "status": "SUCCESS", "messages": { "en": "Card has discount" }, "response": { "discountId": "507f1f77bcf86cd799439020", "cardBin": "518888", "discountAmount": "10.50", "discountPercentage": 5, "maxDiscountAmount": 50, "paymentFees": "2.50", "minAmount": 100, "maxAmount": 5000, "validFrom": "2026-06-01 00:00:00+00:00", "validTo": "2026-12-31 23:59:59+00:00" }}Checks the card the customer has just entered against the merchant's live bank discount campaigns and, when one applies, returns how much comes off and what the fee would be. This is the call a checkout makes the moment the card number is complete, so the customer sees the bank discount before pressing pay. Served from the fep.kashier.io hosts. A card with no discount still returns 200 — the absence of a response object is the signal, not an error.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
List a merchant's active discounts (public) GET
Returns the discount campaigns that are live right now for a merchant, optionally narrowed to the card BIN the customer is paying with and the channel they are paying on. Unauthenticated, because a…
List banks GET
Retrieves the Egyptian banks Kashier publishes, with each name in English and Arabic and its abbreviation. Use it to populate a bank picker or to address a bank in the installment fee lookup. For p…