Create Alias - Field Descriptions

The following tables describe the fields in the request and the response for the Create Alias endpoint.

Request

The following table describes the fields that can be included in the request.

FieldDescriptionTypeMin LengthMax LengthMandatory
paymentTypeThe payment credential type. Select from CARD, BANK, CARDANDBANK, THREDDTOKENANYes
aliasInfoObject that describes information related to the alias.



Yes
typeThe type of Alias provided in aliasValue.ANYes
valueThe value of the Alias, for example phone number or email address.If phone number is used for alias, this should be provided in accordance with ITU-T E.164 (2010) number structure. Please note that in the E.164 format, the "+" sign is not included.AN1128Yes
externalIdIt’s a client-provided identifier for the Alias.AN1100No
aliasInfoEnd of aliasInfo object.




consentInfoObject that describes information related to the alias.ANYes
presenterIdentifies the presenter of consentInfo to the consumer.ANYes
validFromDateTimeDate/Time from which the consentInfo is valid, in ISO UTC format YYYY-MM-DDThh:mm:ss.000Z. Only accepts present and past dates.DYes
versionSpecific version of the terms and conditions that the customer accepts for the user solution.AN19Yes
expiryDateTimeDate/Time when the consentInfo expires, in ISO UTC format YYYY-MM-DDThh:mm:ss.000Z.DNo
intermediariesIntermediary parties involved in the consentInfo grant.ANNo
consentInfoEnd of consentInfo object.




paymentInfoThe paymentInfo object will either be a cardInfo object, a bankInfo object, a threadInfo object, or a combination of cardInfo and bankInfo objects, depending on the value of paymentType.



Yes
cardInfoMust be present if the paymentType is either CARD or CARDANDBANK and is used to add the payment card details. For details on this object, see cardInfo Fields.Conditional
bankInfoMust be be present if the paymentType is either BANK or CARDANDBANK and is used to add the bank details. For details on this object, see bankInfo Fields.Conditional
threddInfoMust be present if the paymentType is THREDDTOKEN and is used to fetch card/bank details based on publicToken. For details on this object, see ThreddInfo Fields.Conditional
paymentInfoEnd of paymentInfo object.




identificationInfoObject that contains the form of identification information. This object is optional and only used for specific use cases.



No
typeIdentificationInfo type. For example, Driver's License or Passport.ANYes
valueUnique number for the individual who owns the Alias.AN135Yes
verificationInfoObject that contains information of the verification.



No
authDateTimeTime when the user provided the credentials for verification, in ISO UTC format YYYY-MM-DDThh:mm:ss.000ZDNo
authMethodReferenceAuthentication method used when the user provided the credentials for verificationAN035No
creationDateTimeTime when the user was created or enrolled, in ISO UTC format YYYY-MM-DDThh:mm:ss.000ZDNo
isEmailVerifiedTrue if an email was verified during the verification process. This email does not need to match the Alias or contact info if an email was used.B05No
isPhoneVerifiedTrue if a phone was verified during the verification process. This phone does not need to match the Alias or contact info if a phone was used.B05No
verificationInfoEnd of verificationInfo object.




identificationInfoEnd of identificationInfo object.




profileInfoObject that contains profile details for the customer that owns the Alias.



Yes
firstNameFirst name of the customer.AD135Yes
lastNameLast name of the customer.AD135Yes
contactInfoObject that contains contact information for the customer.



No
typeContact type. Select from EMAIL, PHONE, DIRECTORY_ALIASID.AD517Yes
valuePhone number or email address to contact the customer.AD1320Yes
contactInfoEnd of contactInfo object.




dateOfBirthDate of birth of the customer.AD110No
firstNameLocalFirst name in local language.AD135No
lastNameLocalLast name in local language.AD135No
middleNameMiddle name in English.AD135No
middleNameLocalMiddle name in local language.AD135No
preferredNamePreferred name (or the 'known-as' name).AD135No
profileInfoEnd of profileInfo object.




cardInfo Fields

The following table describes the fields in the paymentInfo object when cardInfo object is selected.

