http://maasglobal.com/maas-backend/customers/customer.json
MaaS customer schema
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | No | Develop | No | Forbidden | Forbidden | maas-backend/customers/customer.json |
http://maasglobal.com/maas-backend/customers/customer.json
http://maasglobal.com/core/components/units.json
http://maasglobal.com/maas-backend/customers/personalData.json
http://maasglobal.com/core/region.json
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
authorizations | authorization | Required | No | customer (this schema) |
balances | fare | Required | No | customer (this schema) |
favoriteLocations | object[] |
Optional | No | customer (this schema) |
identityId | complex | Optional | No | customer (this schema) |
paymentSources | paymentSource | Required | No | customer (this schema) |
personalData | personalData | Required | No | customer (this schema) |
personalDocumentConsents | agencyId | Optional | No | customer (this schema) |
personalDocuments | object[] |
Optional | No | customer (this schema) |
profileImageUrl | string |
Optional | No | customer (this schema) |
region | region | Required | No | customer (this schema) |
authorizations
Array type: authorization
All items must be of the type:
http://maasglobal.com/core/components/authorization.json
balances
Array type: fare
All items must be of the type:
http://maasglobal.com/core/components/fare.json
favoriteLocations
object[]
Array type: object[]
All items must be of the type: object
with following properties:
| Property | Type | Required | | ——– | —- | ——– |
identityId
Any following options needs to be fulfilled.
string
All instances must conform to this regular expression
^[aepus]{2}-[\w]{4}-\d:[a-f\d]{8}(-[a-f\d]{4}){3}-[a-f\d]{12}$
string
All instances must conform to this regular expression
^[A-Fa-f0-9]{8}(-[A-Fa-f0-9]{4}){3}-[A-Fa-f0-9]{12}$
"eu-west-1:4828507e-683f-41bf-9d87-689808fbf958"
"4828507e-683f-41bf-9d87-689808fbf958"
paymentSources
Array type: paymentSource
All items must be of the type: object
with following properties:
Property | Type | Required |
---|---|---|
alias |
Optional | |
billingCountry |
Optional | |
billingZip |
Optional | |
cardNumbers |
string | Optional |
expiryMonth |
number | Optional |
expiryYear |
number | Optional |
gatewayName |
Required | |
isDefault |
boolean | Required |
isValid |
boolean | Optional |
issuer |
string | Optional |
paymentSourceId |
Required | |
setupIntentId |
Optional | |
status |
Required | |
type |
Required |
alias
#/definitions/alias
billingCountry
http://maasglobal.com/core/components/station.json#/definitions/country
billingZip
http://maasglobal.com/core/components/address.json#/definitions/zipCode
cardNumbers
string
string
expiryMonth
number
number
1
12
1
expiryYear
number
number
2018
1
gatewayName
#/definitions/gatewayName
isDefault
boolean
boolean
isValid
boolean
boolean
issuer
string
string
paymentSourceId
#/definitions/paymentSourceId
setupIntentId
#/definitions/setupIntentId
status
#/definitions/status
type
#/definitions/type
Payment source
personalData
http://maasglobal.com/maas-backend/customers/personalData.json
personalDocumentConsents
Array type: agencyId
All items must be of the type: string
personalDocuments
object[]
Array type: object[]
All items must be of the type: object
with following properties:
Property | Type | Required |
---|---|---|
status |
Required | |
type |
Required |
status
http://maasglobal.com/core/personal-document.json#/definitions/documentStatus
type
http://maasglobal.com/core/personal-document.json#/definitions/documentType
profileImageUrl
string
string
region
http://maasglobal.com/core/region.json