Skip to content

View Voucher Types

POST {api-url}/viewVoucherTypes?ns={community}

Retrieve an array of all active voucher types linked to your community namespace.

FieldTypeRequirementDescription
IsCardStringOptionalFilter the results to only include or exclude Voucher Types flagged as isolated physical cards (true or false). Useful for preventing UI dropdown clutter.
MetadataStringOptionalAny other detail to store with this request.
{
"IsCard": "false",
"Metadata": ""
}
Terminal window
curl -X POST '{api-url}/viewVoucherTypes?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"IsCard":"false","Metadata":""}'