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.

SecurityCookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
Request
Request Body schema: application/json
object
promoCode
string

The promo code ID that must be checked.

Responses
200

OK

post/zephr/payment/stripe/promo-code-check
Request samples
application/json
{
  • "paymentOptions": {
    },
  • "promoCode": "string"
}
Response samples
application/json
{
  • "code": "string",
  • "discount": "string",
  • "paymentOptions": [
    ]
}