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.jsonhttp://maasglobal.com/maas-backend/customers/personalData.jsonhttp://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.jsonbalances
Array type: fare
All items must be of the type:
http://maasglobal.com/core/components/fare.jsonfavoriteLocations
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/aliasbillingCountry
http://maasglobal.com/core/components/station.json#/definitions/countrybillingZip
http://maasglobal.com/core/components/address.json#/definitions/zipCodecardNumbers
stringstring
expiryMonth
numbernumber
1121expiryYear
numbernumber
20181gatewayName
#/definitions/gatewayNameisDefault
booleanboolean
isValid
booleanboolean
issuer
stringstring
paymentSourceId
#/definitions/paymentSourceIdsetupIntentId
#/definitions/setupIntentIdstatus
#/definitions/statustype
#/definitions/typePayment source
personalData
http://maasglobal.com/maas-backend/customers/personalData.jsonpersonalDocumentConsents
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/documentStatustype
http://maasglobal.com/core/personal-document.json#/definitions/documentTypeprofileImageUrl
stringstring
region
http://maasglobal.com/core/region.json