The unique identifier of the customer. If your system allows anonymous
checkout then we recommend making this the customer's email address.
|
The time that the customer registered. If this value is unknown, you
can set it to the time the request is sent.
Ravelin will retain the earliest value you have sent for this customer ID.
A Unix timestamp preferably as an
integer count of milliseconds since 1970-01-01T00:00 UTC
(nanoseconds are also accepted).
|
The email address of the customer.
|
The time at which the customer verified their email, usually by
following a link back to your website from an email you sent to
their address.
A Unix timestamp preferably as an
integer count of milliseconds since 1970-01-01T00:00 UTC
(nanoseconds are also accepted).
|
The full name of the customer. If you have the name split into parts,
consider familyName and givenName instead.
|
The surname/last name of the customer. If you do not have the name
split into parts, consider name instead.
|
The first/given names of the customer. If you do not have the name
split into parts, consider name instead.
|
The telephone number of the customer. Best in
E.164 format with an
international dialing code.
|
The time at which the customer verified their telephone number,
usually by confirming a code from an SMS you sent to the number.
A Unix timestamp preferably as an
integer count of milliseconds since 1970-01-01T00:00 UTC
(nanoseconds are also accepted).
|
The country the telephone number directs to. Note that the country is
not an adequate replacement for the international dialing code in the
Dominican Republic or Puerto Rico where multiple dialing codes are
used.
A ISO 3166-1 Alpha 3
or Alpha 2 country code.
|
The tags to set or unset. Use the tag ID followed by true or false, depending on whether you want to set or unset the tag.
|
Show definition
|
|
The postal or zip code. If provided without latitude or longitude, Ravelin will perform coarse geolocation in some countries.
|
The latitude of the location.
|
The longitude of the location.
|
The name of the person that will accept delivery of goods to this address.
|
The street address of the location.
|
The street address of the location.
|
The neighbourhood of the location.
|
The zone of the location.
|
|
The state/county of the location.
|
The PO box number related to the location.
|
Custom data that is relevant to your domain. This can be any json object.
Please include any details that you think are relevant to fraud that our
schema does not capture.
|
The geohash of the location.
|
|
Custom data that is relevant to your domain. This can be any json object.
Please include any details that you think are relevant to fraud that our
schema does not capture.
|
The type of account which the customer currently has.
See also order.accountType.
One of:
GUEST - The customer has not yet registered for an account, but may have placed an order.
REGISTERED - The customer has registered for an account.
|
The username the customer would log in with.
|
gender
string
optional
deprecated
The gender of the customer.
|
The wallet contents of the customer, in the form of an object whose
keys are currencies and values the amount held in that currency, in
the currency's basic units.
|
banned
boolean
optional
deprecated
Whether the customer is banned in your systems.
|
The home country for this customer. Doesn't change when the customer is briefly abroad.
|
market
string
optional
deprecated
The logical region in which this customer exists.
Pattern: ^[0-9a-z-]*$
|
The logical city in which this customer exists.
Pattern: ^[0-9a-z-]*$
|
The bcypted form of the password for this customer. By its nature, the bcrypt operation is slow. Consider using passwordHashed if this is too slow for you.
|
The SHA256 form of the password for this customer. This must be base64 encoded.
|
The plaintext password for the customer. We never store the raw password but for security we recommend using one of the hashing options instead of the plaintext option.
|
Set to true on events where the password has been changed, false or omit otherwise.
|