TBBN.Merchant Platform docs
WORKING

FeatureFlags

post/v1/features

Create or update a feature flag. Omit merchantId for a global (network-wide) flag; set it for a per-merchant override, which wins over the global value when both exist.

Parameters

optional

Request body

FieldTypeRequired
keystringyes
merchantIdstring (uuid)
enabledbooleanyes
descriptionstring

Response (201)

FieldTypeRequired
idstring (uuid)
keystring
merchantIdstring,null (uuid)
enabledboolean
descriptionstringnull
updatedAtstring (date-time)
get/v1/features

List feature flags — global flags merged with a merchant's overrides when merchantId is supplied

Parameters

merchantIdqueryoptional

Response (200)

get/v1/features/{key}/check

Check whether a single flag is enabled, resolving a merchant override over the global default

Parameters

keypathrequired
merchantIdqueryoptional

Response (200)

FieldTypeRequired
keystring
enabledboolean