API Documentation

organizations/saas/validateCoupon

Looks up a coupon string and validates against redeem_by and max_redemptions using
CouponValidator. Returns serialized Coupon object or error message.

URL

https://disqus.com/api/3.0/organizations/saas/validateCoupon.json

Accessibility

public key, secret key

Supported request methods

GET

Supported formats

json, jsonp

Requires authentication

yes

Rate limited

inherits global rate limit

Arguments

Required

  • coupon

    Looks up a coupon by it's stripe id

  • organization

    Looks up an organization by ID
    You must be an admin on the selected organization.