Offer List

API for listing the ACTIVE offers at a particular point in time based on the configurations in the offers operations dashboard.

List Offers API filters through the complete set of Merchant offers configured in the DB and provides key details per offer such as:

  1. Offer description and terms

  2. Offer eligibility for the current transaction

  3. Offer benefits with calculation rules (Discount / Cashback / EMI Discount Value)

  4. Order amount pre/post discount

  5. Eligible payment instruments/methods for an offer

  6. Eligible Products along with offer breakup for each of the product

Note

Optimistic Behaviour : List Offers API has an Optimistic behaviour wherein if any param is not passed in the request, Offer engine will assume that this param will be received in the later part of the journey and hence response will be given without evaluating this param at that point.

This is due to the fact that ListOffers can be called at any point in the consumer Journey like Home page, Product details page, Cart, Payment page etc. where certain information might not be available.

API Endpoints
Sandbox Link
POST
https://sandbox.juspay.in/v1/offers/list
Production Link
POST
https://api.juspay.in/v1/offers/list
Authorization Header
Headers
Query Params
Body
200 : Success
400 : Invalid Input data
401 : Authentication Failed

API Latency Guidelines

What is API Latency?

Time taken by the server to respond to the API request.

TP50 (ms): This represents the median latency, meaning 50% of all requests are completed in this time or less. It indicates the typical performance experienced by the majority of users.

TP90 (ms): This value shows that 90% of requests are completed within this time, leaving 10% of requests that take longer. It gives insight into the performance for a broader set of users, beyond the median.

TP99 (ms): This value indicates that 99% of requests finish within this time, with only 1% of requests taking longer. It helps identify outlier cases where latency may become an issue for a small group of users.

TP99.9 (ms): This metric captures extreme latency outliers, where only 0.1% of requests take longer than this value. It’s useful for understanding edge cases where performance degrades for very few users.

TP99.99 (ms): This measures the most rare and severe performance outliers, where just 0.01% of requests exceed this time. Monitoring this helps in addressing the rarest and most critical latency issues that may impact user experience in exceptional scenarios.

Scroll inside to view more
Transaction Percentile
Latency (ms)
TP50 (ms)
49.277
TP90 (ms)
128.11
TP99 (ms)
404
TP99.9 (ms)
640.38
Warning

The recommended timeouts are based on TP99.9 data, though edge cases (0.01% of requests) may still exceed these limits and are captured in the TP99.99 data as shown below.

Scroll inside to view more
Transaction Percentile
Latency (ms)
TP99.99 (ms)
4456.05
Last updated 20 days ago