Stripe Payments

Check a Stripe promo code for a user

Checks a Stripe promo code for the logged in user. The promo code is checked for validity of the current user based on first time order restriction, specific customer restriction, max allowed redemptions and expiration. The supplied payment payment options are checked to match the minimum payment amount requirements of the promo code.

post/zephr/payment/stripe/promo-code-check

Request

  • Base URL: https://demo-site
  • URL: https://demo-site/zephr/payment/stripe/promo-code-check
  • Auth: one of:
    • API key in cookie blaize_session
    • API key in query parameter jwt
    • API key in header x-blaize-jwt
    • API key in header x-zephr-jwt
    • HTTP bearer
    • API key in cookie blaize_jwt

Request body

promoCodestring

The promo code ID that must be checked.

Response

OK

codestring

Same code supplied as a query parameter in the request

discountstring

The discount offered by this promo code

Changes

No recorded changes to this operation across all 2 revisions of this API.