BizKitHub
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

Query parameters

· 1
codestringRequired

Voucher code to check availability for.

ExampleWELCOME10

Response schema

1 status code documented

200SuccessCode availability result.
availablebooleanRequired

True if the code is available, false if already taken.

Response example

application/json
{
  "available": false
}

Request example

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"

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key