DocsAPI ReferenceVoucher/bff/voucher/check-code-available
getVoucherAdmin BFF

/bff/voucher/check-code-available

Checks if a voucher code is available (not already taken) within the organisation. Use this before creating a new voucher to ensure uniqueness.

VouchergetBffVoucherCheck-code-available

Parameters

1 query

1 total
Query · 1
codestringRequired

Voucher code to check availability for.

Request

GET /bff/voucher/check-code-available

get
curl -X GET "https://api.bizkithub.com/bff/voucher/check-code-available?code=WELCOME10" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

Code availability result.

{
  "available": false
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key