Skip to content

AmbassadorProps

AmbassadorProps = { attributionBeforeLink?: string; attributionLinkText?: string; classname?: string; explainerLede?: string; explainerTitle?: string; faq1Answer?: string; faq1Question?: string; faq2Answer?: string; faq2Question?: string; faq3Answer?: string; faq3Question?: string; faq4Answer?: string; faq4Question?: string; faq5AnswerAfterLink?: string; faq5AnswerBeforeLink?: string; faq5AnswerLinkText?: string; faq5Question?: string; faqHeading?: string; heroCtaLabel?: string; heroEyebrow?: string; heroFacesCaption?: string; heroImageAlt?: string; heroImageUrl?: string; heroLede?: string; heroRewardCaption?: string; heroRewardRefereePill?: string; heroTitle?: string; merchantId?: string; myRewardsClaimCtaLabel?: string; myRewardsEyebrow?: string; myRewardsLinkedHeading?: string; myRewardsShareAgainCtaLabel?: string; myRewardsShareCtaLabel?: string; myRewardsWalletCtaLabel?: string; referralCtaLabel?: string; referralHeading?: string; referralLede?: string; rewardCtaLabel?: string; rewardEstimateCaption?: string; rewardEyebrow?: string; rewardFallbackLabel?: string; rewardFooterCaption?: string; rewardHeading?: string; rewardLede?: string; rewardNoBankDetails?: string; step1Description?: string; step1ImageAlt?: string; step1ImageUrl?: string; step1Title?: string; step2Description?: string; step2ImageAlt?: string; step2ImageUrl?: string; step2Title?: string; step3Description?: string; step3ImageAlt?: string; step3ImageUrl?: string; step3Title?: string; storeAppBadgeAriaLabel?: string; storeHeading?: string; storeLede?: string; storePlayBadgeAriaLabel?: string; storeQrCaption?: string; storeQrLabel?: string; winWinCard1Description?: string; winWinCard1Title?: string; winWinCard2Description?: string; winWinCard2Title?: string; winWinHeading?: string; winWinLede?: string; }

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:5

Props for the Ambassador component.

optional attributionBeforeLink?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:140

Override the attribution text before the frak.id anchor.


optional attributionLinkText?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:142

Override the attribution anchor’s text.


optional classname?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:14

CSS class names passed through to the root element (Light DOM).


optional explainerLede?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:55

Override the explainer lede under the heading.


optional explainerTitle?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:53

Override the explainer region heading. Use {BRAND} for the merchant name.


optional faq1Answer?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:118

Override the first FAQ answer.


optional faq1Question?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:116

Override the first FAQ question.


optional faq2Answer?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:122

Override the second FAQ answer.


optional faq2Question?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:120

Override the second FAQ question.


optional faq3Answer?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:126

Override the third FAQ answer; used only when the campaign rewards the friend.


optional faq3Question?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:124

Override the third FAQ question.


optional faq4Answer?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:130

Override the fourth FAQ answer.


optional faq4Question?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:128

Override the fourth FAQ question.


optional faq5AnswerAfterLink?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:138

Override the fifth FAQ answer text after the frak.id anchor.


optional faq5AnswerBeforeLink?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:134

Override the fifth FAQ answer text before the frak.id anchor.


optional faq5AnswerLinkText?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:136

Override the frak.id anchor’s text inside the fifth FAQ answer.


optional faq5Question?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:132

Override the fifth FAQ question.


optional faqHeading?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:114

Override the FAQ region heading.


optional heroCtaLabel?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:25

Override the hero call-to-action label.


optional heroEyebrow?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:21

Override the hero eyebrow above the headline.


optional heroFacesCaption?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:27

Override the hero faces caption under the hero CTA.


optional heroImageAlt?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:31

Override the hero image’s alt text. Use {BRAND} for the merchant name.


optional heroImageUrl?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:29

Hero photo, shown in a 4:5 frame; without one the frame collapses around the reward card.


optional heroLede?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:23

Override the hero lede paragraph. Use {BRAND} for the merchant name.


