http://maasglobal.com/maas-backend/subscriptions/contact.json
MaaS contact (customer and user) schema
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
|---|---|---|---|---|---|---|
| Cannot be instantiated | Yes | Develop | No | Forbidden | Permitted | maas-backend/subscriptions/contact.json |
| Property | Type | Group |
|---|---|---|
| address | address | http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/contactBase |
| city | city | http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/contactBase |
| country | country | http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/contactBase |
| cvv | string |
http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/creditCardPaymentMethod |
http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/contactBase |
||
| expiryMonth | integer |
http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/creditCardPaymentMethod |
| expiryYear | integer |
http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/creditCardPaymentMethod |
| firstName | personalName | http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/contactBase |
| identityId | identityId | http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/contactBase |
| lastName | personalName | http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/contactBase |
| number | string |
http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/creditCardPaymentMethod |
| phone | phone | http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/contactBase |
| token | string |
http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/stripePaymentMethod |
| type | enum |
http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/creditCardPaymentMethod |
| valid | boolean |
http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/paymentMethodResponse |
| zipCode | zipCode | http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/contactBase |
address
http://maasglobal.com/core/components/address.json#/definitions/addresscity
http://maasglobal.com/core/components/address.json#/definitions/citycountry
http://maasglobal.com/core/components/address.json#/definitions/countrycvv
stringstring
All instances must conform to this regular expression (test examples here):
^[0-9]{3,4}$
email
http://maasglobal.com/core/components/common.json#/definitions/emailexpiryMonth
integerinteger
112expiryYear
integerinteger
20172030firstName
http://maasglobal.com/core/components/common.json#/definitions/personalNameidentityId
#/definitions/identityIdlastName
http://maasglobal.com/core/components/common.json#/definitions/personalNameCredit card numbers, see http://www.regular-expressions.info/creditcard.html
number
stringstring
All instances must conform to this regular expression (test examples here):
^(?:4[0-9]{12}(?:[0-9]{3})?|(?:5[1-5][0-9]{2}|222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|6(?:011|5[0-9]{2})[0-9]{12}|(?:2131|1800|35\d{3})\d{11})$
phone
http://maasglobal.com/core/components/common.json#/definitions/phoneStripe based payment method
token
stringstring
type
enumThe value of this property must be equal to one of the known values below.
| Value | Description |
|---|---|
card |
Whether the payment method is valid and working
valid
booleanboolean
zipCode
http://maasglobal.com/core/components/address.json#/definitions/zipCode