CreateAccountResult

Description

The CreateAccountResult aggregate is used to represent the result for a call to CreateAccount.

Aggregate Elements

Name Description Required

Status

Status of the call:
SUCCESS
CURRENT_PAID_ACCOUNT_ALREADY_EXISTS

Type: String

Constraints: None

Yes

Message

Friendly message for the status

Type: String

Constraints: None

Yes

ErrorCode

Error code if an error occurred. Otherwise 0.

Type: Integer

Constraints: None

Yes

AccountId

The account identifier.

Type: String

Constraints: Returned on successful account creation.

Yes

     

Error codes

Value Description
19400
An unknown error occurred

19402

The credit card is invalid

19403

The credit card type is invalid

19404

Credit card expiration date is invalid

19405 Credit card failed LUHN check
19406 The account already exists
19408 The email address was to long

19409

The email address was incorrectly formatted

19410

The sessionId is invalid

19411

The name on credit card too long

19412
The credit card expiration date incorrectly formatted

19413

The credit card cvv2 code is too long

19414
The street address first part too long

19415

The street address second part too long

19416

The street address state too long

19417

The street address country too long

19418
The street address postal code too long

19419

The first name in customer account aggregate too long

19420
The last name in customer account aggregate too long

19421

The password in customer account aggregate too long

19422

The productId is invalid

19423

The phonenumber in customer account aggregate too long

19424
The UserName in customer account aggregate too long

19425

The accoundID in customer account aggregate too long