Skip to main content

Fields

canBeReferred : Boolean

Whether the current account is eligible to be referred under this scheme.

code : String

The unique code for the scheme.

combinedRewardAmount : Int

The reward amount received by the referrer and the referee combined.

isUsageAtCapacity : Boolean

True if the the scheme has limit of uses, and if the usage is at capacity.

loyaltyPointsBonus : Int

The number of loyalty points to be awarded to the referrer in addition to the reward amount.

maxRecurrence : Int

Max number of times this referral code can be credited to a given account.

referralDisplayUrl : String

A referral url for display purposes.

referralUrl : String

A fully qualified url give people to create accounts referred by this scheme.

referredRewardAmount : Int

The reward amount received by the referred party.

referrerFamilyName : String

The family name of the person making the referral.

Deprecation
The 'referrerFamilyName' field is deprecated.

Only make use of the referrerGivenName for privacy reasons.

- Marked as deprecated on 2022-11-07.
- Scheduled for removal on or after 2023-01-07.
referrerGivenName : String

The given name of the person making the referral.

referrerRewardAmount : Int

The reward amount received by the referrer.

schemeType : String

Scheme type of the referral scheme.

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Example

{ "canBeReferred": true, "code": "floor-himself-oil-try-hundred", "combinedRewardAmount": 98, "isUsageAtCapacity": true, "loyaltyPointsBonus": 83, "maxRecurrence": 20, "referralDisplayUrl": "soldier-air-hold-then-my", "referralUrl": "north-effect-bag-present-field", "referredRewardAmount": 2, "referrerGivenName": "Austin", "referrerRewardAmount": 8, "schemeType": "modern-can-value-sit-it" }