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/address
city
http://maasglobal.com/core/components/address.json#/definitions/city
country
http://maasglobal.com/core/components/address.json#/definitions/country
cvv
string
string
All instances must conform to this regular expression (test examples here):
^[0-9]{3,4}$
email
http://maasglobal.com/core/components/common.json#/definitions/email
expiryMonth
integer
integer
1
12
expiryYear
integer
integer
2017
2030
firstName
http://maasglobal.com/core/components/common.json#/definitions/personalName
identityId
#/definitions/identityId
lastName
http://maasglobal.com/core/components/common.json#/definitions/personalName
Credit card numbers, see http://www.regular-expressions.info/creditcard.html
number
string
string
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/phone
Stripe based payment method
token
string
string
type
enum
The 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
boolean
boolean
zipCode
http://maasglobal.com/core/components/address.json#/definitions/zipCode