The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
[
{
customerId: String,
accountType: String,
customerStatus: Active,
identityStatus: NewCustomer,
knownAs: String,
title: Mr,
firstName: String,
lastName: String,
dateOfBirth: 0001-01-01,
email: String,
homePhone: String,
mobilePhone: String,
address:
{
street: String,
city: String,
zipCode: String,
state: String,
countryRegionId: String,
dpid: 0,
suburb: String
},
notForPublication: False,
accountInstructions: String,
sendTicketsViaPost: False,
sendTicketsViaEmail: False,
optOutSMS: False,
optOutPhone: False,
loyalSupporter: False,
isVip: False,
lastOrderAmount: 0,
over18: False,
contacts:
[
{
contactId: String,
title: Mr,
firstName: String,
lastName: String
}
],
defaultFundingSourceId: String,
creditCards:
[
{
creditCardId: String,
cardToken: String,
token: String,
cardholderName: String,
cardType: Unknown,
uniqueNumberIdentifier: String,
expirationMonth: String,
expirationYear: String,
bin: String,
lastFour: String,
isDefault: False,
disabled: False,
lastModified: 0001-01-01
}
],
payPalAccounts:
[
{
payPalAccountId: String,
token: String,
email: String,
billingAgreementId: String,
createdAt: 0001-01-01,
isDefault: False,
disabled: False,
isNewCustomerPayPalFee: False
}
],
googlePayAccounts:
[
{
uniqueCardId: String,
sourceCardType: String,
customerId: String,
expirationMonth: String,
expirationYear: String,
bin: String,
googleTransactionId: String,
sourceCardLast4: String,
cardholderName: String,
createdAt: 0001-01-01,
token: String,
disabled: False,
isDefault: False
}
],
applePayAccounts:
[
{
uniqueCardId: String,
cardType: String,
customerId: String,
expirationMonth: String,
expirationYear: String,
bin: String,
lastFour: String,
cardholderName: String,
createdAt: 0001-01-01,
token: String,
isDefault: False,
disabled: False
}
],
bankAccounts:
[
{
bankAccountId: String,
accountName: String,
accountNumber: String,
bsb: String,
createdDate: 0001-01-01
}
],
subscriptions:
[
{
subscriptionId: String,
customerId: String,
startFromArtUnionId: String,
paymentMethod: Cash,
fundingSourceId: String,
plan: String,
gameType: String,
startDate: 0001-01-01,
endDate: 0001-01-01,
status: Pending,
subscribedDate: 0001-01-01,
creditCard:
{
creditCardId: String,
cardToken: String,
token: String,
cardholderName: String,
cardType: Unknown,
uniqueNumberIdentifier: String,
expirationMonth: String,
expirationYear: String,
bin: String,
lastFour: String,
isDefault: False,
disabled: False,
lastModified: 0001-01-01
},
googlePayAccount:
{
uniqueCardId: String,
sourceCardType: String,
customerId: String,
expirationMonth: String,
expirationYear: String,
bin: String,
googleTransactionId: String,
sourceCardLast4: String,
cardholderName: String,
createdAt: 0001-01-01,
token: String,
disabled: False,
isDefault: False
},
applePayAccount:
{
uniqueCardId: String,
cardType: String,
customerId: String,
expirationMonth: String,
expirationYear: String,
bin: String,
lastFour: String,
cardholderName: String,
createdAt: 0001-01-01,
token: String,
isDefault: False,
disabled: False
},
payPal:
{
payPalAccountId: String,
token: String,
email: String,
billingAgreementId: String,
createdAt: 0001-01-01,
isDefault: False,
disabled: False,
isNewCustomerPayPalFee: False
},
reasonCode: String
}
],
createdDate: 0001-01-01
}
]