Fees and discounts

List a merchant's active discounts (public)

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 checkout page calls it directly to decide what discount banner to show.

get/v2/discounts/{merchantId}/active

Request

  • Base URL: https://test-api.kashier.io
  • URL: https://test-api.kashier.io/v2/discounts/{merchantId}/active
  • Auth: none required

Path parameters

merchantIdstring required

The merchant id the discounts belong to. Example: YOUR_MID

Query parameters

binRangesstring

Comma-separated card BINs — only return discounts that apply to these.

channel'pos' | 'online'

Only return discounts that apply on this channel.

Response

The discounts that are currently live.

totalinteger

Changes

No recorded changes to this operation across all 1 revision of this API.