GET/api/v2/users/{userId}/referrals/vouchers

Lists assigned vouchers that can be rendered in a WL-hosted user experience.

Authentication

Send your API key in the x-api-key header on every request.

Parameters

Request parameters
FieldTypeRequiredDescription
userId (path)integer (int32)Yes

Responses

200 — OK

Response 200 fields
FieldTypeRequiredDescription
AssignmentIdstring (uuid)Yes
VoucherIdstring (uuid)Yes
NamestringYes
AmountunknownYes
CurrencystringYes
StatusstringYes
SourcestringYes
ReferralCommissionIdstring (uuid)Yes
AssignedAtstring (date-time)Yes
ValidUntilstring (date-time)Yes
RedemptionobjectYes

Example request

curl -X GET "https://{base_url}/api/v2/users/{userId}/referrals/vouchers" \
  -H "x-api-key: YOUR_API_KEY"

This page is generated from the live OpenAPI specification and always matches the current API.