optional heroRewardCaption?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:33

Override the hero reward-tag caption next to the amount.


optional heroRewardRefereePill?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:35

Override the hero referee pill; rendered only when a referee reward resolves.


optional heroTitle?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:19

Override the hero headline. {REWARD} marks the amount; an override using it gives way to the default headline while no fixed amount resolves.


optional merchantId?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:10

Override the merchant ID resolved from the SDK config. The store badges’ install URL is built from it.


optional myRewardsClaimCtaLabel?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:148

Override the claim button label. {REWARD} marks the pending amount.


optional myRewardsEyebrow?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:144

Override the eyebrow of the “Your rewards” section shown to a visitor with an unclaimed reward.


optional myRewardsLinkedHeading?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:146

Override the heading of the section shown to a linked visitor. Use {BRAND} for the merchant name.


optional myRewardsShareAgainCtaLabel?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:154

Override the share button label shown to a linked visitor.


optional myRewardsShareCtaLabel?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:150

Override the share button label under the claim button.


optional myRewardsWalletCtaLabel?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:152

Override the label of the button opening the Frak wallet, shown to a linked visitor.


optional referralCtaLabel?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:97

Override the referral block’s share-button label.


optional referralHeading?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:93

Override the referral block heading.


optional referralLede?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:95

Override the referral block’s share sentence.


optional rewardCtaLabel?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:45

Override the reward region call-to-action label.


optional rewardEstimateCaption?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:41

Override the estimate caption under the reward heading.


optional rewardEyebrow?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:37

Override the reward region eyebrow.


optional rewardFallbackLabel?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:51

Override the amount wording shown when no reward resolves.


optional rewardFooterCaption?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:47

Override the free/no-commitment caption under the reward CTA.


optional rewardHeading?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:39

Override the reward heading; {REWARD} marks the amount, as for heroTitle.


optional rewardLede?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:43

Override the reward region lede.


optional rewardNoBankDetails?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:49

Override the no-bank-details clause appended to the reward footer caption.


optional step1Description?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:59

Override the first step’s description.


optional step1ImageAlt?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:63

Override the first step image’s alt text. Defaults to the step title.


optional step1ImageUrl?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:61

Override the first step’s image URL. Falls back to the step number.


optional step1Title?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:57

Override the first step’s title (rendered as an h3).


optional step2Description?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:67

Override the second step’s description; used only when the campaign rewards the friend.


optional step2ImageAlt?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:71

Override the second step image’s alt text. Defaults to the step title.


optional step2ImageUrl?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:69

Override the second step’s image URL. Falls back to the step number.


optional step2Title?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:65

Override the second step’s title (rendered as an h3).


optional step3Description?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:75

Override the third step’s description.


optional step3ImageAlt?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:79

Override the third step image’s alt text. Defaults to the step title.


optional step3ImageUrl?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:77

Override the third step’s image URL. Falls back to the step number.


optional step3Title?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:73

Override the third step’s title (rendered as an h3).


optional storeAppBadgeAriaLabel?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:106

Override the App Store badge’s accessible name.


optional storeHeading?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:102

Override the store block heading. While a reward waits to be claimed it defaults to “Claim your {REWARD} in the app”; the block is hidden for linked visitors.


optional storeLede?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:104

Override the store block lede under the heading.


optional storePlayBadgeAriaLabel?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:108

Override the Google Play badge’s accessible name.


optional storeQrCaption?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:112

Override the store QR code’s visible caption.


optional storeQrLabel?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:110

Override the store QR code’s accessible name.


optional winWinCard1Description?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:87

Override the referrer card’s description.


optional winWinCard1Title?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:85

Override the referrer card’s label in the win-win region.


optional winWinCard2Description?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:91

Override the friend card’s description.


optional winWinCard2Title?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:89

Override the friend card’s label in the win-win region.


optional winWinHeading?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:81

Override the win-win region heading.


optional winWinLede?: string

Defined in: vendor/wallet/sdk/components/src/components/Ambassador/types.ts:83

Override the win-win region lede. Use {BRAND} for the merchant name.