v1

latestOpenAPI 3.0.02026-08-0610682246.0 KB
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 payment form payment options are checked to match the minimum payment amount requirements of the promo code.

get/zephr/payment/stripe/promo-code

Query parameters

codestring required

The ID of the Stripe promo code to check.

paymentFormstring required

The slug of the Stripe payment form the promo code relates to.

Response

OK

codestring

Same code supplied as a query parameter in the request

discountstring

The discount offered by this promo code