ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiDiscounts

Validate a coupon code for a project + amount (public checkout)

POST
/api/v1/discounts/validate

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Request Body

application/json
  1. body

Response Body

Example Request
curl -X POST 'http://localhost:3001/api/v1/discounts/validate' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response201
Empty