Praxis Wiki logo

Objects Customer


The customer representation in our entries.

STRUCTURE

✓ - required value
? - optional, value or null
✕ - always appears as null

Variable Type Description
customer_token varchar(32) HASH value of customer's identity
country varchar(2) ? ISO 3166-1 alpha-2 country code (US, MT, IT, GB, DE etc.)
first_name varchar(25) ? Customer's first name
last_name varchar(25) ? Customer's last name
avs_alert int ? Address verification status
- 0 for Address Verification System pass
- 1 for Address Verification System failure (coming soon)
verification_alert int ? Customer verification status (fraud monitor)
- 0 if no alert has been detected for customer
- 1 if fraud alert is detected (coming soon)
- -1 if review by the merchant is required (coming soon)

EXAMPLE

{
    "customer_token": "87cfb23a8f1e68e162c276b754d9c061",
    "country": "GB",
    "first_name": "John",
    "last_name": "Johnson",
    "avs_alert": 0,
    "verification_alert": null
}