ProfileCreationData

A ProfileCreationData contains sufficient information for WingCash to create a new individual WingCash member with a wallet.

Attributes

first_name
Required string. The new member’s first name. The first name must be no longer than 50 characters and must start with a letter. Certain Unicode symbols (such as 0x2000 through 0x2fff) are disallowed. Do not use the name of a business as the first or last name.
last_name
Required string. The new member’s last name. The last name must be no longer than 50 characters and must start with a letter. Certain Unicode symbols (such as 0x2000 through 0x2fff) are disallowed. Do not use the name of a business as the first or last name.
business_name
Optional string. The name of a business owned by the new member. This field exists to help new members avoid making the mistake of entering a business name in the first and last name fields. If a new member wants to add a business, the member must first create an individual profile with the member’s personal name; WingCash will later prompt the member to add a business. The business name must be no longer than 100 characters. The name may contain most Unicode symbols.
email
Required string. Provide the new member’s email address. WingCash will send confirmation emails to the specified address.
agreed_terms_and_privacy
Required boolean; must be true. This indicates the new member has agreed to the WingCash member agreement and privacy policy. All user interfaces must ask new members to review the member agreement and privacy policy and indicate their acceptance. Additionally, user interfaces must ask new members to confirm they are at least 18 years of age and that they live in the United States.
weekly_offers
Optional boolean. The default is true. Indicates whether the new member would like to receive weekly WingCash offers by email.
phone
Optional string. If you have the new member’s phone number, provide it here so they don’t have to fill it out again.
home

Optional JSON object. If you have the new member’s home address, provide it here so they don’t have to fill it out again. The attributes are optional strings containing Unicode without special symbols (such as 0x2000 through 0x2fff).

  • line1 - Max 50 characters.
  • line2 - Max 50 characters.
  • apartment - Max 20 characters.
  • city - Max 50 characters.
  • country - Provide an ISO Alpha-2 code such as US.
  • state - Use the capitalized 2 letter abbreviation. Leave blank outside the USA.
  • zip - Max 20 characters.