get
https://api.vcita.biz/platform/v1/payment_statuses//validate_coupon
Overview
Validates whether a coupon code can be applied to a payment status without actually applying it. Available for Staff, App, and Directory tokens.
Required Parameters
coupon_code(query parameter): The coupon code to validate.
Validation Rules
The coupon must meet all of the following criteria to be valid:
- Active status (not disabled)
- Not expired (within valid date range)
- Not already redeemed by this payment status
- The payment status must reference a coupon-eligible entity type:
Meeting,EventAttendance,PendingBooking, orCart. Payment statuses for other entity types (e.g.,Invoice,ClientBookingPackage,ProductOrder) will return 422 "Invalid Coupon" regardless of whether the coupon code itself is valid.