FieldDescriptionTypeMin LengthMax LengthMandatory
nameOnCardThe name that appears on the card.AN1120Yes
issuerNameThe name of the issuer of the card.AN1150Yes
cardTypeThe card type description. For example, Visa Platinum.AN170Yes
accountNumberThe primary account number of the cardAN1219Yes
expirationDateThe expiration date for the card. Format is YYYY-MM.AN77Yes
externalIdThe client-provided identifier for the payment credential.AN1100No
currencyCodeThe recipient card currency code. The format is the 3-character ISO-4217 (Alpha-3) currency code.AN33No
preferredForIndicates if a payment credential is a preferred Receiving, Sending, or Paying account.ArrayNo
billingAddressObject that contains the billing address details.Object


Yes
countryThe country code of the billing address. Uses the 3-character ISO 3166 (Alpha 3) format.AN33Yes
streetNameThe street name of the billing addressAN160No
CityThe city of the billing address.AN135No
postalCodeThe post code of the billing address.AN116No
AddressLine1The first line of the billing address.AN099No
buildingNumberThe building number of the billing address.AN160No
AddressLine2The second line of the billing address.AN099No
StateThe state of the billing address.AN116No
minorSubdivisionCodeThe minor subdivision code of the billing address.AN150No
billingAddress





bankInfo Fields

The following table describes the fields in the paymentInfo object when bankInfo object is selected.

FieldDescriptionTypeMin LengthMax LengthMandatory
accountNameThe bank account name. For example, the account holder name as recorded on the bank account.AN170Yes
accountTypeThe bank account type. For example, Checking or Saving.ANNo
accountNumberTypeThe bank account number type. For example, IBAN.ANYes
accountNumberThe primary account number of the cardAN1219Yes
bankNameThe bank name of the payment credential.AN150Yes
bankCodeThe bank account bank code.AN112No
branchCodeThe bank account branch code.AN112No
bankCodeTypeThe bank account bank code type. This is conditional for select markets.ANNo
bicThe bank account's Business Identifier Code (BIC).AN811No
countryCodeThe bank account's country code.AN33Yes
externalIdThe client-provided identifier for the payment credential.AN1100No
currencyCodeThe recipient card's currency code. The format is a 3-character ISO-4217 (Alpha-3) currency code.AN33No
preferredForIndicates if a payment credential is a preferred Receiving, Sending, or Paying account.ArrayNo
billingAddressObject that contains the billing address details.Object


Yes
countryThe country code of the billing address. Uses the 3-character ISO 3166 (Alpha 3) format.AN33Yes
streetNameThe street name of the billing addressAN160No
CityThe city of the billing address.AN135No
postalCodeThe post code of the billing address.AN116No
AddressLine1The first line of the billing address.AN099No
buildingNumberThe building number of the billing address.AN160No
AddressLine2The second line of the billing address.AN099No
StateThe state of the billing address.AN116No
minorSubdivisionCodeThe minor subdivision code of the billing address.AN150No
billingAddress






ThreddInfo Fields

The following table describes the fields in the paymentInfo object when the ThreddInfo object is selected.

FieldDescriptionTypeMin LengthMax LengthMandatory
nameOnCardThe name that appears on the card.AN1120Yes
issuerNameThe name of the issuer of the card.AN1150Yes
cardTypeThe card type description. For example, Visa Platinum.AN170Yes
accountNumberThe primary account number of the cardAN1219Yes
externalIdForCardThe client-provided identifier for the payment credential.AN1100No
preferredForIndicates if a payment credential is a preferred Receiving, Sending, or Paying account.ArrayNo
billingAddressObject that contains the billing address details.Object


Yes
countryThe country code of the billing address. Uses the 3-character ISO 3166 (Alpha 3) format.AN33Yes
streetNameThe street name of the billing addressAN160No
CityThe city of the billing address.AN135No
postalCodeThe post code of the billing address.AN116No
AddressLine1The first line of the billing address.AN099No
buildingNumberThe building number of the billing address.AN160No
AddressLine2The second line of the billing address.AN099No
StateThe state of the billing address.AN116No
minorSubdivisionCodeThe minor subdivision code of the billing address.AN150No
billingAddress





Response

The following table describes the fields that are included in the response.

FieldDescription
trackingIdThe UUID generated by Thredd which identifies each transaction.
aliasIdThe UUID generated by Alias Directory which identifies the create report request.
externalIdThe identifier used by the client to identify the alias.
paymentCredentialsAn object that lists the payment credentials for the alias.
idThe UUID generated by Alias Directory which identifies the payment credential.
typeThe payment credential type.
externalIdThe client-provided identifier for the payment credential.
paymentCredentials