This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk-igaming / ReferralStatus

ReferralStatus ​

ReferralStatus = "pending" | "qualified" | "completed" | "expired" | "unspecified" | string & object

Status of a referral: pending, qualified, completed or expired (the gateway's REFERRAL_STATUS_*, in lowercase). The contract does not describe what takes a referral from one status to another (the "Referrals" page only has assumptions). Handle the default case: a new value arrives raw in validation: 'warn'.