GoinUser Data Type

Represents a GOIN User.
It contains information like the user personal info, its billing info and if configured, its public profile.

Properties
name data type constraints description
type string   The JSON object type.
new boolean  
createdDate number  
name string required
ticketSalesInfo TicketSalesInfo  
type string  
billingInfo BillingInfo  
username string required, regex: ^[\S]*$
deleted boolean  
stripeCustomerToken string  
sequence number  
birthdate number required
userFriend boolean  
pendingUserFriend boolean  
profilePhotoUrl string  
coverPhotoUrl string  
ticketForEvent boolean  
guestListUserForEvent boolean  
admin boolean  
partner boolean  
hasPublicProfile boolean  
publicProfileActivated boolean  
QRCodePhotoUrl string  
qrCodeFilePath string  
gdprInfo GDPRInfo  
lastModifierSequence number  
phones array of string  
lastModifierType string  
locked boolean  
lockedForInstagram boolean  
unlocked boolean  
unlockedForInstagram boolean  
instagramUsername string  
primaryEmail string  
profilePhoto string  
email string  
lastLoginDate number  
profilePhotoChangeDate number  
coverPhotoChangeDate number  
failedLoginAttempts number  
contact string  
gender Gender  
recoverPasswordPinExpireDate number  
blockchainIdentifiers array of BlockchainIdentifier  
recoverPasswordPin string  
recoverPasswordPinForInstagram string  
recoverPasswordPinExpireDateForInstagram number  
lastUpdateDateProfileWeb number  
lastUpdateProfileMobile number  
lastUpdateProfileMobileDeviceId string  
blocked boolean  
biography string  
location GeoLocation  
valid boolean  
facebookId string  
notificationsCount number  
lockedUntil number  

Example

{
  "type" : "...",
  "new" : true,
  "createdDate" : 12345,
  "name" : "...",
  "ticketSalesInfo" : {
    "new" : true,
    "createdDate" : 12345,
    "fullName" : "...",
    "emailForCommunication" : "...",
    "type" : "...",
    "fiscalNumber" : "...",
    "deleted" : true,
    "businessName" : "...",
    "sequence" : 12345,
    "addressLine1" : "...",
    "addressLine2" : "...",
    "zipCode" : "...",
    "city" : "...",
    "district" : "...",
    "country" : "...",
    "latitude" : "...",
    "longitude" : "...",
    "iban" : "...",
    "swiftCode" : "...",
    "alternativeEmail" : "..."
  },
  "billingInfo" : {
    "new" : true,
    "createdDate" : 12345,
    "fullName" : "...",
    "invoicingEmail" : "...",
    "type" : "...",
    "deleted" : true,
    "fiscalNumber" : "...",
    "sequence" : 12345,
    "companyName" : "...",
    "addressLine1" : "...",
    "alternateInvoicingEmail" : "...",
    "addressLine2" : "...",
    "zipCode" : "...",
    "city" : "...",
    "district" : "...",
    "country" : "...",
    "latitude" : "...",
    "longitude" : "...",
    "iban" : "...",
    "swiftCode" : "...",
    "placeSearchString" : "...",
    "placeId" : "...",
    "valid" : true
  },
  "username" : "...",
  "deleted" : true,
  "stripeCustomerToken" : "...",
  "sequence" : 12345,
  "birthdate" : 12345,
  "userFriend" : true,
  "pendingUserFriend" : true,
  "profilePhotoUrl" : "...",
  "coverPhotoUrl" : "...",
  "ticketForEvent" : true,
  "guestListUserForEvent" : true,
  "admin" : true,
  "partner" : true,
  "hasPublicProfile" : true,
  "publicProfileActivated" : true,
  "QRCodePhotoUrl" : "...",
  "qrCodeFilePath" : "...",
  "gdprInfo" : {
    "acceptedGDPR" : true,
    "acceptedTicketOffers" : true,
    "acceptedWeeklyNewsletter" : true,
    "shownGDPROptions" : true
  },
  "lastModifierSequence" : 12345,
  "phones" : [ "...", "..." ],
  "lastModifierType" : "...",
  "locked" : true,
  "lockedForInstagram" : true,
  "unlocked" : true,
  "unlockedForInstagram" : true,
  "instagramUsername" : "...",
  "primaryEmail" : "...",
  "profilePhoto" : "...",
  "email" : "...",
  "lastLoginDate" : 12345,
  "profilePhotoChangeDate" : 12345,
  "coverPhotoChangeDate" : 12345,
  "failedLoginAttempts" : 12345,
  "contact" : "...",
  "gender" : "FEMALE",
  "recoverPasswordPinExpireDate" : 12345,
  "blockchainIdentifiers" : [ {
    "publicKey" : "...",
    "deviceName" : "...",
    "defaultDevice" : true,
    "new" : true,
    "createdDate" : 12345,
    "type" : "...",
    "deleted" : true,
    "sequence" : 12345
  }, {
    "publicKey" : "...",
    "deviceName" : "...",
    "defaultDevice" : true,
    "new" : true,
    "createdDate" : 12345,
    "type" : "...",
    "deleted" : true,
    "sequence" : 12345
  } ],
  "recoverPasswordPin" : "...",
  "recoverPasswordPinForInstagram" : "...",
  "recoverPasswordPinExpireDateForInstagram" : 12345,
  "lastUpdateDateProfileWeb" : 12345,
  "lastUpdateProfileMobile" : 12345,
  "lastUpdateProfileMobileDeviceId" : "...",
  "blocked" : true,
  "biography" : "...",
  "location" : {
    "address" : "...",
    "name" : "...",
    "latitude" : "...",
    "longitude" : "...",
    "new" : true,
    "createdDate" : 12345,
    "type" : "...",
    "deleted" : true,
    "sequence" : 12345
  },
  "valid" : true,
  "facebookId" : "...",
  "notificationsCount" : 12345,
  "lockedUntil" : 12345
}